2015-11-14 01:12:55 +01:00
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
|
2018-09-20 15:35:55 +02:00
|
|
|
repositories {
|
2018-10-10 12:33:18 +02:00
|
|
|
maven { url "https://jitpack.io" }
|
2018-09-20 15:35:55 +02:00
|
|
|
}
|
2015-11-14 01:12:55 +01:00
|
|
|
|
|
|
|
dependencies {
|
2018-07-19 16:06:02 +02:00
|
|
|
compile project(':worldguard-core')
|
2018-07-22 12:43:06 +02:00
|
|
|
compile 'org.bukkit:bukkit:1.13-R0.1-SNAPSHOT'
|
2018-07-19 16:06:02 +02:00
|
|
|
compile 'com.sk89q.worldedit:worldedit-bukkit:7.0.0-SNAPSHOT'
|
2016-06-11 07:22:40 +02:00
|
|
|
compile ('com.sk89q:commandbook:2.3') {
|
|
|
|
exclude group: 'com.sk89q', module: 'worldedit'
|
|
|
|
exclude group: 'com.zachsthings.libcomponents'
|
|
|
|
}
|
2018-10-10 15:24:16 +02:00
|
|
|
compile 'org.bstats.bStats-Metrics:bstats-bukkit:1.3'
|
2015-11-14 01:12:55 +01:00
|
|
|
testCompile 'junit:junit:4.11'
|
|
|
|
testCompile 'org.hamcrest:hamcrest-library:1.2.1'
|
|
|
|
}
|
|
|
|
|
2016-01-11 07:04:59 +01:00
|
|
|
processResources {
|
|
|
|
from (sourceSets.main.resources.srcDirs) {
|
|
|
|
expand project.properties
|
|
|
|
include 'plugin.yml'
|
|
|
|
}
|
|
|
|
|
|
|
|
from (sourceSets.main.resources.srcDirs) {
|
|
|
|
exclude 'plugin.yml'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-11-14 01:12:55 +01:00
|
|
|
shadowJar {
|
|
|
|
dependencies {
|
2018-07-19 16:06:02 +02:00
|
|
|
include(dependency(':worldguard-core'))
|
2018-09-20 15:35:55 +02:00
|
|
|
relocate ("org.bstats", "com.sk89q.worldguard.bukkit.bstats") {
|
2018-10-10 12:33:18 +02:00
|
|
|
include(dependency("org.bstats.bStats-Metrics:bstats-bukkit:1.3"))
|
2018-09-20 15:35:55 +02:00
|
|
|
}
|
2015-11-14 01:12:55 +01:00
|
|
|
}
|
2016-06-11 07:22:40 +02:00
|
|
|
|
2015-11-14 01:12:55 +01:00
|
|
|
relocate('org.flywaydb', 'com.sk89q.worldguard.internal.flywaydb')
|
|
|
|
relocate('com.sk89q.squirrelid', 'com.sk89q.worldguard.util.profile')
|
|
|
|
relocate('org.json.simple', 'com.sk89q.worldguard.util.jsonsimple')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
build.dependsOn(shadowJar)
|