From 9e4d378fa4529bddfdc4d076627b95438400cacb Mon Sep 17 00:00:00 2001 From: Zhixuan Lai Date: Fri, 29 Sep 2023 10:57:10 -0700 Subject: [PATCH] Support Spring Boot 3 native image build --- gradle/java.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/java.gradle b/gradle/java.gradle index 0e50cbd09a..74a21df6bb 100644 --- a/gradle/java.gradle +++ b/gradle/java.gradle @@ -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'])