ViaBackwards/build.gradle.kts

28 lines
725 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"
2023-08-10 16:26:51 +02:00
version = property("projectVersion") as String // from gradle.properties
description = "Allows older Minecraft client versions to connect to newer server versions."
2021-02-24 14:24:06 +01:00
}
2021-02-18 14:34:33 +01:00
val main = setOf(
projects.viabackwards,
projects.viabackwardsCommon,
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
subprojects {
2021-05-29 09:32:55 +02:00
when (this) {
in main -> plugins.apply("vb.shadow-conventions")
2021-05-29 09:32:55 +02:00
else -> plugins.apply("vb.standard-conventions")
2021-02-18 14:34:33 +01:00
}
}