BlueMap/BlueMapCLI/build.gradle

28 lines
1.2 KiB
Groovy
Raw Permalink Normal View History

dependencies {
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
compile project(':BlueMapCommon')
}
jar {
manifest {
attributes 'Main-Class' : "de.bluecolored.bluemap.cli.BlueMapCLI"
}
}
build.dependsOn shadowJar {
destinationDir = file '../build/release'
archiveFileName = "BlueMap-${version}-cli.jar"
2020-04-20 13:49:56 +02:00
//relocate 'com.flowpowered.math', 'de.bluecolored.shadow.flowpowered.math' //DON'T relocate this, because the API depends on it
relocate 'com.google.common', 'de.bluecolored.shadow.google.common'
relocate 'com.google.gson', 'de.bluecolored.shadow.google.gson'
relocate 'com.google.thirdparty', 'de.bluecolored.shadow.google.thirdparty'
relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config'
relocate 'net.querz.nbt', 'de.bluecolored.shadow.querz.nbt'
relocate 'ninja.leaping.configurate', 'de.bluecolored.shadow.ninja.leaping.configurate'
relocate 'org.apache.commons.cli', 'de.bluecolored.shadow.apache.commons.cli'
relocate 'org.apache.commons.io', 'de.bluecolored.shadow.apache.commons.io'
relocate 'org.apache.commons.lang3', 'de.bluecolored.shadow.apache.commons.lang3'
relocate 'org.bstats.bukkit', 'de.bluecolored.shadow.bstats.bukkit'
relocate 'org.yaml.snakeyaml', 'de.bluecolored.shadow.yaml.snakeyaml'
}