Add a way to disable IDE run config auto generation. (Only applys when importing with idea's gradle tools)
parent
e93292564d
commit
278c8d2401
|
@ -224,7 +224,10 @@ public class AbstractPlugin implements Plugin<Project> {
|
|||
project1.getTasks().getByName("idea").finalizedBy(project1.getTasks().getByName("genIdeaWorkspace"));
|
||||
project1.getTasks().getByName("eclipse").finalizedBy(project1.getTasks().getByName("genEclipseRuns"));
|
||||
|
||||
if(extension.autoGenIDERuns){
|
||||
SetupIntelijRunConfigs.setup(project1);
|
||||
}
|
||||
|
||||
|
||||
//Enables the default mod remapper
|
||||
if (extension.remapMod) {
|
||||
|
|
|
@ -42,6 +42,7 @@ public class LoomGradleExtension {
|
|||
public String runDir = "run";
|
||||
public String refmapName;
|
||||
public boolean remapMod = true;
|
||||
public boolean autoGenIDERuns = true;
|
||||
|
||||
private List<File> unmappedModsBuilt = new ArrayList<>();
|
||||
|
||||
|
|
Loading…
Reference in New Issue