mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-22 12:16:21 +01:00
32 lines
819 B
Plaintext
32 lines
819 B
Plaintext
plugins {
|
|
base
|
|
id("vb.build-logic")
|
|
}
|
|
|
|
allprojects {
|
|
group = "com.viaversion"
|
|
version = "4.6.0-23w06a-SNAPSHOT"
|
|
description = "Allow older clients to join newer server versions."
|
|
}
|
|
|
|
val platforms = setOf(
|
|
projects.viabackwardsBukkit,
|
|
projects.viabackwardsBungee,
|
|
projects.viabackwardsFabric,
|
|
projects.viabackwardsSponge,
|
|
projects.viabackwardsVelocity
|
|
).map { it.dependencyProject }
|
|
|
|
// Would otherwise contain api/depdency modules if at some point needed
|
|
val special = setOf(
|
|
projects.viabackwards
|
|
).map { it.dependencyProject }
|
|
|
|
subprojects {
|
|
when (this) {
|
|
in platforms -> plugins.apply("vb.platform-conventions")
|
|
in special -> plugins.apply("vb.base-conventions")
|
|
else -> plugins.apply("vb.standard-conventions")
|
|
}
|
|
}
|