From 3ea078237db5dbe4bf239abb534d2afd7cee81d1 Mon Sep 17 00:00:00 2001 From: Len <40720638+destro174@users.noreply.github.com> Date: Sat, 6 Jul 2024 10:58:27 +0200 Subject: [PATCH] Update to 1.21? --- api/build.gradle.kts | 4 ++-- build.gradle.kts | 6 +++--- galaxy/build.gradle.kts | 8 +++++--- velocity/build.gradle.kts | 4 ++-- 4 files changed, 12 insertions(+), 10 deletions(-) diff --git a/api/build.gradle.kts b/api/build.gradle.kts index d4e432d..ead619d 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -3,8 +3,8 @@ plugins { } dependencies { - compileOnly("com.alttd:Galaxy-API:1.19.2-R0.1-SNAPSHOT") { -// exclude("net.kyori") + compileOnly("com.alttd:Galaxy-API:1.21-R0.1-SNAPSHOT") { + isChanging = true } compileOnly("org.spongepowered:configurate-yaml:4.1.2") // Configurate compileOnly("net.luckperms:api:5.3") // Luckperms diff --git a/build.gradle.kts b/build.gradle.kts index 75b8e7d..ec18af0 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,11 +1,11 @@ plugins { `java-library` - id("com.github.johnrengelman.shadow") version "7.1.0" + id("com.github.johnrengelman.shadow") version "8.1.1" } allprojects { group = "com.alttd.chat" - version = "2.0.0-SNAPSHOT" + version = "2.0.1-SNAPSHOT" description = "All in one minecraft chat plugin" // repositories { @@ -27,7 +27,7 @@ subprojects { java { toolchain { - languageVersion.set(JavaLanguageVersion.of(17)) + languageVersion.set(JavaLanguageVersion.of(21)) } } diff --git a/galaxy/build.gradle.kts b/galaxy/build.gradle.kts index a3b7501..9faee32 100644 --- a/galaxy/build.gradle.kts +++ b/galaxy/build.gradle.kts @@ -4,12 +4,14 @@ import java.net.URL plugins { `maven-publish` id("com.github.johnrengelman.shadow") - id("xyz.jpenilla.run-paper") version "1.0.6" + id("xyz.jpenilla.run-paper") version "2.3.0" } dependencies { implementation(project(":api")) // API - compileOnly("com.alttd:Galaxy-API:1.20.4-R0.1-SNAPSHOT") // Galaxy + compileOnly("com.alttd:Galaxy-API:1.21-R0.1-SNAPSHOT") { + isChanging = true + } 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 @@ -45,7 +47,7 @@ tasks { download("https://repo.destro.xyz/snapshots/com/alttd/Galaxy-Server/Galaxy-paperclip-1.19.2-R0.1-SNAPSHOT-reobf.jar", file) } serverJar(file) - minecraftVersion("1.19.2") + minecraftVersion("1.21") } } diff --git a/velocity/build.gradle.kts b/velocity/build.gradle.kts index 3fb4877..797d83d 100644 --- a/velocity/build.gradle.kts +++ b/velocity/build.gradle.kts @@ -5,8 +5,8 @@ plugins { dependencies { implementation(project(":api")) // API - compileOnly("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT") - annotationProcessor("com.velocitypowered:velocity-api:3.2.0-SNAPSHOT") + compileOnly("com.velocitypowered:velocity-api:3.3.0-SNAPSHOT") + annotationProcessor("com.velocitypowered:velocity-api:3.3.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")