2022-04-24 18:16:39 +00:00
|
|
|
plugins {
|
|
|
|
id("geyser.shadow-conventions")
|
2023-02-25 02:05:15 +00:00
|
|
|
id("net.kyori.indra.publishing")
|
2022-04-24 18:16:39 +00:00
|
|
|
}
|
|
|
|
|
2023-02-25 02:05:15 +00:00
|
|
|
indra {
|
|
|
|
publishSnapshotsTo("geysermc", "https://repo.opencollab.dev/maven-snapshots")
|
|
|
|
publishReleasesTo("geysermc", "https://repo.opencollab.dev/maven-releases")
|
2022-10-03 14:37:22 +00:00
|
|
|
}
|
2024-03-19 22:05:30 +00:00
|
|
|
|
|
|
|
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() }
|
|
|
|
}
|