mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 21:56:33 +01:00
ebc7ba43e6
Fix biome change not sending packet Add optimized biome get and set (AsyncWorld, EditSession etc.) Add undo for biome changes Fix tile entities for slow (non NMS) bukkit queue Translate some stuff Fix some concurrency issues with autoqueue cuboid region geChunks() now has fixed memory cost (applies to commands e.g. //listchunks) Fix some undo issues
45 lines
1.3 KiB
Groovy
45 lines
1.3 KiB
Groovy
repositories {
|
|
flatDir {dirs 'lib'}
|
|
}
|
|
dependencies {
|
|
compile project(':core')
|
|
compile 'cn.nukkit:nukkit:1.0-SNAPSHOT'
|
|
compile name: 'worldedit-core-6.1.4-SNAPSHOT-dist'
|
|
}
|
|
|
|
processResources {
|
|
from('src/main/resources') {
|
|
include 'plugin.yml'
|
|
expand(
|
|
name: project.parent.name,
|
|
version: project.parent.version
|
|
)
|
|
}
|
|
}
|
|
|
|
apply plugin: 'com.github.johnrengelman.shadow'
|
|
// We only want the shadow jar produced
|
|
jar.enabled = false
|
|
shadowJar {
|
|
dependencies {
|
|
include(dependency('com.github.luben:zstd-jni:1.1.1'))
|
|
include(dependency('co.aikar:fastutil-lite:1.0'))
|
|
include(dependency(name: 'worldedit-core-6.1.4-SNAPSHOT-dist'))
|
|
include(dependency('com.google.code.gson:gson:2.2.4'))
|
|
include(dependency('org.yaml:snakeyaml:1.16'))
|
|
include(dependency('com.google.guava:guava:17.0'))
|
|
include(dependency(':core'))
|
|
}
|
|
archiveName = "${parent.name}-${project.name}-${parent.version}.jar"
|
|
destinationDir = file '../target'
|
|
|
|
relocate('com.google.gson', 'com.sk89q.worldedit.internal.gson')
|
|
relocate 'org.yaml.snakeyaml', 'com.boydti.fawe.yaml'
|
|
relocate 'com.google.common', 'com.sk89q.worldedit.internal.common'
|
|
}
|
|
shadowJar.doLast {
|
|
task ->
|
|
ant.checksum file: task.archivePath
|
|
}
|
|
|
|
build.dependsOn(shadowJar); |