mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-04 20:06:06 +00:00
6c03eea9b1
Since spigot like pulling the rug out from under us. Fixes WORLDEDIT-3400.
43 lines
1.0 KiB
Groovy
43 lines
1.0 KiB
Groovy
apply plugin: 'eclipse'
|
|
apply plugin: 'idea'
|
|
|
|
repositories {
|
|
maven { url "https://hub.spigotmc.org/nexus/content/groups/public" }
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':worldedit-core')
|
|
compile 'com.sk89q:dummypermscompat:1.8'
|
|
compile 'org.bukkit:bukkit:1.8.8-R0.1-SNAPSHOT' // zzz
|
|
testCompile 'org.mockito:mockito-core:1.9.0-rc1'
|
|
}
|
|
|
|
processResources {
|
|
from (sourceSets.main.resources.srcDirs) {
|
|
expand 'internalVersion': project.internalVersion
|
|
include 'plugin.yml'
|
|
}
|
|
|
|
from (sourceSets.main.resources.srcDirs) {
|
|
exclude 'plugin.yml'
|
|
}
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes("Class-Path": "truezip.jar WorldEdit/truezip.jar js.jar WorldEdit/js.jar",
|
|
"WorldEdit-Version": version)
|
|
}
|
|
}
|
|
|
|
shadowJar {
|
|
dependencies {
|
|
include(dependency(':worldedit-core'))
|
|
include(dependency('com.google.code.gson:gson:2.2.4'))
|
|
}
|
|
|
|
relocate('com.google.gson', 'com.sk89q.worldedit.internal.gson')
|
|
}
|
|
|
|
build.dependsOn(shadowJar)
|