Fix building

This commit is contained in:
SupremeMortal 2022-10-04 23:18:53 +01:00
parent 7edde43141
commit 5a805bc688
No known key found for this signature in database
GPG key ID: DDBB25F8EE4FA29A
3 changed files with 6 additions and 8 deletions

View file

@ -1,5 +1,5 @@
plugins {
id("fabric-loom") version "0.12-SNAPSHOT"
id("fabric-loom") version "1.0-SNAPSHOT"
id("maven-publish")
id("com.github.johnrengelman.shadow")
id("java")
@ -79,6 +79,7 @@ tasks {
relocate("org.yaml", "org.geysermc.relocate.yaml") // https://github.com/CardboardPowered/cardboard/issues/139
relocate("com.fasterxml.jackson", "org.geysermc.relocate.jackson")
relocate("net.kyori", "org.geysermc.relocate.kyori")
archiveClassifier.set("unshaded") // We don't want it included in the archived artifacts
}
jar {
@ -87,7 +88,7 @@ tasks {
remapJar {
dependsOn(shadowJar)
inputs.file(shadowJar.get().archiveFile)
inputFile.set(shadowJar.get().archiveFile)
archiveBaseName.set("Geyser-Fabric")
archiveClassifier.set("")
archiveVersion.set("")