3
0
Mirror von https://github.com/IntellectualSites/FastAsyncWorldEdit.git synchronisiert 2024-11-16 16:10:07 +01:00

Add multi folia run task support

Dieser Commit ist enthalten in:
TheMeinerLP 2023-06-18 17:38:14 +02:00 committet von SirYwell
Ursprung 5769912f7b
Commit 82f3cea32b
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden

Datei anzeigen

@ -85,6 +85,7 @@ allprojects {
applyCommonConfiguration()
val supportedVersions = listOf("1.18.2", "1.19.4", "1.20", "1.20.4")
val foliaSupportedVersions = listOf("1.19.4", "1.20.1")
tasks {
supportedVersions.forEach {
@ -103,14 +104,17 @@ tasks {
.toTypedArray())
}
register<RunServer>("runFolia") {
downloadsApiService.set(xyz.jpenilla.runtask.service.DownloadsAPIService.folia(project))
minecraftVersion("1.19.4")
group = "run paper"
runDirectory.set(file("run-folia"))
pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile }
foliaSupportedVersions.forEach {
register<RunServer>("runFolia-$it") {
downloadsApiService.set(xyz.jpenilla.runtask.service.DownloadsAPIService.folia(project))
minecraftVersion(it)
group = "run paper"
runDirectory.set(file("run-folia-$it"))
pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile }
.toTypedArray())
}
}
}
nexusPublishing {