mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-26 04:25:31 +01:00
e5a75f25e1
and trigger the updates on chunk-save-events rather than world-save-events if possible to make it more reliable.
42 lines
1.5 KiB
Groovy
42 lines
1.5 KiB
Groovy
dependencies {
|
|
shadow "org.spongepowered:spongeapi:7.3.0"
|
|
|
|
compile group: 'org.bstats', name: 'bstats-sponge-lite', version: '1.5'
|
|
|
|
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: 'javax.inject'
|
|
exclude group: 'com.google.inject'
|
|
}
|
|
}
|
|
|
|
build.dependsOn shadowJar {
|
|
destinationDir = file '../../build/release'
|
|
archiveFileName = "BlueMap-${version}-sponge-7.3.0.jar"
|
|
|
|
relocate 'net.querz.nbt', 'de.bluecolored.shadow.querz.nbt'
|
|
relocate 'org.apache.commons.io', 'de.bluecolored.shadow.apache.commons.io'
|
|
relocate 'com.mojang.brigadier', 'de.bluecolored.shadow.mojang.brigadier'
|
|
relocate 'com.github.benmanes.caffeine', 'de.bluecolored.shadow.benmanes.caffeine'
|
|
relocate 'com.google.errorprone', 'de.bluecolored.shadow.google.errorprone'
|
|
relocate 'ninja.leaping.configurate', 'de.bluecolored.shadow.ninja.leaping.configurate'
|
|
relocate 'org.aopalliance', 'de.bluecolored.shadow.aopalliance'
|
|
relocate 'com.typesafe.config', 'de.bluecolored.shadow.typesafe.config'
|
|
relocate 'org.checkerframework', 'de.bluecolored.shadow.checkerframework'
|
|
relocate 'org.codehaus', 'de.bluecolored.shadow.codehaus'
|
|
}
|
|
|
|
processResources {
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
include 'mcmod.info'
|
|
|
|
expand (
|
|
version: project.version
|
|
)
|
|
}
|
|
}
|