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:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,9 +5,6 @@ plugins {
|
||||
id("geyser.platform-conventions")
|
||||
}
|
||||
|
||||
val terminalConsoleVersion = "1.2.0"
|
||||
val jlineVersion = "3.21.0"
|
||||
|
||||
dependencies {
|
||||
api(projects.core)
|
||||
|
||||
|
||||
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
@@ -41,6 +41,9 @@ mixin = "0.8.5"
|
||||
mixinextras = "0.3.5"
|
||||
minecraft = "1.21.4"
|
||||
mockito = "5.+"
|
||||
runtask = "2.3.1"
|
||||
runpaperversion = "1.21.4"
|
||||
runvelocityversion = "3.4.0-SNAPSHOT"
|
||||
|
||||
# plugin versions
|
||||
indra = "3.1.3"
|
||||
@@ -150,6 +153,8 @@ minotaur = { group = "com.modrinth.minotaur", name = "Minotaur", version.ref = "
|
||||
[plugins]
|
||||
indra = { id = "net.kyori.indra", version.ref = "indra" }
|
||||
blossom = { id = "net.kyori.blossom", version.ref = "blossom" }
|
||||
runvelocity = { id = "xyz.jpenilla.run-velocity", version.ref = "runtask" }
|
||||
runpaper = { id = "xyz.jpenilla.run-paper", version.ref = "runtask" }
|
||||
|
||||
[bundles]
|
||||
jackson = [ "jackson-annotations", "jackson-databind", "jackson-dataformat-yaml" ]
|
||||
|
||||
Reference in New Issue
Block a user