0
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2024-11-13 14:39:19 +00:00
Floodgate/velocity/build.gradle.kts
chris 7a5530596d
Feature: Cloud 2.0, publishing setup fixes (#496)
* - Update to cloud 2.0
- bump floodgate version to 2.2.3
- fix publishing setup - don't publish shadow jars, ensure api/core artifacts aren't shaded jars

* - update bstats
- fix alias -> description

* tiny cleanup, fix whitelisting bedrock players when the linked java account is online (and shares the same name)

* Update build process

* Ensure BUILD_JSON env is init

* Fallback to GH run number

* update guice to 6.0.0 to be compatible with java 21

* update languages module

* Support 1.20.5 spigot, update languages module, update Bungee dependency so the project builds

* remove codemc repo, update cloud-paper to snapshot build for 1.20.5 support

---------

Co-authored-by: Kas-tle <26531652+Kas-tle@users.noreply.github.com>
2024-04-28 22:36:17 +02:00

30 lines
849 B
Plaintext

var velocityVersion = "3.2.0-SNAPSHOT"
var log4jVersion = "2.11.2"
var gsonVersion = "2.8.8"
var guavaVersion = "25.1-jre"
indra {
javaVersions {
// For Velocity API
target(11)
}
}
dependencies {
api(projects.core)
implementation("org.incendo", "cloud-velocity", Versions.cloudVersion)
}
relocate("org.incendo.cloud")
// used in cloud
relocate("io.leangen.geantyref")
// these dependencies are already present on the platform
provided("com.google.code.gson", "gson", gsonVersion)
provided("com.google.guava", "guava", guavaVersion)
provided("com.google.inject", "guice", Versions.guiceVersion)
provided("org.yaml", "snakeyaml", Versions.snakeyamlVersion) // included in Configurate
provided("com.velocitypowered", "velocity-api", velocityVersion)
provided("org.apache.logging.log4j", "log4j-core", log4jVersion)