2014-12-02 15:02:13 +00:00
|
|
|
apply plugin: 'eclipse'
|
|
|
|
apply plugin: 'idea'
|
|
|
|
|
2014-11-14 19:27:39 +00:00
|
|
|
dependencies {
|
|
|
|
compile project(':worldedit-core')
|
2015-01-11 00:57:53 +00:00
|
|
|
compile 'com.sk89q:dummypermscompat:1.8'
|
|
|
|
compile 'org.sk89q.bukkit:bukkit-classloader-check:1.7.9-R0.2'
|
|
|
|
compile 'org.bukkit:bukkit:1.7.9-R0.2'
|
2014-11-14 19:27:39 +00:00
|
|
|
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)
|