ViaBackwards/build.gradle.kts

32 lines
803 B
Plaintext
Raw Normal View History

2021-02-18 14:34:33 +01:00
plugins {
2021-05-29 09:32:55 +02:00
base
id("vb.build-logic")
2021-02-18 14:34:33 +01:00
}
2021-02-24 14:24:06 +01:00
allprojects {
2021-04-26 23:24:49 +02:00
group = "com.viaversion"
2022-12-05 20:13:41 +01:00
version = "4.5.0"
2021-02-24 14:24:06 +01:00
description = "Allow older clients to join newer server versions."
}
2021-02-18 14:34:33 +01:00
2021-05-29 09:32:55 +02:00
val platforms = setOf(
2021-04-15 11:11:04 +02:00
projects.viabackwardsBukkit,
projects.viabackwardsBungee,
projects.viabackwardsFabric,
projects.viabackwardsSponge,
projects.viabackwardsVelocity
2021-05-29 09:32:55 +02:00
).map { it.dependencyProject }
2021-04-15 11:11:04 +02:00
2021-05-29 09:32:55 +02:00
// Would otherwise contain api/depdency modules if at some point needed
val special = setOf(
projects.viabackwards
).map { it.dependencyProject }
2021-02-23 11:29:18 +01:00
2021-04-15 11:11:04 +02:00
subprojects {
2021-05-29 09:32:55 +02:00
when (this) {
in platforms -> plugins.apply("vb.platform-conventions")
in special -> plugins.apply("vb.base-conventions")
else -> plugins.apply("vb.standard-conventions")
2021-02-18 14:34:33 +01:00
}
}