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