3
0
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:
TheMeinerLP 2023-06-18 17:38:14 +02:00 committet von Phillipp Glanz
Ursprung ffd915901f
Commit dc77ce9331

Datei anzeigen

@ -84,7 +84,7 @@ allprojects {
applyCommonConfiguration()
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 {
supportedVersions.forEach {
register<RunServer>("runServer-$it") {
@ -102,16 +102,19 @@ tasks {
.toTypedArray())
}
register<RunServer>("runFolia") {
foliaSupportedVersions.forEach {
register<RunServer>("runFolia-$it") {
downloadsApiService.set(xyz.jpenilla.runtask.service.DownloadsAPIService.folia(project))
minecraftVersion("1.19.4")
minecraftVersion(it)
group = "run paper"
runDirectory.set(file("run-folia"))
runDirectory.set(file("run-folia-$it"))
pluginJars(*project(":worldedit-bukkit").getTasksByName("shadowJar", false).map { (it as Jar).archiveFile }
.toTypedArray())
}
}
}
nexusPublishing {
this.repositories {
sonatype {