Mirror von
https://github.com/ViaVersion/ViaVersion.git
synchronisiert 2024-11-04 23:30:24 +01:00
32 Zeilen
807 B
Plaintext
32 Zeilen
807 B
Plaintext
plugins {
|
|
base
|
|
id("via.build-logic")
|
|
}
|
|
|
|
allprojects {
|
|
group = "com.viaversion"
|
|
version = property("projectVersion") as String // from gradle.properties
|
|
description = "Allow newer clients to join older server versions."
|
|
}
|
|
|
|
val main = setOf(
|
|
projects.viaversion,
|
|
projects.viaversionCommon,
|
|
projects.viaversionApi,
|
|
projects.viaversionBukkit,
|
|
projects.viaversionBungee,
|
|
projects.viaversionFabric,
|
|
projects.viaversionSponge,
|
|
projects.viaversionVelocity
|
|
).map { it.dependencyProject }
|
|
|
|
// val special = setOf().map { it.dependencyProject }
|
|
|
|
subprojects {
|
|
when (this) {
|
|
in main -> plugins.apply("via.shadow-conventions")
|
|
// in special -> plugins.apply("via.base-conventions")
|
|
else -> plugins.apply("via.standard-conventions")
|
|
}
|
|
}
|