mirror of
https://github.com/spring-projects/spring-security.git
synced 2026-03-25 11:31:05 +00:00
The aspects module currently runs :javadoc as NO-SOURCE because it only contains AspectJ sources. Apply javadoc-warnings-error for consistency with other modules and future Java sources. Closes gh-18446 Signed-off-by: ddingjoo <ddingsha9@teambind.co.kr>
41 lines
1.3 KiB
Groovy
41 lines
1.3 KiB
Groovy
apply plugin: 'io.spring.convention.spring-module'
|
|
apply plugin: 'io.freefair.aspectj'
|
|
apply plugin: 'javadoc-warnings-error'
|
|
apply plugin: 'compile-warnings-error'
|
|
|
|
compileAspectj {
|
|
sourceCompatibility = "17"
|
|
targetCompatibility = "17"
|
|
ajcOptions.compilerArgs += ['-Xlint:ignore']
|
|
}
|
|
compileTestAspectj {
|
|
sourceCompatibility = "17"
|
|
targetCompatibility = "17"
|
|
ajcOptions.compilerArgs += ['-Xlint:ignore']
|
|
}
|
|
|
|
dependencies {
|
|
management platform(project(":spring-security-dependencies"))
|
|
api "org.aspectj:aspectjrt"
|
|
api project(':spring-security-core')
|
|
api 'org.springframework:spring-beans'
|
|
api 'org.springframework:spring-context'
|
|
api 'org.springframework:spring-core'
|
|
|
|
optional project(':spring-security-access')
|
|
|
|
testImplementation 'org.springframework:spring-aop'
|
|
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"
|
|
testAspect sourceSets.main.output
|
|
|
|
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
|
}
|
|
|
|
compileAspectj.ajcOptions.outxmlfile = "META-INF/aop.xml"
|