mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2026-01-04 15:31:38 +00:00
25 lines
989 B
Groovy
25 lines
989 B
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
var compileWithUltraRegions = Boolean.parseBoolean(ultraRegionsSupport)
|
|
compileJava {
|
|
if (!compileWithUltraRegions) sourceSets.main.java.exclude "**/net/islandearth/rpgregions/api/integrations/ultraregions/UltraRegionsIntegration.java"
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation group: 'junit', name: 'junit', version: '4.12'
|
|
implementation 'com.gitlab.samb440:languagy:2.0.3-RELEASE' // languagy
|
|
compileOnly ('com.sk89q.worldguard:worldguard-bukkit:7.0.4-SNAPSHOT') {
|
|
exclude group: 'com.destroystokyo.paper'
|
|
exclude group: 'org.spigotmc'
|
|
}
|
|
compileOnly 'org.spigotmc:spigot-api:1.17-R0.1-SNAPSHOT' // spigot
|
|
compileOnly name: 'Residence4.9.2.2' // residence
|
|
compileOnly name: 'GriefPrevention' // griefprevention
|
|
if (compileWithUltraRegions) compileOnly name: 'UltraRegions' // ultraregions
|
|
compileOnly 'org.jetbrains:annotations:22.0.0'
|
|
compileOnly project(':api')
|
|
compileOnly project(':rpgregions')
|
|
}
|