Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-27 03:12:37 +01:00
61 Zeilen
1.7 KiB
Groovy
61 Zeilen
1.7 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://repo.codemc.org/repository/maven-public" }
|
|
maven { url 'https://papermc.io/repo/repository/maven-public/' }
|
|
}
|
|
|
|
configurations.all { Configuration it ->
|
|
it.resolutionStrategy { ResolutionStrategy rs ->
|
|
rs.force("com.google.guava:guava:21.0")
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
compile project(':worldedit-core')
|
|
compile 'com.sk89q:dummypermscompat:1.10'
|
|
compile 'org.bukkit:bukkit:1.13.2-R0.1-SNAPSHOT' // zzz
|
|
compile 'org.bstats:bstats-bukkit:1.4'
|
|
compile "io.papermc:paperlib:1.0.1"
|
|
compile 'org.slf4j:slf4j-jdk14:1.7.26'
|
|
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 {
|
|
relocate "org.slf4j", "com.sk89q.worldedit.slf4j"
|
|
include(dependency(':worldedit-core'))
|
|
include(dependency('org.slf4j:slf4j-api'))
|
|
include(dependency("org.slf4j:slf4j-jdk14"))
|
|
relocate ("org.bstats", "com.sk89q.worldedit.bukkit.bstats") {
|
|
include(dependency("org.bstats:bstats-bukkit:1.4"))
|
|
}
|
|
relocate ("io.papermc.lib", "com.sk89q.worldedit.bukkit.paperlib") {
|
|
include(dependency("io.papermc:paperlib:1.0.1"))
|
|
}
|
|
}
|
|
}
|
|
|
|
build.dependsOn(shadowJar)
|