2021-02-17 14:49:10 +01:00
|
|
|
plugins {
|
2021-05-27 23:56:22 +02:00
|
|
|
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
|
|
|
|
2023-11-06 04:11:35 +01:00
|
|
|
val main = setOf(
|
|
|
|
projects.viaversion,
|
|
|
|
projects.viaversionCommon,
|
|
|
|
projects.viaversionApi,
|
2021-05-25 06:58:34 +02:00
|
|
|
projects.viaversionBukkit,
|
2024-05-30 21:51:38 +02:00
|
|
|
projects.viaversionVelocity,
|
|
|
|
projects.viaversionFabric
|
2021-05-25 06:58:34 +02:00
|
|
|
).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) {
|
2023-11-06 04:11:35 +01:00
|
|
|
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
|
|
|
}
|
2021-02-18 06:32:43 +01:00
|
|
|
}
|