build: use remapJar as deploy artifacts

dependabot/gradle/org.projectlombok-lombok-1.18.34 1.1.3
William 5 months ago
parent 6c6465d031
commit 2a869008cb
No known key found for this signature in database

@ -2,6 +2,7 @@ import org.apache.tools.ant.filters.ReplaceTokens
plugins { plugins {
id 'org.cadixdev.licenser' version '0.6.1' apply false 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 'io.github.goooler.shadow' version '8.1.7'
id 'org.ajoberstar.grgit' version '5.2.2' id 'org.ajoberstar.grgit' version '5.2.2'
id 'maven-publish' id 'maven-publish'
@ -97,6 +98,10 @@ allprojects {
} }
subprojects { subprojects {
if (['fabric-1.20.1', 'fabric-1.20.6'].contains(project.name)) {
apply plugin: 'fabric-loom'
}
version rootProject.version version rootProject.version
archivesBaseName = "${rootProject.name}-${project.name.capitalize()}" archivesBaseName = "${rootProject.name}-${project.name.capitalize()}"
@ -184,7 +189,7 @@ subprojects {
groupId = 'net.william278.uniform' groupId = 'net.william278.uniform'
artifactId = 'uniform-fabric' artifactId = 'uniform-fabric'
version = "${rootProject.version}+1.20.1" version = "${rootProject.version}+1.20.1"
artifact shadowJar artifact remapJar
artifact sourcesJar artifact sourcesJar
artifact javadocJar artifact javadocJar
} }
@ -197,7 +202,7 @@ subprojects {
groupId = 'net.william278.uniform' groupId = 'net.william278.uniform'
artifactId = 'uniform-fabric' artifactId = 'uniform-fabric'
version = "${rootProject.version}+1.20.6" version = "${rootProject.version}+1.20.6"
artifact shadowJar artifact remapJar
artifact sourcesJar artifact sourcesJar
artifact javadocJar artifact javadocJar
} }

@ -3,6 +3,6 @@ javaVersion=17
org.gradle.jvmargs='-Dfile.encoding=UTF-8' org.gradle.jvmargs='-Dfile.encoding=UTF-8'
org.gradle.daemon=true org.gradle.daemon=true
library_version=1.1.2 library_version=1.1.3
library_archive=uniform library_archive=uniform
library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system. library_description=Cross-platform wrapper for making Brigadier commands, based on BrigadierWrapper by Tofaa2, itself inspired by emortalmcs command system.
Loading…
Cancel
Save