We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5638a8d commit aca9749Copy full SHA for aca9749
build-tools/build-infra/src/main/groovy/lucene.java.javac.gradle
@@ -81,7 +81,7 @@ tasks.withType(JavaCompile).configureEach {
81
// proc:none was added because of LOG4J2-1925 / JDK-8186647
82
options.compilerArgs += ["-proc:none"]
83
84
- if (failOnWarningsOption.get()) {
+ if (failOnWarningsOption.get() && (rootProject.ext.runtimeJavaVersion < JavaVersion.VERSION_25)) {
85
options.compilerArgs += "-Werror"
86
}
87
0 commit comments