From 4a808d3fbd10a270c0ade2e879a89afc6546dfa4 Mon Sep 17 00:00:00 2001 From: nik Date: Fri, 26 Dec 2014 20:50:15 +0300 Subject: [PATCH] build scripts: suppress 'unchecked' warnings produced by Java compiler as we don't pay attention to them anyway --- build/scripts/utils.gant | 1 + 1 file changed, 1 insertion(+) diff --git a/build/scripts/utils.gant b/build/scripts/utils.gant index 45a529ff3d23..2a57fb8ff01b 100644 --- a/build/scripts/utils.gant +++ b/build/scripts/utils.gant @@ -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) {