3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-09 01:30:13 +01:00
ViaVersion/build.gradle.kts

32 Zeilen
807 B
Plaintext

2021-02-17 14:49:10 +01:00
plugins {
base
2021-05-25 06:58:34 +02:00
id("via.build-logic")
2021-02-17 14:49:10 +01:00
}
2021-02-24 13:25:09 +01:00
allprojects {
2021-04-24 20:54:38 +02:00
group = "com.viaversion"
2021-05-25 06:58:34 +02:00
version = property("projectVersion") as String // from gradle.properties
2021-02-24 13:25:09 +01:00
description = "Allow newer clients to join older server versions."
}
2021-02-17 14:49:10 +01:00
val main = setOf(
projects.viaversion,
projects.viaversionCommon,
projects.viaversionApi,
2021-05-25 06:58:34 +02:00
projects.viaversionBukkit,
projects.viaversionBungee,
projects.viaversionFabric,
projects.viaversionSponge,
projects.viaversionVelocity
).map { it.dependencyProject }
2021-02-17 14:49:10 +01:00
2023-12-26 23:38:02 +01:00
// val special = setOf().map { it.dependencyProject }
2021-02-17 14:49:10 +01:00
2021-05-25 06:58:34 +02:00
subprojects {
when (this) {
in main -> plugins.apply("via.shadow-conventions")
2023-12-26 23:38:02 +01:00
// in special -> plugins.apply("via.base-conventions")
2021-05-25 06:58:34 +02:00
else -> plugins.apply("via.standard-conventions")
2021-02-17 14:49:10 +01:00
}
}