From 4c387bd4a4abaa36b80455dfec63b942922dc45e Mon Sep 17 00:00:00 2001 From: Len <40720638+destro174@users.noreply.github.com> Date: Wed, 29 Jul 2026 13:22:18 -0500 Subject: [PATCH] Update to 26.2 --- build.gradle.kts | 10 +--------- settings.gradle.kts | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 10 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index e06b635..b623302 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -8,12 +8,6 @@ description = "Altitude player flag plugin." apply() -java { - toolchain { - languageVersion.set(JavaLanguageVersion.of(21)) - } -} - tasks { withType { options.encoding = Charsets.UTF_8.name() @@ -25,7 +19,5 @@ tasks { } dependencies { - compileOnly("com.alttd.cosmos:cosmos-api:1.21.6-R0.1-SNAPSHOT") { - isChanging = true - } + compileOnly("com.alttd.cosmos:cosmos-api:26.2.build.17-stable") } diff --git a/settings.gradle.kts b/settings.gradle.kts index a331471..e0962b7 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,10 +1,27 @@ rootProject.name = "LiteFlags" +val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: System.getenv("NEXUS_USERNAME") +val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD") + dependencyResolutionManagement { repositories { mavenLocal() mavenCentral() - maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy + maven { + url = uri("https://repo.alttd.com/repository/alttd-snapshot/") + credentials { + username = nexusUser + password = nexusPass + } + } + maven { + url = uri("https://repo.alttd.com/repository/alttd/") + credentials { + username = nexusUser + password = nexusPass + } + } + maven("https://repo.destro.xyz/snapshots") maven("https://jitpack.io") { // Vault content { includeGroup("com.github.milkbowl") } }