diff --git a/bootstrap/spigot/build.gradle.kts b/bootstrap/spigot/build.gradle.kts index feabfdd7a..3a6c6b976 100644 --- a/bootstrap/spigot/build.gradle.kts +++ b/bootstrap/spigot/build.gradle.kts @@ -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()) + } +} diff --git a/bootstrap/standalone/build.gradle.kts b/bootstrap/standalone/build.gradle.kts index b210693c1..e794c266c 100644 --- a/bootstrap/standalone/build.gradle.kts +++ b/bootstrap/standalone/build.gradle.kts @@ -5,9 +5,6 @@ plugins { id("geyser.platform-conventions") } -val terminalConsoleVersion = "1.2.0" -val jlineVersion = "3.21.0" - dependencies { api(projects.core) diff --git a/bootstrap/velocity/build.gradle.kts b/bootstrap/velocity/build.gradle.kts index 05035e271..eec6c23d6 100644 --- a/bootstrap/velocity/build.gradle.kts +++ b/bootstrap/velocity/build.gradle.kts @@ -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()) + } +} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 3ab475829..15691e2d9 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -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" ]