mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-30 16:52:13 +00:00
Temporarily downgrade Java compat level for AspectJ classes
AspectJ doesn't support JDK17 language level (yet). For the time being, this commit is downgrading the language level for the aspectJ generated classes to 1.8. Issue gh-10349
This commit is contained in:
parent
12f3e908b0
commit
514558d7ed
@ -1,6 +1,15 @@
|
||||
apply plugin: 'io.spring.convention.spring-module'
|
||||
apply plugin: 'io.freefair.aspectj'
|
||||
|
||||
compileAspectj {
|
||||
sourceCompatibility "1.8"
|
||||
targetCompatibility "1.8"
|
||||
}
|
||||
compileTestAspectj {
|
||||
sourceCompatibility "1.8"
|
||||
targetCompatibility "1.8"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
management platform(project(":spring-security-dependencies"))
|
||||
api "org.aspectj:aspectjrt"
|
||||
|
Loading…
x
Reference in New Issue
Block a user