Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 06:50:09 +01:00
867cf6da05
* Use JiJ inclusion for Fabric/NeoForge to prevent mod conflicts. Further: Don't publish shadow jars to maven. * Shade and relocate dependencies that don't conform to SemVer on Fabric * Shade/Relocate dependencies on Fabric to avoid version warnings * Use relocate function from the build-logic plugin
15 Zeilen
560 B
Plaintext
15 Zeilen
560 B
Plaintext
plugins {
|
|
id("geyser.shadow-conventions")
|
|
id("net.kyori.indra.publishing")
|
|
}
|
|
|
|
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() }
|
|
} |