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 {
|
2019-08-04 20:21:03 -04:00
|
|
|
compile "org.aspectj:aspectjrt"
|
2017-03-28 16:45:30 -04:00
|
|
|
compile project(':spring-security-core')
|
|
|
|
compile 'org.springframework:spring-beans'
|
|
|
|
compile 'org.springframework:spring-context'
|
|
|
|
compile 'org.springframework:spring-core'
|
|
|
|
|
|
|
|
testCompile '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
|
|
|
|
}
|