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 2222254 commit de01c87Copy full SHA for de01c87
build.gradle
@@ -34,9 +34,9 @@ subprojects {
34
testImplementation 'org.slf4j:slf4j-api:2.0.17'
35
}
36
37
- // Allows for quickly identifying compiler warnings.
+ // Allows for quickly identifying compiler warnings and treating them as errors.
38
tasks.withType(JavaCompile) {
39
- options.compilerArgs += ["-Xlint:unchecked", "-Xlint:deprecation"]
+ options.compilerArgs += ["-Xlint:unchecked", "-Xlint:deprecation", "-Werror"]
40
options.deprecation = true
41
options.warnings = true
42
0 commit comments