Update cosmos repo and cosmos version.

This commit is contained in:
Len 2025-08-02 11:05:24 +02:00
parent 6190c43eb1
commit 33f51eed09
2 changed files with 15 additions and 6 deletions

View File

@ -40,7 +40,7 @@ tasks {
file.parentFile.mkdirs()
}
if (!file.exists()) {
download("https://jenkins.destro.xyz/job/Cosmos/lastSuccessfulBuild/artifact/cosmos-server/build/libs/cosmos-bundler-1.21.6-R0.1-SNAPSHOT-mojmap.jar", fileName)
download("https://jenkins.destro.xyz/job/Cosmos/lastSuccessfulBuild/artifact/cosmos-server/build/libs/cosmos-bundler-1.21.8-R0.1-SNAPSHOT-mojmap.jar", fileName)
}
serverJar(file)
minecraftVersion("1.21")
@ -61,8 +61,10 @@ publishing {
configure<PublishingExtension> {
repositories {
maven {
name = "maven"
url = uri("https://repo.destro.xyz/snapshots/")
name = "AlttdNexus"
url = uri(
"https://repo.alttd.com/repository/alttd-snapshot/"
)
credentials(PasswordCredentials::class)
}
}
@ -70,7 +72,7 @@ publishing {
}
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")
compileOnly("com.github.milkbowl:VaultAPI:1.7") {
exclude("org.bukkit","bukkit")
}
@ -101,7 +103,7 @@ bukkit {
name = rootProject.name
main = "$group.${rootProject.name}"
version = "${rootProject.version}-${gitCommit()}"
apiVersion = "1.20"
apiVersion = "1.21"
authors = listOf("destro174")
depend = listOf("Vault")
softDepend = listOf("GriefPrevention")

View File

@ -3,7 +3,14 @@ rootProject.name = "PlayerShops"
dependencyResolutionManagement {
repositories {
mavenCentral()
maven("https://repo.destro.xyz/snapshots") // Altitude - Galaxy
maven {
name = "AlttdNexus"
url = uri(
"https://repo.alttd.com/repository/alttd-snapshot/"
)
credentials(PasswordCredentials::class)
}
maven("https://repo.destro.xyz/snapshots")
maven("https://jitpack.io") { // Vault
content {
includeGroup("com.github.milkbowl")