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
|
2024-08-05 09:09:09 +02:00
|
|
|
description = "Allows the connection of newer clients to older server versions for Minecraft servers."
|
2021-02-24 13:25:09 +01:00
|
|
|
}
|
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
|
|
|
|
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")
|
2024-06-03 15:22:59 +02:00
|
|
|
else -> plugins.apply("via.base-conventions")
|
2021-02-17 14:49:10 +01:00
|
|
|
}
|
2021-02-18 06:32:43 +01:00
|
|
|
}
|