From f577b87ac46ec0e96d4ab909dcef1f6995eb1106 Mon Sep 17 00:00:00 2001 From: Juuz <6596629+Juuxel@users.noreply.github.com> Date: Sat, 11 Sep 2021 02:55:44 +0300 Subject: Revert "Loom 0.10!" This reverts commit 11321463. Apparently it's not stable enough to use yet :sob: --- build.gradle | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 8a26652..4e6d927 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { - id 'fabric-loom' version '0.10-SNAPSHOT' - id 'io.github.juuxel.loom-quiltflower' version '1.3.0' + id 'fabric-loom' version '0.9-SNAPSHOT' + id 'io.github.juuxel.loom-quiltflower' version '1.1.2' id 'maven-publish' id 'checkstyle' } @@ -45,7 +45,8 @@ dependencies { modImplementation "io.github.cottonmc:Jankson-Fabric:${project.jankson_version}" include "io.github.cottonmc:Jankson-Fabric:${project.jankson_version}" - include api("io.github.juuxel:libninepatch:${project.libninepatch_version}") + // Using modApi instead of api because of https://github.com/FabricMC/fabric-loom/issues/200 + include modApi("io.github.juuxel:libninepatch:${project.libninepatch_version}") modRuntime(modCompileOnly("com.terraformersmc:modmenu:$project.modmenu_version") { exclude group: 'net.fabricmc.fabric-api' @@ -103,7 +104,15 @@ javadoc { publishing { publications { maven(MavenPublication) { - from components.java + artifact(remapJar) { + builtBy remapJar + } + + artifact(sourcesJar) { + builtBy remapSourcesJar + } + + artifact(javadocJar) } } -- cgit