mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-12-22 16:29:25 +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 {
|
plugins {
|
||||||
id("geyser.platform-conventions")
|
id("geyser.platform-conventions")
|
||||||
id("geyser.modrinth-uploading-conventions")
|
id("geyser.modrinth-uploading-conventions")
|
||||||
|
alias(libs.plugins.runpaper)
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
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")
|
"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")
|
loaders.addAll("spigot", "paper")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks {
|
||||||
|
runServer {
|
||||||
|
minecraftVersion(libs.versions.runpaperversion.get())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -5,9 +5,6 @@ plugins {
|
|||||||
id("geyser.platform-conventions")
|
id("geyser.platform-conventions")
|
||||||
}
|
}
|
||||||
|
|
||||||
val terminalConsoleVersion = "1.2.0"
|
|
||||||
val jlineVersion = "3.21.0"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(projects.core)
|
api(projects.core)
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
id("geyser.platform-conventions")
|
id("geyser.platform-conventions")
|
||||||
id("geyser.modrinth-uploading-conventions")
|
id("geyser.modrinth-uploading-conventions")
|
||||||
|
alias(libs.plugins.runvelocity)
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
@@ -83,3 +84,9 @@ modrinth {
|
|||||||
uploadFile.set(tasks.getByPath("shadowJar"))
|
uploadFile.set(tasks.getByPath("shadowJar"))
|
||||||
loaders.addAll("velocity")
|
loaders.addAll("velocity")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks {
|
||||||
|
runVelocity {
|
||||||
|
version(libs.versions.runvelocityversion.get())
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -41,6 +41,9 @@ mixin = "0.8.5"
|
|||||||
mixinextras = "0.3.5"
|
mixinextras = "0.3.5"
|
||||||
minecraft = "1.21.4"
|
minecraft = "1.21.4"
|
||||||
mockito = "5.+"
|
mockito = "5.+"
|
||||||
|
runtask = "2.3.1"
|
||||||
|
runpaperversion = "1.21.4"
|
||||||
|
runvelocityversion = "3.4.0-SNAPSHOT"
|
||||||
|
|
||||||
# plugin versions
|
# plugin versions
|
||||||
indra = "3.1.3"
|
indra = "3.1.3"
|
||||||
@@ -150,6 +153,8 @@ minotaur = { group = "com.modrinth.minotaur", name = "Minotaur", version.ref = "
|
|||||||
[plugins]
|
[plugins]
|
||||||
indra = { id = "net.kyori.indra", version.ref = "indra" }
|
indra = { id = "net.kyori.indra", version.ref = "indra" }
|
||||||
blossom = { id = "net.kyori.blossom", version.ref = "blossom" }
|
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]
|
[bundles]
|
||||||
jackson = [ "jackson-annotations", "jackson-databind", "jackson-dataformat-yaml" ]
|
jackson = [ "jackson-annotations", "jackson-databind", "jackson-dataformat-yaml" ]
|
||||||
|
|||||||
Reference in New Issue
Block a user