2017-03-28 16:45:30 -04:00
|
|
|
apply plugin: 'io.spring.convention.spring-module'
|
2019-08-04 20:21:03 -04:00
|
|
|
apply plugin: 'io.freefair.aspectj'
|
2017-03-28 16:45:30 -04:00
|
|
|
|
|
|
|
dependencies {
|
2021-04-04 20:36:21 -04:00
|
|
|
management platform(project(":spring-security-dependencies"))
|
2021-04-04 08:31:47 -04:00
|
|
|
api "org.aspectj:aspectjrt"
|
|
|
|
api project(':spring-security-core')
|
|
|
|
api 'org.springframework:spring-beans'
|
|
|
|
api 'org.springframework:spring-context'
|
|
|
|
api 'org.springframework:spring-core'
|
2017-03-28 16:45:30 -04:00
|
|
|
|
2021-04-04 08:31:47 -04:00
|
|
|
testImplementation 'org.springframework:spring-aop'
|
2019-08-04 20:21:03 -04:00
|
|
|
testAspect sourceSets.main.output
|
2017-03-28 16:45:30 -04:00
|
|
|
}
|
2019-08-04 20:21:03 -04:00
|
|
|
|
|
|
|
sourceSets.main.aspectj.srcDir "src/main/java"
|
|
|
|
sourceSets.main.java.srcDirs = files()
|
|
|
|
|
|
|
|
sourceSets.test.aspectj.srcDir "src/test/java"
|
|
|
|
sourceSets.test.java.srcDirs = files()
|
|
|
|
|
|
|
|
compileAspectj.ajcOptions.outxmlfile = "META-INF/aop.xml"
|
2019-08-12 15:19:50 -04:00
|
|
|
|
|
|
|
aspectj {
|
|
|
|
version = aspectjVersion
|
|
|
|
}
|