From 1dd19f0543257f9722dfafbf79458e98f78cbf3d Mon Sep 17 00:00:00 2001 From: Teriuihi Date: Fri, 20 Jun 2025 23:26:54 +0200 Subject: [PATCH] Update dependencies and build configuration --- api/build.gradle.kts | 6 +++--- build.gradle.kts | 3 ++- galaxy/build.gradle.kts | 11 ++++++----- settings.gradle.kts | 2 +- velocity/build.gradle.kts | 6 +++--- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 7cd0cf0..f3d3f37 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -7,8 +7,8 @@ dependencies { // exclude("net.kyori") // } compileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT") - compileOnly("org.spongepowered:configurate-yaml:4.1.2") // Configurate - compileOnly("net.luckperms:api:5.3") // Luckperms + compileOnly("org.spongepowered:configurate-yaml:4.2.0") // Configurate + compileOnly("net.luckperms:api:5.5") // Luckperms } publishing { @@ -18,7 +18,7 @@ publishing { } } - repositories{ + repositories { maven { name = "maven" url = uri("https://repo.destro.xyz/snapshots") diff --git a/build.gradle.kts b/build.gradle.kts index 4860c07..1adc35f 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,6 +1,7 @@ plugins { `java-library` id("io.github.goooler.shadow") version "8.1.8" + id("com.github.ben-manes.versions") version "0.52.0" } allprojects { @@ -67,4 +68,4 @@ tasks { jar { enabled = false } -} \ No newline at end of file +} diff --git a/galaxy/build.gradle.kts b/galaxy/build.gradle.kts index 9643511..6ee8437 100644 --- a/galaxy/build.gradle.kts +++ b/galaxy/build.gradle.kts @@ -5,11 +5,12 @@ plugins { dependencies { implementation(project(":api")) // API -// compileOnly("com.alttd:Galaxy-API:1.21-R0.1-SNAPSHOT") // Galaxy - compileOnly("io.papermc.paper:paper-api:1.21-R0.1-SNAPSHOT") - compileOnly("com.gitlab.ruany:LiteBansAPI:0.3.5") // move to proxy - compileOnly("org.apache.commons:commons-lang3:3.12.0") // needs an alternative, already removed from upstream api and will be removed in server - compileOnly("net.luckperms:api:5.3") // Luckperms + compileOnly("com.alttd.cosmos:cosmos-api:1.21.6-R0.1-SNAPSHOT") { + isChanging = true + } + compileOnly("com.gitlab.ruany:LiteBansAPI:0.6.1") // move to proxy + compileOnly("org.apache.commons:commons-lang3:3.17.0") // needs an alternative, already removed from upstream api and will be removed in server + compileOnly("net.luckperms:api:5.5") // Luckperms } tasks { diff --git a/settings.gradle.kts b/settings.gradle.kts index 8243876..e85b25d 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -11,7 +11,7 @@ dependencyResolutionManagement { repositories { // mavenLocal() mavenCentral() -// maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy + maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy maven("https://oss.sonatype.org/content/groups/public/") // Adventure maven("https://oss.sonatype.org/content/repositories/snapshots/") // Minimessage maven("https://nexus.velocitypowered.com/repository/") // Velocity diff --git a/velocity/build.gradle.kts b/velocity/build.gradle.kts index 8900eff..d9074b4 100644 --- a/velocity/build.gradle.kts +++ b/velocity/build.gradle.kts @@ -7,9 +7,9 @@ dependencies { implementation(project(":api")) // API compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT") annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT") - implementation("mysql:mysql-connector-java:8.0.27") // mysql - implementation("org.spongepowered", "configurate-yaml", "4.1.2") - compileOnly("net.kyori:adventure-text-minimessage:4.10.1") + implementation("mysql:mysql-connector-java:8.0.33") // mysql + implementation("org.spongepowered", "configurate-yaml", "4.2.0") + compileOnly("net.kyori:adventure-text-minimessage:4.23.0") compileOnly("com.gitlab.ruany:LiteBansAPI:0.3.5") compileOnly("com.alttd.proxydiscordlink:ProxyDiscordLink:1.0.1-SNAPSHOT") }