Update for Minecraft Version 1.21.9

This commit is contained in:
Len 2026-04-06 14:41:24 +02:00
parent 054f39407d
commit 6ac80610bf
3 changed files with 15 additions and 16 deletions

View File

@ -2,7 +2,6 @@ import java.io.ByteArrayOutputStream
plugins { plugins {
id("java") id("java")
id("com.github.johnrengelman.shadow") version "7.1.0"
} }
group = "com.alttd" group = "com.alttd"
@ -39,7 +38,7 @@ tasks {
} }
dependencies { dependencies {
compileOnly("com.alttd.cosmos:cosmos-api:1.21.6-R0.1-SNAPSHOT") { compileOnly("com.alttd.cosmos:cosmos-api:1.21.9-R0.1-SNAPSHOT") {
isChanging = true isChanging = true
} }
compileOnly("de.keyle:mypet:3.11-SNAPSHOT") compileOnly("de.keyle:mypet:3.11-SNAPSHOT")
@ -49,11 +48,12 @@ dependencies {
} }
fun gitCommit(): String { fun gitCommit(): String {
val os = ByteArrayOutputStream() // val os = ByteArrayOutputStream()
project.exec { // project.exec {
isIgnoreExitValue = true // isIgnoreExitValue = true
commandLine = "git rev-parse --short HEAD".split(" ") // commandLine = "git rev-parse --short HEAD".split(" ")
standardOutput = os // standardOutput = os
} // }
return String(os.toByteArray()).trim() // return String(os.toByteArray()).trim()
return "FIXME"
} }

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-9.0.0-bin.zip
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists

View File

@ -8,12 +8,11 @@ dependencyResolutionManagement {
maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy
maven("https://repo.alttd.com/repository/alttd-snapshot/") maven("https://repo.alttd.com/repository/alttd-snapshot/")
maven { maven {
name = "nexus" name = "AlttdNexus"
url = uri("https://repo.alttd.com/repository/alttd-snapshot/") url = uri(
credentials { "https://repo.alttd.com/repository/alttd-snapshot/"
username = providers.gradleProperty("alttdSnapshotUsername").get() )
password = providers.gradleProperty("alttdSnapshotPassword").get() credentials(PasswordCredentials::class)
}
} }
} }
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)