9
0
mirror of https://gitlab.com/SamB440/rpgregions-2.git synced 2026-01-04 15:31:38 +00:00
Files
rpgregions-2/modern/build.gradle.kts
2022-01-08 16:20:10 +00:00

29 lines
987 B
Plaintext

plugins {
id("java")
}
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 {
testImplementation("junit:junit:4.12")
implementation("net.islandearth:languagy:2.0.4-SNAPSHOT") // languagy
compileOnly("com.sk89q.worldguard:worldguard-bukkit:7.0.4-SNAPSHOT") {
exclude("com.destroystokyo.paper")
exclude("org.spigotmc")
}
compileOnly("org.spigotmc:spigot-api:1.17.1-R0.1-SNAPSHOT") // spigot
compileOnly(":Residence4.9.2.2") // residence
compileOnly(":GriefPrevention") // griefprevention
if (ultraRegionsSupport) compileOnly(":UltraRegions") // ultraregions
compileOnly("org.jetbrains:annotations:22.0.0")
compileOnly(project(":api"))
compileOnly(project(":rpgregions"))
}