WorldGuard/worldguard-bukkit/build.gradle

56 lines
1.3 KiB
Groovy
Raw Normal View History

apply plugin: 'eclipse'
apply plugin: 'idea'
2018-09-20 15:35:55 +02:00
repositories {
maven {
name = 'bstats repo'
url = 'https://repo.codemc.org/repository/maven-public'
}
2018-09-20 15:35:55 +02: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'
api ('com.sk89q.worldedit:worldedit-bukkit:7.0.1-SNAPSHOT') {
2019-06-04 06:00:12 +02:00
exclude group: 'io.papermc', module: 'paperlib'
}
implementation ('com.sk89q:commandbook:2.3') {
exclude group: 'com.sk89q', module: 'worldedit'
exclude group: 'com.zachsthings.libcomponents'
exclude group: 'org.bukkit'
2019-06-04 06:00:12 +02:00
exclude group: 'net.sf.opencsv'
}
implementation 'org.bstats:bstats-bukkit:1.5'
}
processResources {
from (sourceSets.main.resources.srcDirs) {
expand project.properties
include 'plugin.yml'
}
from (sourceSets.main.resources.srcDirs) {
exclude 'plugin.yml'
}
}
jar {
manifest {
attributes("Implementation-Version": version)
}
}
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") {
include(dependency("org.bstats:bstats-bukkit:1.5"))
2018-09-20 15:35:55 +02:00
}
}
relocate('org.flywaydb', 'com.sk89q.worldguard.internal.flywaydb')
}
build.dependsOn(shadowJar)