Skip to content

Commit

Permalink
Add '-Xlint:deprecation' flag to javac
Browse files Browse the repository at this point in the history
Signed-off-by: Taeik Lim <sibera21@gmail.com>
  • Loading branch information
acktsap authored Feb 4, 2025
1 parent 9328a8a commit 56118f5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,9 @@ tasks.jar {
}
}

tasks.compileJava {
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
options.compilerArgs.add("-Xlint:deprecation")
}

tasks.javadoc {
Expand Down

0 comments on commit 56118f5

Please sign in to comment.