From 597f2ec8a4ec54ce5243c3ac8868d4359ee9e358 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sun, 9 Jul 2017 10:19:13 -0400 Subject: [PATCH] Remove obnoxious javac warning for older source in classpath --- build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/build.gradle b/build.gradle index 472d4a63..c7a85343 100644 --- a/build.gradle +++ b/build.gradle @@ -53,6 +53,10 @@ allprojects { ext.ibot = 'Connor Tumbleson' ext.ibotEmail = 'connor.tumbleson@gmail.com' } + + tasks.withType(JavaCompile) { + options.compilerArgs += ["-Xlint:-options"] + } compileJava.finalizedBy licenseFormatMain licenseFormatMain.finalizedBy licenseFormatTest }