3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-16 04:50:07 +01:00
Geyser/build.gradle.kts
Konicai f78e6dd7e7
Remove Geyser-Sponge (#4097)
See PR for details
2023-09-11 13:54:24 -04:00

38 Zeilen
858 B
Plaintext

plugins {
`java-library`
id("geyser.build-logic")
id("io.freefair.lombok") version "6.3.0" apply false
}
allprojects {
group = properties["group"] as String + "." + properties["id"] as String
version = properties["version"] as String
description = properties["description"] as String
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(16))
}
}
val platforms = setOf(
projects.fabric,
projects.bungeecord,
projects.spigot,
projects.standalone,
projects.velocity
).map { it.dependencyProject }
subprojects {
apply {
plugin("java-library")
plugin("io.freefair.lombok")
plugin("geyser.build-logic")
}
when (this) {
in platforms -> plugins.apply("geyser.platform-conventions")
else -> plugins.apply("geyser.base-conventions")
}
}