From 94efd7e8a55b57d245fdbc02919590f0472da585 Mon Sep 17 00:00:00 2001 From: Su5eD Date: Thu, 15 Dec 2022 21:52:36 +0100 Subject: [PATCH] Make mappings a runtime-only dependency (#891) --- .../net/minecraftforge/gradle/userdev/MinecraftUserRepo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/userdev/java/net/minecraftforge/gradle/userdev/MinecraftUserRepo.java b/src/userdev/java/net/minecraftforge/gradle/userdev/MinecraftUserRepo.java index d42dfe9d9..14b220e98 100644 --- a/src/userdev/java/net/minecraftforge/gradle/userdev/MinecraftUserRepo.java +++ b/src/userdev/java/net/minecraftforge/gradle/userdev/MinecraftUserRepo.java @@ -522,7 +522,7 @@ private File findPom(@Nullable String mapping, String rand) throws IOException { int idx = mapping.lastIndexOf('_'); String channel = mapping.substring(0, idx); String version = mapping.substring(idx + 1); - builder.dependencies().add(MCPRepo.getMappingDep(channel, version), "compile"); //Runtime? + builder.dependencies().add(MCPRepo.getMappingDep(channel, version), "runtime"); } Patcher patcher = parent;