Update build script
This commit is contained in:
parent
05d7860aaa
commit
48c0f9ce39
|
@ -2,9 +2,6 @@ build
|
|||
.gradle
|
||||
.idea
|
||||
|
||||
buildSrc/.gradle
|
||||
buildSrc/build
|
||||
|
||||
common/.gradle
|
||||
common/build
|
||||
|
||||
|
|
|
@ -25,7 +25,9 @@ subprojects {
|
|||
apply(plugin = "java-library")
|
||||
|
||||
repositories {
|
||||
maven("https://repo.crazycrew.us/releases")
|
||||
maven("https://repo.crazycrew.us/snapshots/")
|
||||
|
||||
maven("https://repo.crazycrew.us/releases/")
|
||||
|
||||
maven("https://jitpack.io/")
|
||||
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
dependencies {
|
||||
compileOnlyApi(libs.config) {
|
||||
compileOnlyApi(libs.bundles.adventure)
|
||||
|
||||
compileOnly(libs.clusterApi5)
|
||||
|
||||
api(libs.configme) {
|
||||
exclude(group = "org.yaml", module = "snakeyaml")
|
||||
}
|
||||
|
||||
compileOnly(libs.cluster.api)
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
[versions]
|
||||
kyori_version = "4.14.0"
|
||||
|
||||
cluster_version = "4.1.2"
|
||||
configurate4 = "4.1.2"
|
||||
adventure4 = "4.14.0"
|
||||
cluster5 = "5.2"
|
||||
|
||||
[plugins]
|
||||
hangar = { id = "io.papermc.hangar-publish-plugin", version = "0.1.0" }
|
||||
|
@ -12,27 +12,26 @@ runpaper = { id = "xyz.jpenilla.run-paper", version = "2.2.2" }
|
|||
shadowjar = { id = "com.github.johnrengelman.shadow", version = "8.1.1" }
|
||||
|
||||
[libraries]
|
||||
adventure = { module = "net.kyori:adventure-api", version.ref = "kyori_version" }
|
||||
minimessage = { module = "net.kyori:adventure-text-minimessage", version.ref = "kyori_version" }
|
||||
adventure4 = { module = "net.kyori:adventure-api", version.ref = "adventure4" }
|
||||
minimessage4 = { module = "net.kyori:adventure-text-minimessage", version.ref = "adventure4" }
|
||||
|
||||
cluster_paper = { module = "com.ryderbelserion.cluster.paper:cluster-paper", version.ref = "cluster_version" }
|
||||
cluster_api = { module = "com.ryderbelserion.cluster.api:cluster-api", version.ref = "cluster_version" }
|
||||
cluster5 = { module = "com.ryderbelserion.cluster:paper", version.ref = "cluster5" }
|
||||
clusterApi5 = { module = "com.ryderbelserion.cluster:api", version.ref = "cluster5" }
|
||||
|
||||
configurate4-yaml = { module = "org.spongepowered:configurate-yaml", version.ref = "configurate4" }
|
||||
|
||||
hikari = { module = "com.zaxxer:HikariCP", version = "5.1.0" }
|
||||
|
||||
vault = { module = "com.github.MilkBowl:VaultAPI", version = "1.7.1" }
|
||||
|
||||
config = { module = "ch.jalu:configme", version = "1.4.1" }
|
||||
configme = { module = "ch.jalu:configme", version = "1.4.1" }
|
||||
|
||||
metrics = { module = "org.bstats:bstats-bukkit", version = "3.0.2" }
|
||||
bstats = { module = "org.bstats:bstats-bukkit", version = "3.0.2" }
|
||||
|
||||
itemsadder = { module = "com.github.LoneDev6:api-itemsadder", version = "3.6.1" }
|
||||
oraxen = { module = "io.th0rgal:oraxen", version = "1.164.0" }
|
||||
commandApi = { module = "dev.jorel:commandapi-bukkit-shade", version = "9.3.0" }
|
||||
commandAnnotations = { module = "dev.jorel:commandapi-annotations", version = "9.3.0" }
|
||||
|
||||
holographicdisplays = { module = "me.filoghost.holographicdisplays:holographicdisplays-api", version = "3.0.0" }
|
||||
decentholograms = { module = "com.github.decentsoftware-eu:decentholograms", version = "2.8.4" }
|
||||
[bundles]
|
||||
adventure = ["adventure4", "minimessage4"]
|
||||
|
||||
placeholderapi = { module = "me.clip:placeholderapi", version = "2.11.4" }
|
||||
|
||||
jorel = { module = "dev.jorel:commandapi-bukkit-shade", version = "9.2.0" }
|
||||
annotations = { module = "dev.jorel:commandapi-annotations", version = "9.2.0" }
|
||||
configurate4 = ["configurate4-yaml"]
|
|
@ -22,15 +22,13 @@ val mcVersion = rootProject.properties["minecraftVersion"] as String
|
|||
dependencies {
|
||||
api(project(":common"))
|
||||
|
||||
implementation(libs.metrics)
|
||||
implementation(libs.bstats)
|
||||
|
||||
compileOnly(libs.cluster.paper)
|
||||
implementation(libs.cluster5)
|
||||
|
||||
annotationProcessor(libs.annotations)
|
||||
annotationProcessor(libs.commandAnnotations)
|
||||
|
||||
compileOnly(libs.annotations)
|
||||
|
||||
compileOnly(libs.jorel)
|
||||
implementation(libs.commandApi)
|
||||
|
||||
compileOnly(libs.vault)
|
||||
|
||||
|
@ -141,7 +139,7 @@ tasks {
|
|||
exclude("META-INF/**")
|
||||
|
||||
listOf(
|
||||
"org.bstats"
|
||||
"org.bstats", "com.ryderbelserion.cluster", "dev.jorel.commandapi"
|
||||
).forEach {
|
||||
relocate(it, "libs.$it")
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue