1
0
mirror of synced 2026-05-22 21:33:16 +00:00
Files
spring-security/aspects/spring-security-aspects.gradle
T

39 lines
1.2 KiB
Groovy
Raw Normal View History

2017-03-28 15:45:30 -05:00
apply plugin: 'io.spring.convention.spring-module'
2019-08-05 02:21:03 +02:00
apply plugin: 'io.freefair.aspectj'
2017-03-28 15:45:30 -05:00
compileAspectj {
2021-10-11 13:51:46 -03:00
sourceCompatibility "17"
targetCompatibility "17"
}
compileTestAspectj {
2021-10-11 13:51:46 -03:00
sourceCompatibility "17"
targetCompatibility "17"
}
2017-03-28 15:45:30 -05:00
dependencies {
2021-10-05 11:23:29 -03:00
management platform(project(":spring-security-dependencies"))
2021-04-04 07:31:47 -05: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 15:45:30 -05:00
2021-04-04 07:31:47 -05:00
testImplementation 'org.springframework:spring-aop'
2021-07-12 13:06:44 -05: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-05 02:21:03 +02:00
testAspect sourceSets.main.output
2017-03-28 15:45:30 -05:00
}
2019-08-05 02:21:03 +02: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"