mirror of https://github.com/GeyserMC/Geyser.git
15 lines
560 B
Plaintext
15 lines
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() }
|
|
} |