3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 00:00:41 +01:00
Dieser Commit ist enthalten in:
SupremeMortal 2022-10-04 23:18:53 +01:00
Ursprung 7edde43141
Commit 5a805bc688
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: DDBB25F8EE4FA29A
3 geänderte Dateien mit 6 neuen und 8 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

@ -6,21 +6,17 @@ plugins {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
maven("https://repo.opencollab.dev/maven-snapshots")
} }
dependencies { dependencies {
implementation("net.kyori", "indra-common", "2.0.6") implementation("net.kyori", "indra-common", "2.0.6")
implementation("org.jfrog.buildinfo", "build-info-extractor-gradle", "4.26.1") implementation("org.jfrog.buildinfo", "build-info-extractor-gradle", "4.26.1")
implementation("gradle.plugin.com.github.johnrengelman", "shadow", "7.1.2") { implementation("com.github.johnrengelman", "shadow", "7.1.3-SNAPSHOT")
exclude("org.ow2.asm", "*")
}
// Within the gradle plugin classpath, there is a version conflict between loom and some other // Within the gradle plugin classpath, there is a version conflict between loom and some other
// plugin for databind. This fixes it: minimum 2.13.2 is required by loom. // plugin for databind. This fixes it: minimum 2.13.2 is required by loom.
implementation("com.fasterxml.jackson.core:jackson-databind:2.13.3") implementation("com.fasterxml.jackson.core:jackson-databind:2.13.3")
// Use a newer version of ObjectWeb ASM than the one provided by loom.
implementation("org.ow2.asm:asm-commons:9.4")
} }
tasks.withType<KotlinCompile> { tasks.withType<KotlinCompile> {

Datei anzeigen

@ -48,6 +48,7 @@ pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
maven("https://maven.fabricmc.net/") maven("https://maven.fabricmc.net/")
maven("https://repo.opencollab.dev/maven-snapshots")
} }
plugins { plugins {
id("net.kyori.blossom") version "1.2.0" id("net.kyori.blossom") version "1.2.0"