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