diff --git a/build.gradle b/build.gradle index 9affe66..cf7d924 100644 --- a/build.gradle +++ b/build.gradle @@ -2,6 +2,7 @@ import org.apache.tools.ant.filters.ReplaceTokens plugins { id 'org.cadixdev.licenser' version '0.6.1' apply false + id 'fabric-loom' version '1.7-SNAPSHOT' apply false id 'io.github.goooler.shadow' version '8.1.7' id 'org.ajoberstar.grgit' version '5.2.2' id 'maven-publish' @@ -97,6 +98,10 @@ allprojects { } subprojects { + if (['fabric-1.20.1', 'fabric-1.20.6'].contains(project.name)) { + apply plugin: 'fabric-loom' + } + version rootProject.version archivesBaseName = "${rootProject.name}-${project.name.capitalize()}" @@ -184,7 +189,7 @@ subprojects { groupId = 'net.william278.uniform' artifactId = 'uniform-fabric' version = "${rootProject.version}+1.20.1" - artifact shadowJar + artifact remapJar artifact sourcesJar artifact javadocJar } @@ -197,7 +202,7 @@ subprojects { groupId = 'net.william278.uniform' artifactId = 'uniform-fabric' version = "${rootProject.version}+1.20.6" - artifact shadowJar + artifact remapJar artifact sourcesJar artifact javadocJar } diff --git a/gradle.properties b/gradle.properties index 51e29c9..ffc383c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,6 +3,6 @@ javaVersion=17 org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.daemon=true -library_version=1.1.2 +library_version=1.1.3 library_archive=uniform library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system. \ No newline at end of file