Update to 1.21.8

This commit is contained in:
Len 2025-08-03 17:27:50 +02:00
parent 4c63fa09e2
commit acc9f600cf
2 changed files with 15 additions and 4 deletions

View File

@ -1,21 +1,25 @@
import java.io.ByteArrayOutputStream
plugins {
`java-library`
`maven-publish`
id("java")
id("java-library")
id("maven-publish")
id("net.minecrell.plugin-yml.bukkit") version "0.6.0"
}
dependencies {
compileOnly("com.alttd.cosmos:cosmos-api:1.21.6-R0.1-SNAPSHOT") {
compileOnly("com.alttd.cosmos:cosmos-api:1.21.8-R0.1-SNAPSHOT") {
isChanging = true
}
}
group = "com.alttd.altitudeapi"
version = System.getenv("BUILD_NUMBER") ?: gitCommit()
//version = System.getenv("BUILD_NUMBER") ?: gitCommit()
version = "0.0.3"
description = "AltitudeAPI"
apply(plugin = "maven-publish")
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))

View File

@ -3,6 +3,13 @@ rootProject.name = "AltitudeAPI"
dependencyResolutionManagement {
repositories {
mavenCentral()
maven {
name = "AlttdNexus"
url = uri(
"https://repo.alttd.com/repository/alttd-snapshot/"
)
credentials(PasswordCredentials::class)
}
maven("https://repo.destro.xyz/snapshots")
}
}