mirror of
https://github.com/GeyserMC/Geyser.git
synced 2025-01-10 20:12:29 +01:00
c8fd024e4a
# Conflicts: # bootstrap/bungeecord/src/main/java/org/geysermc/geyser/platform/bungeecord/GeyserBungeePlugin.java # bootstrap/fabric/src/main/java/org/geysermc/geyser/platform/fabric/GeyserFabricMod.java # bootstrap/spigot/src/main/java/org/geysermc/geyser/platform/spigot/GeyserSpigotPlugin.java # bootstrap/standalone/src/main/java/org/geysermc/geyser/platform/standalone/GeyserStandaloneBootstrap.java # bootstrap/velocity/src/main/java/org/geysermc/geyser/platform/velocity/GeyserVelocityPlugin.java # bootstrap/velocity/src/main/java/org/geysermc/geyser/platform/velocity/floodgate/FloodgateModule.java # common/src/main/java/org/geysermc/floodgate/crypto/AesKeyProducer.java # common/src/main/java/org/geysermc/floodgate/crypto/FloodgateCipher.java # common/src/main/java/org/geysermc/floodgate/news/NewsItem.java # common/src/main/java/org/geysermc/floodgate/news/NewsItemMessage.java # common/src/main/java/org/geysermc/floodgate/news/NewsType.java # common/src/main/java/org/geysermc/floodgate/news/data/BuildSpecificData.java # common/src/main/java/org/geysermc/floodgate/news/data/ConfigSpecificData.java # common/src/main/java/org/geysermc/floodgate/util/BedrockData.java # common/src/main/java/org/geysermc/floodgate/util/LinkedPlayer.java # common/src/main/java/org/geysermc/floodgate/util/WebsocketEventType.java # core/src/main/java/org/geysermc/geyser/GeyserBootstrap.java # core/src/main/java/org/geysermc/geyser/GeyserImpl.java # core/src/main/java/org/geysermc/geyser/floodgate/FloodgateProvider.java # core/src/main/java/org/geysermc/geyser/floodgate/GeyserLoadStage.java # core/src/main/java/org/geysermc/geyser/floodgate/NoFloodgateProvider.java # core/src/main/java/org/geysermc/geyser/network/netty/LocalSession.java # core/src/main/java/org/geysermc/geyser/session/GeyserSession.java # gradle.properties
40 lines
931 B
Text
40 lines
931 B
Text
plugins {
|
|
`java-library`
|
|
// Ensure AP works in eclipse (no effect on other IDEs)
|
|
`eclipse`
|
|
id("geyser.build-logic")
|
|
id("io.freefair.lombok") version "8.3" 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(17))
|
|
}
|
|
}
|
|
|
|
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")
|
|
}
|
|
}
|