gradle: add args for compile
This commit is contained in:
@@ -17,6 +17,12 @@ compileJava {
|
||||
options.encoding = 'UTF-8'
|
||||
}
|
||||
|
||||
gradle.projectsEvaluated {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
|
||||
Reference in New Issue
Block a user