Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-20 09:50:06 +01:00
Add multi folia run task support
Dieser Commit ist enthalten in:
Ursprung
ffd915901f
Commit
dc77ce9331
@ -84,7 +84,7 @@ allprojects {
|
|||||||
|
|
||||||
applyCommonConfiguration()
|
applyCommonConfiguration()
|
||||||
val supportedVersions = listOf("1.17.1", "1.18.2", "1.19.4", "1.20", "1.20.2")
|
val supportedVersions = listOf("1.17.1", "1.18.2", "1.19.4", "1.20", "1.20.2")
|
||||||
|
val foliaSupportedVersions = listOf("1.19.4", "1.20.1", "1.20.2")
|
||||||
tasks {
|
tasks {
|
||||||
supportedVersions.forEach {
|
supportedVersions.forEach {
|
||||||
register<RunServer>("runServer-$it") {
|
register<RunServer>("runServer-$it") {
|
||||||
@ -102,14 +102,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