mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-11-14 08:23:32 +00:00
51 lines
1.4 KiB
Groovy
51 lines
1.4 KiB
Groovy
apply plugin: 'eclipse'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'maven'
|
|
|
|
repositories {
|
|
maven { url "https://hub.spigotmc.org/nexus/content/groups/public" }
|
|
maven { url "https://jitpack.io" }
|
|
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':worldedit-core')
|
|
compile 'com.sk89q:dummypermscompat:1.8'
|
|
compile 'org.bukkit:bukkit:1.13-R0.1-SNAPSHOT' // zzz
|
|
compile 'org.bstats.bStats-Metrics:bstats-bukkit:1.3'
|
|
compile "io.papermc:paperlib:1.0.1"
|
|
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'))
|
|
relocate ("org.bstats", "com.sk89q.worldedit.bukkit.bstats") {
|
|
include(dependency("org.bstats.bStats-Metrics:bstats-bukkit:1.3"))
|
|
}
|
|
relocate ("io.papermc.lib", "com.sk89q.worldedit.bukkit.paperlib") {
|
|
include(dependency("io.papermc:paperlib:1.0.1"))
|
|
}
|
|
}
|
|
}
|
|
|
|
build.dependsOn(shadowJar)
|