mirror of https://github.com/rusefi/rusefi.git
turn on java warnings and deprecation lint
This commit is contained in:
parent
945f4e5a82
commit
89203daf59
|
@ -13,6 +13,12 @@ allprojects {
|
|||
}
|
||||
}
|
||||
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(JavaExec).configureEach {
|
||||
if (name.endsWith("main()")) {
|
||||
// https://github.com/gradle/gradle/issues/21364
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
org.gradle.unsafe.configuration-cache=true
|
||||
|
||||
shadowVersion=8.1.1
|
||||
shadowVersion=8.1.1
|
||||
|
||||
org.gradle.warning.mode=all
|
Loading…
Reference in New Issue