Skip to content

Commit 514558d

Browse files
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
1 parent 12f3e90 commit 514558d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

aspects/spring-security-aspects.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,15 @@
11
apply plugin: 'io.spring.convention.spring-module'
22
apply plugin: 'io.freefair.aspectj'
33

4+
compileAspectj {
5+
sourceCompatibility "1.8"
6+
targetCompatibility "1.8"
7+
}
8+
compileTestAspectj {
9+
sourceCompatibility "1.8"
10+
targetCompatibility "1.8"
11+
}
12+
413
dependencies {
514
management platform(project(":spring-security-dependencies"))
615
api "org.aspectj:aspectjrt"

0 commit comments

Comments
 (0)