3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-20 09:50:06 +01:00

Add run folia task

Dieser Commit ist enthalten in:
Phillip Glanz 2023-04-02 17:33:50 +02:00 committet von Phillipp Glanz
Ursprung c193f75554
Commit d092e369e2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden

Datei anzeigen

@ -1,6 +1,7 @@
import org.ajoberstar.grgit.Grgit import org.ajoberstar.grgit.Grgit
import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL import org.gradle.api.tasks.testing.logging.TestExceptionFormat.FULL
import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED import org.gradle.api.tasks.testing.logging.TestLogEvent.FAILED
import xyz.jpenilla.runpaper.task.RunServer
import java.net.URI import java.net.URI
import java.time.format.DateTimeFormatter import java.time.format.DateTimeFormatter
import xyz.jpenilla.runpaper.task.RunServer import xyz.jpenilla.runpaper.task.RunServer
@ -102,6 +103,14 @@ tasks {
.toTypedArray()) .toTypedArray())
} }
register<RunServer>("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 { nexusPublishing {