fix: publish to minestom-snapshots

(cherry picked from commit f73d8faf9e)
This commit is contained in:
mworzala 2023-11-23 11:13:09 -05:00 committed by Matt Worzala
parent f4176da37a
commit fb0c8c5405

View File

@ -9,14 +9,16 @@ plugins {
// Read env vars (used for publishing generally)
version = System.getenv("MINESTOM_VERSION") ?: "dev"
var channel = System.getenv("MINESTOM_CHANNEL") ?: "local" // local, snapshot, release
val channel = System.getenv("MINESTOM_CHANNEL") ?: "local" // local, snapshot, release
val shortDescription = "1.20.1 Lightweight Minecraft server"
allprojects {
apply(plugin = "java")
group = "net.minestom"
version = rootProject.version
description = "Lightweight and multi-threaded Minecraft server implementation"
description = shortDescription
repositories {
mavenCentral()
@ -138,8 +140,8 @@ tasks {
from(project.components["java"])
pom {
name.set("minestom")
description.set(project.description)
name.set(this@create.artifactId)
description.set(shortDescription)
url.set("https://github.com/minestom/minestom")
licenses {