From 7d264aaf879219bfc66b704a7a7a2fcd5f36cf36 Mon Sep 17 00:00:00 2001 From: Phillip Glanz Date: Sun, 2 Apr 2023 17:33:50 +0200 Subject: [PATCH] Add run folia task --- build.gradle.kts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 15845439a..e92a12050 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,7 @@ import org.ajoberstar.grgit.Grgit import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED +import xyz.jpenilla.runpaper.task.RunServer import java.net.URI import java.time.format.DateTimeFormatter import xyz.jpenilla.runpaper.task.RunServer @@ -102,6 +103,14 @@ tasks { .toTypedArray()) } + register("runFolia") { + minecraftVersion("1.19.4") + group = "run paper" + serverJar(file("run-folia/folia-paperclip-1.19.4-R0.1-SNAPSHOT-reobf.jar")) + runDirectory.set(file("run-folia")) + pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile } + .toTypedArray()) + } } nexusPublishing {