Attempt to look in the root project for the loom version if required

This commit is contained in:
modmuss50
2019-04-14 19:08:26 +01:00
parent 60ec4c1fdb
commit c9aaa68e5f
2 changed files with 5 additions and 3 deletions

View File

@@ -64,9 +64,7 @@ public class AbstractPlugin implements Plugin<Project> {
public void apply(Project target) {
this.project = target;
if(isRootProject(target)){
project.getLogger().lifecycle("Fabric Loom: " + AbstractPlugin.class.getPackage().getImplementationVersion());
}
project.getLogger().lifecycle("Fabric Loom: " + AbstractPlugin.class.getPackage().getImplementationVersion());
// Apply default plugins
project.apply(ImmutableMap.of("plugin", "java"));