CLI: drop CompilerArguments and unnecessary methods from *CompilerArguments classes
Original commit: 31a4d91122
This commit is contained in:
@@ -29,7 +29,7 @@ public class JpsKotlinCompilerSettings extends JpsElementBase<JpsKotlinCompilerS
|
||||
static final JpsElementChildRole<JpsKotlinCompilerSettings> ROLE = JpsElementChildRoleBase.create("Kotlin Compiler Settings");
|
||||
|
||||
@NotNull
|
||||
public CommonCompilerArguments commonCompilerSettings = CommonCompilerArguments.DUMMY;
|
||||
public CommonCompilerArguments commonCompilerSettings = new CommonCompilerArguments.DummyImpl();
|
||||
@NotNull
|
||||
public K2JVMCompilerArguments k2JvmCompilerSettings = new K2JVMCompilerArguments();
|
||||
@NotNull
|
||||
|
||||
+1
-1
@@ -36,7 +36,7 @@ class KotlinCommonCompilerSettingsSerializer extends JpsProjectExtensionSerializ
|
||||
public void loadExtension(@NotNull JpsProject project, @NotNull Element componentTag) {
|
||||
CommonCompilerArguments settings = XmlSerializer.deserialize(componentTag, CommonCompilerArguments.DummyImpl.class);
|
||||
if (settings == null) {
|
||||
settings = CommonCompilerArguments.DUMMY;
|
||||
settings = new CommonCompilerArguments.DummyImpl();
|
||||
}
|
||||
|
||||
JpsKotlinCompilerSettings.setCommonSettings(project, settings);
|
||||
|
||||
Reference in New Issue
Block a user