From 6e661c4bd77ec20c64b6579c5ab3a0cf735e1f23 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Fri, 19 Jun 2020 14:08:01 +0100 Subject: [PATCH] Fix test sourceset not having minecraft --- src/main/java/net/fabricmc/loom/AbstractPlugin.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/fabricmc/loom/AbstractPlugin.java b/src/main/java/net/fabricmc/loom/AbstractPlugin.java index 2a7dd05..9134a02 100644 --- a/src/main/java/net/fabricmc/loom/AbstractPlugin.java +++ b/src/main/java/net/fabricmc/loom/AbstractPlugin.java @@ -126,6 +126,8 @@ public class AbstractPlugin implements Plugin { extendsFrom("compileClasspath", Constants.MINECRAFT_NAMED); extendsFrom("runtimeClasspath", Constants.MINECRAFT_NAMED); + extendsFrom("testCompileClasspath", Constants.MINECRAFT_NAMED); + extendsFrom("testRuntimeClasspath", Constants.MINECRAFT_NAMED); extendsFrom(Constants.MINECRAFT_NAMED, Constants.MINECRAFT_DEPENDENCIES);