mirror of
https://github.com/ViaVersion/ViaVersion.git
synced 2024-11-25 19:45:21 +01:00
e356a35aa7
Don't create runnable platform jars anymore, since all they really do is increase build time. Also fix texts and Gradle deprecations. Also also publish common with its shadowed configuration, not the plain java components.
34 lines
825 B
Plaintext
34 lines
825 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(
|
|
projects.adventure
|
|
).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")
|
|
}
|
|
}
|