mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-03 09:29:56 +01:00
37 lines
1.2 KiB
Groovy
37 lines
1.2 KiB
Groovy
dependencies {
|
|
shadow "org.spongepowered:spongeapi:7.1.0-SNAPSHOT"
|
|
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: 'ninja.leaping.configurate', module: 'configurate-hocon'
|
|
exclude group: 'ninja.leaping.configurate', module: 'configurate-gson'
|
|
exclude group: 'ninja.leaping.configurate', module: 'configurate-yaml'
|
|
}
|
|
}
|
|
|
|
build.dependsOn shadowJar {
|
|
destinationDir = file '../build/unsupported'
|
|
archiveFileName = "BlueMap-${version}-sponge.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'
|
|
|
|
minimize()
|
|
}
|
|
|
|
processResources {
|
|
from(sourceSets.main.resources.srcDirs) {
|
|
include 'mcmod.info'
|
|
|
|
expand (
|
|
version: project.version
|
|
)
|
|
}
|
|
}
|