Plex-FAWE/worldedit-bukkit/build.gradle

42 lines
967 B
Groovy
Raw Normal View History

2014-12-02 15:02:13 +00:00
apply plugin: 'eclipse'
apply plugin: 'idea'
2018-06-11 13:45:19 +00:00
apply plugin: 'maven'
2014-12-02 15:02:13 +00:00
repositories {
2018-06-11 13:45:19 +00:00
mavenLocal()
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.13-pre7-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'))
}
}
build.dependsOn(shadowJar)