ViaVersion/build.gradle.kts
2024-11-17 13:43:10 +01:00

27 lines
646 B
Plaintext

plugins {
base
id("via.build-logic")
}
allprojects {
group = "com.viaversion"
version = property("projectVersion") as String // from gradle.properties
description = "Allows the connection of newer clients to older server versions for Minecraft servers."
}
val main = setOf(
projects.viaversion,
projects.viaversionCommon,
projects.viaversionApi,
projects.viaversionBukkit,
projects.viaversionVelocity,
projects.viaversionFabric
).map { it.path }
subprojects {
when (path) {
in main -> plugins.apply("via.shadow-conventions")
else -> plugins.apply("via.base-conventions")
}
}