9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2025-12-31 04:36:29 +00:00
Files
rpgregions-2/modern/build.gradle.kts
2022-06-09 12:40:51 +01:00

23 lines
834 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
if (ultraRegionsSupport) compileOnly(":UltraRegions") // ultraregions
}