2019-11-02 17:23:48 +01:00
|
|
|
dependencies {
|
2019-11-15 19:39:21 +01:00
|
|
|
shadow "org.spongepowered:spongeapi:7.1.0-SNAPSHOT"
|
2019-11-12 20:46:00 +01:00
|
|
|
compile group: 'org.bstats', name: 'bstats-sponge-lite', version: '1.5'
|
2020-04-06 16:54:11 +02:00
|
|
|
|
|
|
|
compile (project(':BlueMapCommon')) {
|
|
|
|
//exclude dependencies provided by sponge
|
|
|
|
exclude group: 'com.google.guava', module: 'guava'
|
|
|
|
exclude group: 'com.google.code.gson', module: 'gson'
|
|
|
|
exclude group: 'org.apache.commons', module: 'commons-lang3'
|
|
|
|
exclude group: 'com.flowpowered', module: 'flow-math'
|
|
|
|
exclude group: 'ninja.leaping.configurate', module: 'configurate-hocon'
|
|
|
|
exclude group: 'ninja.leaping.configurate', module: 'configurate-gson'
|
|
|
|
exclude group: 'ninja.leaping.configurate', module: 'configurate-yaml'
|
|
|
|
}
|
2019-11-17 11:55:05 +01:00
|
|
|
}
|
2020-03-30 01:45:32 +02:00
|
|
|
|
|
|
|
build.dependsOn shadowJar {
|
|
|
|
destinationDir = file '../build/release'
|
|
|
|
archiveFileName = "BlueMap-${version}-sponge.jar"
|
|
|
|
|
2020-04-06 16:54:11 +02:00
|
|
|
relocate 'net.querz.nbt', 'de.bluecolored.shadow.querz.nbt'
|
|
|
|
relocate 'org.apache.commons.io', 'de.bluecolored.shadow.apache.commons.io'
|
|
|
|
|
|
|
|
minimize()
|
2020-03-30 01:45:32 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
processResources {
|
|
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
|
|
include 'mcmod.info'
|
|
|
|
|
|
|
|
expand (
|
|
|
|
version: project.version
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|