3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-28 00:50:20 +01:00
Geyser/build-logic/src/main/kotlin/geyser.publish-conventions.gradle.kts

15 Zeilen
560 B
Plaintext

2022-04-24 20:16:39 +02:00
plugins {
id("geyser.shadow-conventions")
id("net.kyori.indra.publishing")
2022-04-24 20:16:39 +02:00
}
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() }
}