From 91fbb44ccbf103e2cb454a03b4f64944ddcd5758 Mon Sep 17 00:00:00 2001 From: altrisi Date: Thu, 21 Apr 2022 18:00:22 +0200 Subject: [PATCH] Fix publishing warn, go back to loom 0.11 as 0.12 is not yet recommended See https://github.com/FabricMC/fabric-example-mod/commit/8adede095a379f0f18984d1ec2b4a46a4b5d29a7 --- build.gradle | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/build.gradle b/build.gradle index cce812f8..753fc0fc 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '0.12-SNAPSHOT' + id 'fabric-loom' version '0.11-SNAPSHOT' id 'io.github.juuxel.loom-quiltflower' version '1.7.1' id 'maven-publish' } @@ -65,17 +65,7 @@ jar { // configure the maven publication publishing { - publications { - mavenJava(MavenPublication) { - // add all the jars that should be included when publishing to maven - artifact(remapJar) { - builtBy remapJar - } - artifact(sourcesJar) { - builtBy remapSourcesJar - } - } - } + from components.java // Select the repositories you want to publish to // To publish to maven local, no extra repositories are necessary. Just use the task `publishToMavenLocal`.