mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-12-01 07:03:52 +01:00
8dfcb0f914
Start work on interactive commands (//help, //biomelist, //pos1/2) Added clipboard and world remapping (between mcpe/pe) //schematic remap //anvil remapall Added anvil -> leveldb converter (run Nukkit jar or /anvil2leveldb) Added safe zstd decompressor Angle mask fixes Fix paste air issues with fawe format (which no-one uses anyway) Fix cfi file:// with an absolute path FIx schematic format and addBlocks Update forge to 1.12 Fixes #663
49 lines
1.5 KiB
Groovy
49 lines
1.5 KiB
Groovy
repositories {
|
|
flatDir {dirs 'lib'}
|
|
}
|
|
dependencies {
|
|
compile project(':core')
|
|
compile group: "cn.nukkit", name: "nukkit", version: "1.0-20170704.231613-609"
|
|
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('org.javassist:javassist:3.22.0-CR1'))
|
|
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'
|
|
manifest {
|
|
attributes("Main-Class": "com.boydti.fawe.nukkit.core.converter.ConverterFrame")
|
|
}
|
|
|
|
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); |