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

dev/0.11
modmuss50 2020-07-26 21:16:22 +01:00
parent a6f7e2cbbb
commit 88f5894570
1 changed files with 1 additions and 0 deletions

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