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() file.parentFile.mkdirs()
} }
if (!file.exists()) { 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) serverJar(file)
minecraftVersion("1.21") minecraftVersion("1.21")
@ -61,8 +61,10 @@ publishing {
configure<PublishingExtension> { configure<PublishingExtension> {
repositories { repositories {
maven { maven {
name = "maven" name = "AlttdNexus"
url = uri("https://repo.destro.xyz/snapshots/") url = uri(
"https://repo.alttd.com/repository/alttd-snapshot/"
)
credentials(PasswordCredentials::class) credentials(PasswordCredentials::class)
} }
} }
@ -70,7 +72,7 @@ publishing {
} }
dependencies { 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") { compileOnly("com.github.milkbowl:VaultAPI:1.7") {
exclude("org.bukkit","bukkit") exclude("org.bukkit","bukkit")
} }
@ -101,7 +103,7 @@ bukkit {
name = rootProject.name name = rootProject.name
main = "$group.${rootProject.name}" main = "$group.${rootProject.name}"
version = "${rootProject.version}-${gitCommit()}" version = "${rootProject.version}-${gitCommit()}"
apiVersion = "1.20" apiVersion = "1.21"
authors = listOf("destro174") authors = listOf("destro174")
depend = listOf("Vault") depend = listOf("Vault")
softDepend = listOf("GriefPrevention") softDepend = listOf("GriefPrevention")

View File

@ -3,7 +3,14 @@ rootProject.name = "PlayerShops"
dependencyResolutionManagement { dependencyResolutionManagement {
repositories { repositories {
mavenCentral() 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 maven("https://jitpack.io") { // Vault
content { content {
includeGroup("com.github.milkbowl") includeGroup("com.github.milkbowl")