apply plugin: 'io.spring.convention.spring-module'

dependencies {
	compile project(':spring-security-core')
	compile project(':spring-security-web')
	compile 'org.springframework:spring-core'
	compile 'org.springframework:spring-test'

	optional project(':spring-security-config')
	optional project(':spring-security-oauth2-client')
	optional project(':spring-security-oauth2-jose')
	optional project(':spring-security-oauth2-resource-server')
	optional 'io.projectreactor:reactor-core'
	optional 'org.springframework:spring-webmvc'
	optional 'org.springframework:spring-webflux'

	provided 'javax.servlet:javax.servlet-api'

	testCompile project(path : ':spring-security-config', configuration : 'tests')
	testCompile 'com.fasterxml.jackson.core:jackson-databind'
	testCompile 'com.fasterxml.jackson.datatype:jackson-datatype-jsr310'
	testCompile 'io.projectreactor:reactor-test'
	testCompile 'javax.xml.bind:jaxb-api'
	testCompile 'org.skyscreamer:jsonassert'
	testCompile 'org.springframework:spring-webmvc'
	testCompile 'org.springframework:spring-tx'
	testCompile powerMock2Dependencies
}
