Update for Minecraft Version 1.21.9

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

No files matched your search

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