Skip to content

Commit 00b5007

Browse files
committed
added protectio to check for java21 on build
1 parent 7fb7859 commit 00b5007

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

server/build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ java {
2525
}
2626
}
2727

28+
tasks.withType(JavaCompile).configureEach {
29+
options.release.set(21)
30+
}
31+
2832
spotless {
2933
// optional: limit format enforcement to just the files changed by this feature branch
3034
//ratchetFrom 'origin/main'
@@ -141,6 +145,9 @@ bootRun
141145
}
142146
}
143147

148+
// compileJava {
149+
// options.compilerArgs << '-parameters'
150+
// }
144151

145152

146153
compileTestJava {

0 commit comments

Comments
 (0)