Skip to content

Commit

Permalink
Configure Gradle to show -Xlint:deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
WrichikBasu committed Aug 26, 2023
1 parent 0df4540 commit 997df86
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ allprojects {
url "https://jitpack.io"
}
}
tasks.withType(JavaCompile).tap {
configureEach {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}

tasks.register('clean', Delete) {
Expand Down

0 comments on commit 997df86

Please sign in to comment.