Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 11:00:04 +01:00
Add multi folia run task support
Dieser Commit ist enthalten in:
Ursprung
5769912f7b
Commit
82f3cea32b
@ -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 {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren