mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
33 lines
No EOL
791 B
Text
33 lines
No EOL
791 B
Text
plugins {
|
|
`java-library`
|
|
id("geyser.build-logic")
|
|
id("io.freefair.lombok") version "6.3.0" apply false
|
|
}
|
|
|
|
allprojects {
|
|
group = "org.geysermc.geyser"
|
|
version = "2.1.2-SNAPSHOT"
|
|
description = "Allows for players from Minecraft: Bedrock Edition to join Minecraft: Java Edition servers."
|
|
}
|
|
|
|
val platforms = setOf(
|
|
projects.fabric,
|
|
projects.bungeecord,
|
|
projects.spigot,
|
|
projects.sponge,
|
|
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")
|
|
}
|
|
} |