Let's add -Xlint:unchecked to build.gradle

You can see that -Xlint:deprecated is also there, but commented out.
Mostly because I'm not prepared to fix them all just now.  :)
This commit is contained in:
T. Joseph Carter 2017-11-22 21:25:19 -08:00
parent d24259d68b
commit bf0c9741fa

View File

@ -43,6 +43,11 @@ dependencies {
testCompile "junit:junit:$junitVersion"
}
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << "-Xlint:unchecked" // << "-Xlint:deprecation"
}
task acJar(type: Jar) {
dependencies {
// Just to pass the compile step; these classes are stripped out below.