Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-17 00:20:09 +01:00
Add multi folia run task support
Dieser Commit ist enthalten in:
Ursprung
5769912f7b
Commit
82f3cea32b
@ -85,6 +85,7 @@ allprojects {
|
|||||||
|
|
||||||
applyCommonConfiguration()
|
applyCommonConfiguration()
|
||||||
val supportedVersions = listOf("1.18.2", "1.19.4", "1.20", "1.20.4")
|
val supportedVersions = listOf("1.18.2", "1.19.4", "1.20", "1.20.4")
|
||||||
|
val foliaSupportedVersions = listOf("1.19.4", "1.20.1")
|
||||||
|
|
||||||
tasks {
|
tasks {
|
||||||
supportedVersions.forEach {
|
supportedVersions.forEach {
|
||||||
@ -103,14 +104,17 @@ tasks {
|
|||||||
.toTypedArray())
|
.toTypedArray())
|
||||||
|
|
||||||
}
|
}
|
||||||
register<RunServer>("runFolia") {
|
foliaSupportedVersions.forEach {
|
||||||
downloadsApiService.set(xyz.jpenilla.runtask.service.DownloadsAPIService.folia(project))
|
register<RunServer>("runFolia-$it") {
|
||||||
minecraftVersion("1.19.4")
|
downloadsApiService.set(xyz.jpenilla.runtask.service.DownloadsAPIService.folia(project))
|
||||||
group = "run paper"
|
minecraftVersion(it)
|
||||||
runDirectory.set(file("run-folia"))
|
group = "run paper"
|
||||||
pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile }
|
runDirectory.set(file("run-folia-$it"))
|
||||||
|
pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile }
|
||||||
.toTypedArray())
|
.toTypedArray())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
nexusPublishing {
|
nexusPublishing {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren