From 646d0fae3fdd324a77585642165b8d05f3d3e05d Mon Sep 17 00:00:00 2001 From: Len <40720638+destro174@users.noreply.github.com> Date: Sun, 15 Jun 2025 09:01:19 +0200 Subject: [PATCH] Switch to Cosmos --- build.gradle.kts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 3432d12..5ba9a92 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ plugins { } group = "com.alttd.playershops" -version = System.getenv("BUILD_NUMBER") ?: "1.2-SNAPSHOT" +version = System.getenv("BUILD_NUMBER") ?: "1.3-SNAPSHOT" description = "Player Shop plugin for Altitude." apply() @@ -34,14 +34,13 @@ tasks { } runServer { -// runDirectory.set(File("./run1")) - val fileName = "./run/galaxy.jar" + val fileName = "./run/cosmos.jar" val file = File(fileName) if (!file.parentFile.exists()) { file.parentFile.mkdirs() } if (!file.exists()) { - download("https://jenkins.destro.xyz/job/Galaxy/lastSuccessfulBuild/artifact/build/libs/Galaxy-paperclip-1.21-R0.1-SNAPSHOT-reobf.jar", fileName) + download("https://jenkins.destro.xyz/job/Cosmos/lastSuccessfulBuild/artifact/cosmos-server/build/libs/cosmos-bundler-1.21.6-R0.1-SNAPSHOT-mojmap.jar", fileName) } serverJar(file) minecraftVersion("1.21") @@ -71,7 +70,7 @@ publishing { } dependencies { - compileOnly("com.alttd:Galaxy-API:1.21-R0.1-SNAPSHOT") + compileOnly("com.alttd.cosmos:cosmos-api:1.21.6-R0.1-SNAPSHOT") compileOnly("com.github.milkbowl:VaultAPI:1.7") { exclude("org.bukkit","bukkit") }