Deprecate using `minecraft` as the gradle extension name in place of `loom`. Both will work for now.
parent
a6f7e2cbbb
commit
88f5894570
|
@ -97,6 +97,7 @@ public class AbstractPlugin implements Plugin<Project> {
|
||||||
project.apply(ImmutableMap.of("plugin", "idea"));
|
project.apply(ImmutableMap.of("plugin", "idea"));
|
||||||
|
|
||||||
project.getExtensions().create("minecraft", LoomGradleExtension.class, project);
|
project.getExtensions().create("minecraft", LoomGradleExtension.class, project);
|
||||||
|
project.getExtensions().add("loom", project.getExtensions().getByName("minecraft"));
|
||||||
project.getExtensions().create("fabricApi", FabricApiExtension.class, project);
|
project.getExtensions().create("fabricApi", FabricApiExtension.class, project);
|
||||||
|
|
||||||
// Force add Mojang repository
|
// Force add Mojang repository
|
||||||
|
|
Loading…
Reference in New Issue