diff options
-rw-r--r-- | build.gradle | 17 |
1 files 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) } } |