mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
build scripts: suppress 'unchecked' warnings produced by Java compiler as we don't pay attention to them anyway
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user