2015-11-14 01:12:55 +01:00
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
|
2018-09-20 15:35:55 +02:00
|
|
|
repositories {
|
2018-12-02 12:49:19 +01:00
|
|
|
maven {
|
|
|
|
name = 'bstats repo'
|
|
|
|
url = 'https://repo.codemc.org/repository/maven-public'
|
|
|
|
}
|
2018-09-20 15:35:55 +02:00
|
|
|
}
|
2015-11-14 01:12:55 +01:00
|
|
|
|
|
|
|
dependencies {
|
2019-04-29 03:06:12 +02:00
|
|
|
compile project(path: ':worldguard-core', configuration: 'shadow')
|
2019-05-21 05:48:50 +02:00
|
|
|
api 'org.bukkit:bukkit:1.14.2-R0.1-SNAPSHOT'
|
2019-06-13 14:53:49 +02:00
|
|
|
api ('com.sk89q.worldedit:worldedit-bukkit:7.0.1-SNAPSHOT') {
|
2019-06-04 06:00:12 +02:00
|
|
|
exclude group: 'io.papermc', module: 'paperlib'
|
|
|
|
}
|
2019-04-29 02:36:28 +02:00
|
|
|
implementation ('com.sk89q:commandbook:2.3') {
|
2016-06-11 07:22:40 +02:00
|
|
|
exclude group: 'com.sk89q', module: 'worldedit'
|
|
|
|
exclude group: 'com.zachsthings.libcomponents'
|
2019-04-29 02:36:28 +02:00
|
|
|
exclude group: 'org.bukkit'
|
2019-06-04 06:00:12 +02:00
|
|
|
exclude group: 'net.sf.opencsv'
|
2016-06-11 07:22:40 +02:00
|
|
|
}
|
2019-06-13 14:53:49 +02:00
|
|
|
implementation 'org.bstats:bstats-bukkit:1.5'
|
2015-11-14 01:12:55 +01:00
|
|
|
}
|
|
|
|
|
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'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-12-26 05:32:35 +01:00
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes("Implementation-Version": version)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
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") {
|
2019-06-13 14:53:49 +02:00
|
|
|
include(dependency("org.bstats:bstats-bukkit:1.5"))
|
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')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
build.dependsOn(shadowJar)
|