mirror of
https://github.com/GeyserMC/Floodgate.git
synced 2025-12-19 14:59:20 +00:00
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
plugins {
|
|
id("floodgate.generate-templates")
|
|
}
|
|
|
|
dependencies {
|
|
api(projects.api)
|
|
api("org.geysermc.configutils", "configutils", Versions.configUtilsVersion)
|
|
|
|
compileOnly(projects.ap)
|
|
annotationProcessor(projects.ap)
|
|
|
|
api("com.google.inject", "guice", Versions.guiceVersion)
|
|
api("com.nukkitx.fastutil", "fastutil-short-object-maps", Versions.fastutilVersion)
|
|
api("com.nukkitx.fastutil", "fastutil-int-object-maps", Versions.fastutilVersion)
|
|
api("org.java-websocket", "Java-WebSocket", Versions.javaWebsocketVersion)
|
|
api("cloud.commandframework", "cloud-core", Versions.cloudVersion)
|
|
|
|
//todo use official dependency once https://github.com/Bastian/bstats-metrics/pull/118 is merged
|
|
api("com.github.Konicai.bstats-metrics", "bstats-base", Versions.bstatsVersion)
|
|
}
|
|
|
|
// present on all platforms
|
|
provided("io.netty", "netty-transport", Versions.nettyVersion)
|
|
provided("io.netty", "netty-codec", Versions.nettyVersion)
|
|
|
|
relocate("org.bstats")
|
|
|
|
tasks {
|
|
templateSources {
|
|
replaceToken("floodgateVersion", fullVersion())
|
|
replaceToken("branch", branchName())
|
|
replaceToken("buildNumber", buildNumber())
|
|
}
|
|
}
|