Enable Java deprecation warnings details
Without the option, gradle reports a lint issue, but without any details.
This commit is contained in:
parent
2edf192e3a
commit
83082406d3
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,9 @@ allprojects {
|
|||
google()
|
||||
jcenter()
|
||||
}
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:deprecation"
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
|
|
Loading…
Reference in a new issue