build scripts: suppress 'unchecked' warnings produced by Java compiler as we don't pay attention to them anyway

This commit is contained in:
nik
2014-12-26 20:50:36 +03:00
parent 276b9556ae
commit 4a808d3fbd
+1
View File
@@ -145,6 +145,7 @@ binding.setVariable("loadProject", {
def compilerOptions = JpsJavaExtensionService.instance.getOrCreateCompilerConfiguration(project).currentCompilerOptions
compilerOptions.GENERATE_NO_WARNINGS = true
compilerOptions.DEPRECATION = false
compilerOptions.ADDITIONAL_OPTIONS_STRING = compilerOptions.ADDITIONAL_OPTIONS_STRING.replace("-Xlint:unchecked", "")
})
boolean hasSourceRoots(JpsModule module) {