Skip to content

Commit

Permalink
Support Spring Boot 3 native image build
Browse files Browse the repository at this point in the history
  • Loading branch information
zhxnlai committed Sep 29, 2023
1 parent 717ee05 commit 9e4d378
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gradle/java.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ subprojects {

compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:none' << '-Xlint:deprecation' << '-Werror'
options.compilerArgs << '-Xlint:none' << '-Xlint:deprecation' << '-Werror' << '-parameters'
if (JavaVersion.current().isJava9Compatible() && !project.hasProperty("edgeDepsTest")) {
// https://stackoverflow.com/a/43103115/525203
options.compilerArgs.addAll(['--release', '8'])
Expand Down

0 comments on commit 9e4d378

Please sign in to comment.