1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2025-12-19 14:59:27 +00:00

Add run tasks and remove useless variables (#5362)

* Add run tasks and remove useless variables

The benefit of run tasks is that proxies like velocity can be prototyped on without using standalone or a GUI. Thus simplifying the prototyping/fixing process.

* Drop runwaterfall
This commit is contained in:
Alex
2025-02-22 12:31:37 +01:00
committed by GitHub
parent fd4c80598e
commit 07be402563
4 changed files with 19 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
plugins {
id("geyser.platform-conventions")
id("geyser.modrinth-uploading-conventions")
alias(libs.plugins.runpaper)
}
dependencies {
@@ -90,3 +91,9 @@ modrinth {
"1.19.1", "1.19.2", "1.19.3", "1.19.4", "1.20", "1.20.1", "1.20.2", "1.20.3", "1.20.4", "1.20.5", "1.20.6")
loaders.addAll("spigot", "paper")
}
tasks {
runServer {
minecraftVersion(libs.versions.runpaperversion.get())
}
}

View File

@@ -5,9 +5,6 @@ plugins {
id("geyser.platform-conventions")
}
val terminalConsoleVersion = "1.2.0"
val jlineVersion = "3.21.0"
dependencies {
api(projects.core)

View File

@@ -1,6 +1,7 @@
plugins {
id("geyser.platform-conventions")
id("geyser.modrinth-uploading-conventions")
alias(libs.plugins.runvelocity)
}
dependencies {
@@ -83,3 +84,9 @@ modrinth {
uploadFile.set(tasks.getByPath("shadowJar"))
loaders.addAll("velocity")
}
tasks {
runVelocity {
version(libs.versions.runvelocityversion.get())
}
}