Removes VFP as well and recommends ViaBackwards/ViaRewind on both platforms (#4032)

This commit is contained in:
EnZaXD 2024-07-21 09:43:40 +02:00 committed by GitHub
parent f2f0be0581
commit 6fb072120b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,8 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
detectLoaders.set(false)
dependencies {
optional.project("viafabric")
optional.project("viafabricplus")
optional.project("viabackwards")
optional.project("viarewind")
}
}
@ -78,10 +79,26 @@ if (!isRelease || isMainBranch) { // Only publish releases from the main branch
paper {
jar.set(tasks.shadowJar.flatMap { it.archiveFile })
platformVersions.set(listOf(property("mcVersionRange") as String))
dependencies {
hangar("ViaBackwards") {
required = false
}
hangar("ViaRewind") {
required = false
}
}
}
velocity {
jar.set(tasks.shadowJar.flatMap { it.archiveFile })
platformVersions.set(listOf(property("velocityVersion") as String))
dependencies {
hangar("ViaBackwards") {
required = false
}
hangar("ViaRewind") {
required = false
}
}
}
}
}