mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Use Gradle's dependency catalogue feature (#3305)
Move all of our dependencies to a single catalogue file to make maintenance of them easier.
This commit is contained in:
parent
2c5c72f85f
commit
e491cf8a17
13 changed files with 134 additions and 101 deletions
|
@ -1,7 +1,5 @@
|
|||
val velocityVersion = "3.0.0"
|
||||
|
||||
dependencies {
|
||||
annotationProcessor("com.velocitypowered", "velocity-api", velocityVersion)
|
||||
annotationProcessor(libs.velocity.api)
|
||||
api(projects.core)
|
||||
}
|
||||
|
||||
|
@ -34,7 +32,7 @@ exclude("net.kyori:adventure-text-serializer-legacy:*")
|
|||
exclude("net.kyori:adventure-nbt:*")
|
||||
|
||||
// These dependencies are already present on the platform
|
||||
provided("com.velocitypowered", "velocity-api", velocityVersion)
|
||||
provided(libs.velocity.api)
|
||||
|
||||
application {
|
||||
mainClass.set("org.geysermc.geyser.platform.velocity.GeyserVelocityMain")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue