1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-28 03:09:08 +00:00

Update gradle to 9.2.0

This commit is contained in:
onebeastchris
2025-10-29 12:53:21 +01:00
parent 9d5e1cbcb3
commit dc322cba0a
7 changed files with 14 additions and 14 deletions

View File

@@ -11,7 +11,7 @@ tasks {
"id" to "geyser",
"name" to "Geyser",
"version" to project.version,
"description" to project.description,
"description" to project.description as String,
"url" to "https://geysermc.org",
"author" to "GeyserMC"
)

View File

@@ -7,9 +7,3 @@ indra {
publishSnapshotsTo("geysermc", "https://repo.opencollab.dev/maven-snapshots")
publishReleasesTo("geysermc", "https://repo.opencollab.dev/maven-releases")
}
publishing {
// skip shadow jar from publishing. Workaround for https://github.com/johnrengelman/shadow/issues/651
val javaComponent = project.components["java"] as AdhocComponentWithVariants
javaComponent.withVariantsFromConfiguration(configurations["shadowRuntimeElements"]) { skip() }
}

View File

@@ -2,7 +2,11 @@ import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
id("geyser.base-conventions")
id("com.github.johnrengelman.shadow")
id("com.gradleup.shadow")
}
shadow {
addShadowVariantIntoJavaComponent = false
}
tasks {
@@ -33,4 +37,4 @@ tasks {
named("build") {
dependsOn(shadowJar)
}
}
}