3
0
Mirror von https://github.com/ViaVersion/ViaBackwards.git synchronisiert 2024-11-18 05:50:08 +01:00
ViaBackwards/build.gradle.kts

32 Zeilen
812 B
Plaintext

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"
2021-07-07 10:08:35 +02:00
version = "4.0.2-SNAPSHOT"
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
}
}