mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-08 00:11:34 +01:00
fix: publish to minestom-snapshots
(cherry picked from commit f73d8faf9e
)
This commit is contained in:
parent
f4176da37a
commit
fb0c8c5405
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user