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
|
@ -6,19 +6,19 @@ val commodoreVersion = "2.2"
|
|||
dependencies {
|
||||
api(projects.core)
|
||||
|
||||
implementation("org.geysermc.geyser.adapters", "spigot-all", adaptersVersion)
|
||||
implementation(libs.adapters.spigot)
|
||||
|
||||
implementation("me.lucko", "commodore", commodoreVersion)
|
||||
implementation(libs.commodore)
|
||||
|
||||
implementation("net.kyori", "adventure-text-serializer-bungeecord", Versions.adventurePlatformVersion)
|
||||
implementation(libs.adventure.text.serializer.bungeecord)
|
||||
|
||||
// Both paper-api and paper-mojangapi only provide Java 17 versions for 1.19
|
||||
compileOnly("io.papermc.paper", "paper-api", paperVersion) {
|
||||
compileOnly(libs.paper.api) {
|
||||
attributes {
|
||||
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17)
|
||||
}
|
||||
}
|
||||
compileOnly("io.papermc.paper", "paper-mojangapi", paperVersion) {
|
||||
compileOnly(libs.paper.mojangapi) {
|
||||
attributes {
|
||||
attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue