feat: AndroidShowDeprecations preference flag (#1822)

This commit is contained in:
Norman Breau
2025-07-09 00:21:28 -03:00
committed by GitHub
parent df36c7a2c4
commit 0190d2e33a
2 changed files with 14 additions and 1 deletions
+12
View File
@@ -40,6 +40,18 @@ allprojects {
}
repositories repos
subprojects {
afterEvaluate {
tasks.withType(JavaCompile).tap {
configureEach {
if (cordovaConfig.JAVA_SHOW_DEPRECATIONS == true) {
options.compilerArgs += "-Xlint:deprecation"
}
}
}
}
}
}
task clean(type: Delete) {