Update to 26.2
This commit is contained in:
parent
10a534b81f
commit
6c5fb6862c
|
|
@ -1,11 +1,11 @@
|
|||
plugins {
|
||||
id("java")
|
||||
id("com.github.johnrengelman.shadow") version "7.1.1"
|
||||
id("com.gradleup.shadow") version "9.6.1"
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
group = "com.alttd"
|
||||
version = "1.1-SNAPSHOT"
|
||||
version = System.getenv("BUILD_NUMBER") ?: "1.1-SNAPSHOT"
|
||||
description = "Altitude Villager Shop plugin."
|
||||
|
||||
apply<JavaLibraryPlugin>()
|
||||
|
|
@ -22,8 +22,8 @@ publishing {
|
|||
name = "nexus"
|
||||
url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
|
||||
credentials {
|
||||
username = project.property("alttdDevPublishUser") as String
|
||||
password = project.property("alttdDevPublishPass") as String
|
||||
username = project.property("alttdSnapshotUsername") as String
|
||||
password = project.property("alttdSnapshotPassword") as String
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -52,9 +52,7 @@ tasks {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
compileOnly("com.alttd.cosmos:cosmos-api:1.21.8-R0.1-SNAPSHOT") {
|
||||
isChanging = true
|
||||
}
|
||||
compileOnly("com.alttd.cosmos:cosmos-api:26.2.build.17-stable")
|
||||
compileOnly("com.github.milkbowl:VaultAPI:1.7") {
|
||||
exclude("org.bukkit","bukkit")
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,20 +1,26 @@
|
|||
rootProject.name = "VillagerShopUI"
|
||||
|
||||
val nexusUser = providers.gradleProperty("alttdDevPublishUser").get()
|
||||
val nexusPass = providers.gradleProperty("alttdDevPublishPass").get()
|
||||
val nexusUser = providers.gradleProperty("alttdSnapshotUsername").orNull ?: System.getenv("NEXUS_USERNAME")
|
||||
val nexusPass = providers.gradleProperty("alttdSnapshotPassword").orNull ?: System.getenv("NEXUS_PASSWORD")
|
||||
|
||||
dependencyResolutionManagement {
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
maven {
|
||||
name = "nexus"
|
||||
url = uri("https://repo.alttd.com/repository/alttd-snapshot/")
|
||||
credentials {
|
||||
username = nexusUser
|
||||
password = nexusPass
|
||||
}
|
||||
}
|
||||
maven {
|
||||
url = uri("https://repo.alttd.com/repository/alttd/")
|
||||
credentials {
|
||||
username = nexusUser
|
||||
password = nexusPass
|
||||
}
|
||||
}
|
||||
maven("https://repo.destro.xyz/snapshots") // Cosmos
|
||||
maven("https://jitpack.io") { // Vault
|
||||
content { includeGroup("com.github.milkbowl") }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user