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) {