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");
|
static final JpsElementChildRole<JpsKotlinCompilerSettings> ROLE = JpsElementChildRoleBase.create("Kotlin Compiler Settings");
|
||||||
|
|
||||||
@NotNull
|
@NotNull
|
||||||
public CommonCompilerArguments commonCompilerSettings = CommonCompilerArguments.DUMMY;
|
public CommonCompilerArguments commonCompilerSettings = new CommonCompilerArguments.DummyImpl();
|
||||||
@NotNull
|
@NotNull
|
||||||
public K2JVMCompilerArguments k2JvmCompilerSettings = new K2JVMCompilerArguments();
|
public K2JVMCompilerArguments k2JvmCompilerSettings = new K2JVMCompilerArguments();
|
||||||
@NotNull
|
@NotNull
|
||||||
|
|||||||
+1
-1
@@ -36,7 +36,7 @@ class KotlinCommonCompilerSettingsSerializer extends JpsProjectExtensionSerializ
|
|||||||
public void loadExtension(@NotNull JpsProject project, @NotNull Element componentTag) {
|
public void loadExtension(@NotNull JpsProject project, @NotNull Element componentTag) {
|
||||||
CommonCompilerArguments settings = XmlSerializer.deserialize(componentTag, CommonCompilerArguments.DummyImpl.class);
|
CommonCompilerArguments settings = XmlSerializer.deserialize(componentTag, CommonCompilerArguments.DummyImpl.class);
|
||||||
if (settings == null) {
|
if (settings == null) {
|
||||||
settings = CommonCompilerArguments.DUMMY;
|
settings = new CommonCompilerArguments.DummyImpl();
|
||||||
}
|
}
|
||||||
|
|
||||||
JpsKotlinCompilerSettings.setCommonSettings(project, settings);
|
JpsKotlinCompilerSettings.setCommonSettings(project, settings);
|
||||||
|
|||||||
Reference in New Issue
Block a user