From 88f5894570ff9a5cce40d7f2b6b4b8a39da83704 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Sun, 26 Jul 2020 21:16:22 +0100 Subject: [PATCH] Deprecate using `minecraft` as the gradle extension name in place of `loom`. Both will work for now. --- src/main/java/net/fabricmc/loom/AbstractPlugin.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/net/fabricmc/loom/AbstractPlugin.java b/src/main/java/net/fabricmc/loom/AbstractPlugin.java index 76aa504..671cf04 100644 --- a/src/main/java/net/fabricmc/loom/AbstractPlugin.java +++ b/src/main/java/net/fabricmc/loom/AbstractPlugin.java @@ -97,6 +97,7 @@ public class AbstractPlugin implements Plugin { 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