Skip to content

Commit

Permalink
Show deprecated Java methods
Browse files Browse the repository at this point in the history
  • Loading branch information
frknkrc44 committed Sep 8, 2024
1 parent fea8946 commit 16f9c62
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,12 @@ tasks.register('clean', Delete) {
tasks.register('pre', Exec) {
workingDir(rootProject.projectDir)
commandLine('make', 'langpacks', 'optimize', 'keystore')
}
}

allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs.add("-Xlint:deprecation")
}
}
}

0 comments on commit 16f9c62

Please sign in to comment.