Enable Java deprecation warnings details

Without the option, gradle reports a lint issue, but without any
details.
This commit is contained in:
Romain Vimont 2020-10-05 21:11:50 +02:00
parent 2edf192e3a
commit 83082406d3

View file

@ -19,6 +19,9 @@ allprojects {
google() google()
jcenter() jcenter()
} }
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
}
} }
task clean(type: Delete) { task clean(type: Delete) {