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
|
|
|
|
2021-10-06 13:06:49 -04:00
|
|
|
compileAspectj {
|
2021-10-11 12:51:46 -04:00
|
|
|
sourceCompatibility "17"
|
|
|
|
targetCompatibility "17"
|
2021-10-06 13:06:49 -04:00
|
|
|
}
|
|
|
|
compileTestAspectj {
|
2021-10-11 12:51:46 -04:00
|
|
|
sourceCompatibility "17"
|
|
|
|
targetCompatibility "17"
|
2021-10-06 13:06:49 -04:00
|
|
|
}
|
|
|
|
|
2017-03-28 16:45:30 -04:00
|
|
|
dependencies {
|
2021-10-05 10:23:29 -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'
|
2021-07-12 14:06:44 -04:00
|
|
|
testImplementation "org.assertj:assertj-core"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-api"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-params"
|
|
|
|
testImplementation "org.junit.jupiter:junit-jupiter-engine"
|
|
|
|
testImplementation "org.mockito:mockito-core"
|
|
|
|
testImplementation "org.mockito:mockito-junit-jupiter"
|
|
|
|
testImplementation "org.springframework:spring-test"
|
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"
|