Update for Minecraft Version 1.21.9
This commit is contained in:
parent
054f39407d
commit
6ac80610bf
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
|
@ -1,5 +1,5 @@
|
|||
distributionBase=GRADLE_USER_HOME
|
||||
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
|
||||
zipStorePath=wrapper/dists
|
||||
|
|
|
|||
|
|
@ -8,12 +8,11 @@ dependencyResolutionManagement {
|
|||
maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy
|
||||
maven("https://repo.alttd.com/repository/alttd-snapshot/")
|
||||
maven {
|
||||
name = "nexus"
|
||||
url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
|
||||
credentials {
|
||||
username = providers.gradleProperty("alttdSnapshotUsername").get()
|
||||
password = providers.gradleProperty("alttdSnapshotPassword").get()
|
||||
}
|
||||
name = "AlttdNexus"
|
||||
url = uri(
|
||||
"https://repo.alttd.com/repository/alttd-snapshot/"
|
||||
)
|
||||
credentials(PasswordCredentials::class)
|
||||
}
|
||||
}
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user