diff --git a/build.gradle.kts b/build.gradle.kts index dc53e61..eff7a33 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -19,8 +19,6 @@ 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") compileOnly("com.alttd.datalock:api:1.1.0-SNAPSHOT") } diff --git a/settings.gradle.kts b/settings.gradle.kts index 1626448..d3c16e0 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,9 +1,26 @@ rootProject.name = "BlacklistFromWorld" +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 { + 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") // Altitude - Cosmos maven("https://jitpack.io") { // Vault content { includeGroup("com.github.milkbowl") }