Deprecate using minecraft as the gradle extension name in place of loom. Both will work for now.

This commit is contained in:
modmuss50 2020-07-26 21:16:22 +01:00
parent a6f7e2cbbb
commit 88f5894570

View file

@ -97,6 +97,7 @@ public class AbstractPlugin implements Plugin<Project> {
project.apply(ImmutableMap.of("plugin", "idea"));
project.getExtensions().create("minecraft", LoomGradleExtension.class, project);
project.getExtensions().add("loom", project.getExtensions().getByName("minecraft"));
project.getExtensions().create("fabricApi", FabricApiExtension.class, project);
// Force add Mojang repository