9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2026-01-06 15:41:35 +00:00
Files
rpgregions-2/modern/build.gradle.kts
2023-01-30 13:02:21 +08:00

24 lines
907 B
Plaintext

val ultraRegionsSupport = (properties.getValue("ultraRegionsSupport") as String).toBoolean()
tasks.compileJava {
if (!ultraRegionsSupport) {
sourceSets.main.get().java.exclude("**/net/islandearth/rpgregions/api/integrations/ultraregions/UltraRegionsIntegration.java")
}
}
dependencies {
implementation(project(":api"))
implementation(project(":rpgregions"))
testImplementation("junit:junit:4.13.2")
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.4-SNAPSHOT") {
exclude("com.destroystokyo.paper")
exclude("org.spigotmc")
}
compileOnly(":Residence4.9.2.2") // residence
compileOnly(":GriefPrevention") // griefprevention
compileOnly("com.github.angeschossen:LandsAPI:6.0.2") // lands
compileOnly("com.griefdefender:api:2.1.0-SNAPSHOT") // GriefDefender
if (ultraRegionsSupport) compileOnly(":UltraRegions") // ultraregions
}