ignore user-specified custom compiler options that conflict with the options induced from the project configuration

GitOrigin-RevId: 2ecdeeef112b811a13fe6db427b115388d27a4de
This commit is contained in:
Eugene Zhuravlev
2019-12-12 17:04:48 +00:00
committed by intellij-monorepo-bot
parent 4c95a6bba8
commit 77488a9c3c
@@ -93,7 +93,12 @@ public class JavaBuilder extends ModuleLevelBuilder {
private static final List<String> COMPILABLE_EXTENSIONS = Collections.singletonList(JAVA_EXTENSION);
private static final Set<String> FILTERED_OPTIONS = ContainerUtil.newHashSet(
"-target", "--release"
"-target", "--release",
"--boot-class-path", "-bootclasspath",
"--class-path", "-classpath", "-cp",
"-processorpath", "-sourcepath",
"-d",
"--module-path", "-p", "--module-source-path"
);
private static final Set<String> FILTERED_SINGLE_OPTIONS = ContainerUtil.newHashSet(
"-g", "-deprecation", "-nowarn", "-verbose", "-proc:none", "-proc:only", "-proceedOnError"