mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-30 20:29:18 +00:00
56 lines
1.5 KiB
Groovy
56 lines
1.5 KiB
Groovy
plugins {
|
|
id 'java'
|
|
}
|
|
|
|
group = pluginGroup
|
|
version = pluginVersion
|
|
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
maven {
|
|
name = 'papermc-repo'
|
|
url = 'https://papermc.io/repo/repository/maven-public/'
|
|
}
|
|
|
|
maven {
|
|
name = 'sonatype'
|
|
url = 'https://oss.sonatype.org/content/groups/public/'
|
|
}
|
|
|
|
maven {
|
|
name = 'CodeMC'
|
|
url = 'https://repo.codemc.org/repository/maven-public'
|
|
}
|
|
|
|
maven { url = "https://repo.aikar.co/content/groups/aikar/" }
|
|
|
|
// worldguard
|
|
maven { url "https://maven.enginehub.org/repo/" }
|
|
|
|
maven { url 'https://jitpack.io' }
|
|
|
|
flatDir { dir '../libraries' }
|
|
}
|
|
|
|
compileJava {
|
|
if (!ultraRegionsSupport) sourceSets.main.java.exclude "**/net/islandearth/rpgregions/api/integrations/ultraregions/UltraRegionsIntegration.java"
|
|
}
|
|
|
|
dependencies {
|
|
testCompile 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.13.2-R0.1-SNAPSHOT' // spigot
|
|
compileOnly name: 'Residence4.9.2.2' // residence
|
|
compileOnly name: 'GriefPrevention' // griefprevention
|
|
if (ultraRegionsSupport) compileOnly name: 'UltraRegions' // ultraregions
|
|
compileOnly project(':api')
|
|
compileOnly project(':rpgregions')
|
|
}
|