build with -Xlink:unchecked

master
Stephen Gold 5 years ago
parent 1c3ed5122f
commit 64bfe42878
  1. 6
      common.gradle

@ -12,6 +12,12 @@ version = jmeFullVersion
sourceCompatibility = '1.8' sourceCompatibility = '1.8'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' [compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
gradle.projectsEvaluated {
tasks.withType(JavaCompile) { // compile-time options:
options.compilerArgs << '-Xlint:unchecked'
}
}
repositories { repositories {
mavenCentral() mavenCentral()
maven { maven {

Loading…
Cancel
Save