turn on java warnings and deprecation lint #195 #196 #197

This commit is contained in:
Matthew Kennedy 2023-07-19 11:45:10 -07:00
parent bc2021a444
commit cbcc1ef254
2 changed files with 8 additions and 1 deletions

View File

@ -12,6 +12,12 @@ allprojects {
testImplementation global_libs.junit
}
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
// gradlew allDeps

View File

@ -1,2 +1,3 @@
# seems not to work sorry
# org.gradle.unsafe.configuration-cache=true
# org.gradle.unsafe.configuration-cache=true
org.gradle.warning.mode=all