mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-19 14:59:19 +00:00
112 lines
4.2 KiB
Plaintext
112 lines
4.2 KiB
Plaintext
plugins {
|
|
id("buildlogic.java-common-conventions")
|
|
id("buildlogic.java-shadow-conventions")
|
|
}
|
|
|
|
repositories {
|
|
maven("https://nexus.betonquest.org/repository/betonquest/")
|
|
maven("https://repo.codemc.io/repository/maven-public/")
|
|
maven("https://jitpack.io")
|
|
maven("https://repo.dmulloy2.net/repository/public/")
|
|
}
|
|
|
|
dependencies {
|
|
implementation(project(":api"))
|
|
implementation(project(":folia"))
|
|
implementation(project(":integrations"))
|
|
|
|
testImplementation("com.github.seeseemelk:MockBukkit-v1.21:3.133.2")
|
|
testImplementation("org.reflections:reflections:0.10.2")
|
|
|
|
implementation("org.incendo:cloud-paper:2.0.0-beta.13") {
|
|
exclude("org.checkerframework")
|
|
exclude("net.kyori")
|
|
}
|
|
implementation("org.incendo:cloud-annotations:2.0.0") {
|
|
exclude("org.checkerframework")
|
|
}
|
|
implementation("org.incendo:cloud-minecraft-extras:2.0.0-beta.13") {
|
|
exclude("org.checkerframework")
|
|
exclude("net.kyori")
|
|
}
|
|
implementation("org.incendo:cloud-processors-confirmation:1.0.0-rc.1") {
|
|
exclude("org.checkerframework")
|
|
exclude("net.kyori")
|
|
}
|
|
|
|
implementation("net.wesjd:anvilgui:1.10.10-SNAPSHOT") // anvilgui
|
|
implementation("com.github.stefvanschie.inventoryframework:IF:0.11.5") // inventory framework
|
|
implementation("co.aikar:idb-core:1.0.0-SNAPSHOT") // database
|
|
implementation("org.bstats:bstats-bukkit:3.0.2") // plugin stats
|
|
implementation("io.papermc:paperlib:1.0.7") // paperlib - async teleport on Paper
|
|
|
|
compileOnly("org.spigotmc:spigot-api:${properties["spigot_version"]}")
|
|
compileOnly("com.github.ben-manes.caffeine:caffeine:3.2.3") { // IMPLEMENTED VIA LIBRARIES
|
|
exclude("org.checkerframework")
|
|
}
|
|
compileOnly("com.sk89q.worldguard:worldguard-bukkit:${properties["worldguard_version"]}") {
|
|
exclude("com.destroystokyo.paper")
|
|
exclude("org.spigotmc")
|
|
exclude("com.google")
|
|
}
|
|
compileOnly("com.sk89q.worldedit:worldedit-bukkit:${properties["worldedit_version"]}") {
|
|
exclude("com.google")
|
|
exclude("org.bukkit")
|
|
exclude("org.spigotmc")
|
|
}
|
|
compileOnly("org.flywaydb:flyway-core:11.3.0") // IMPLEMENTED VIA LIBRARIES - db migration
|
|
compileOnly("org.flywaydb:flyway-mysql:11.3.0") // IMPLEMENTED VIA LIBRARIES
|
|
//compileOnly 'com.zaxxer:HikariCP:2.4.1' // IMPLEMENTED VIA LIBRARIES - database
|
|
compileOnly("me.clip:placeholderapi:2.11.6") // PAPI
|
|
compileOnly("com.github.MilkBowl:VaultAPI:1.7") { // vault
|
|
exclude("org.bukkit")
|
|
}
|
|
compileOnly("com.alonsoaliaga.alonsolevels:api:2.2.4") // alonsolevels
|
|
compileOnly("me.blackvein.quests:quests-api:4.8.2") // quests
|
|
compileOnly("me.blackvein.quests:quests-core:4.8.2") // quests
|
|
compileOnly("org.betonquest:betonquest:2.1.3") {
|
|
isTransitive = false // temp-fix for a transitive dependency not being findable
|
|
exclude("org.bstats")
|
|
exclude("org.apache.commons")
|
|
}
|
|
compileOnly("net.Indyuce:MMOCore-API:1.11.0-SNAPSHOT")
|
|
compileOnly("com.github.shynixn.headdatabase:hdb-api:1.0") // head database
|
|
compileOnly("com.github.plan-player-analytics:Plan:5.6.2883") // plan
|
|
compileOnly("io.lumine:Mythic-Dist:5.3.5") {
|
|
exclude("org.apache.commons")
|
|
exclude("com.google")
|
|
}
|
|
compileOnly("us.dynmap:DynmapCoreAPI:3.7-SNAPSHOT") // Dynmap
|
|
compileOnly("com.comphenix.protocol:ProtocolLib:5.1.0") {
|
|
exclude("net.kyori")
|
|
}
|
|
compileOnly("com.ryandw11:CustomStructures:1.9.0")
|
|
}
|
|
|
|
configurations.all {
|
|
exclude("commons-io")
|
|
exclude("commons-codec")
|
|
}
|
|
|
|
tasks {
|
|
javadoc {
|
|
exclude("net/islandearth/rpgregions/translation/**")
|
|
exclude("net/islandearth/rpgregions/listener/**")
|
|
exclude("net/islandearth/rpgregions/gson/**")
|
|
exclude("net/islandearth/rpgregions/commands/**")
|
|
exclude("net/islandearth/rpgregions/utils/**")
|
|
}
|
|
|
|
compileJava {
|
|
options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything
|
|
}
|
|
|
|
shadowJar {
|
|
archiveBaseName.set("rpgregions-2")
|
|
minimize {
|
|
exclude(project(":integrations"))
|
|
exclude(dependency("net.wesjd:anvilgui:1.10.8-SNAPSHOT"))
|
|
}
|
|
}
|
|
}
|