Commits

David Carr committed 1604c21

build: suppress java cross-compilation warning

Java 7+ compiling with earlier source compatibility now emits a warning. However, I don't need to see if every time.

https://blogs.oracle.com/darcy/entry/bootclasspath_older_source

Comments (0)

Files changed (1)

     options.links(javaApiUrl, groovyApiUrl, wagonApiUrl)
 }
 
+tasks.withType(Compile) {
+    options.compilerArgs << "-Xlint:-options"
+}
+
 task javadocJar(type: Jar, dependsOn: javadoc) {
     classifier = 'javadoc'
     from 'build/docs/javadoc'