Skip to content

Commit

Permalink
Enable Java deprecation warnings details
Browse files Browse the repository at this point in the history
Without the option, gradle reports a lint issue, but without any
details.
  • Loading branch information
rom1v committed Oct 5, 2020
1 parent 2edf192 commit 8308240
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ allprojects {
google()
jcenter()
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
}
}

task clean(type: Delete) {
Expand Down

0 comments on commit 8308240

Please sign in to comment.