mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-08 08:21:50 +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)
|
// Read env vars (used for publishing generally)
|
||||||
version = System.getenv("MINESTOM_VERSION") ?: "dev"
|
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 {
|
allprojects {
|
||||||
apply(plugin = "java")
|
apply(plugin = "java")
|
||||||
|
|
||||||
group = "net.minestom"
|
group = "net.minestom"
|
||||||
version = rootProject.version
|
version = rootProject.version
|
||||||
description = "Lightweight and multi-threaded Minecraft server implementation"
|
description = shortDescription
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -138,8 +140,8 @@ tasks {
|
|||||||
from(project.components["java"])
|
from(project.components["java"])
|
||||||
|
|
||||||
pom {
|
pom {
|
||||||
name.set("minestom")
|
name.set(this@create.artifactId)
|
||||||
description.set(project.description)
|
description.set(shortDescription)
|
||||||
url.set("https://github.com/minestom/minestom")
|
url.set("https://github.com/minestom/minestom")
|
||||||
|
|
||||||
licenses {
|
licenses {
|
||||||
|
Loading…
Reference in New Issue
Block a user