mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-24 11:38:37 +01:00
bfdf7fa7ce
The bluemap:missing block will be used as fallback if bluemap cant render another block for some reason. The unit tests are just the setup, they will need to catch up over time ^^
32 lines
1.0 KiB
Groovy
32 lines
1.0 KiB
Groovy
dependencies {
|
|
compile 'com.google.guava:guava:21.0'
|
|
compile 'com.google.code.gson:gson:2.8.0'
|
|
compile 'org.apache.commons:commons-lang3:3.5'
|
|
compile group: 'commons-io', name: 'commons-io', version: '2.6'
|
|
compile 'com.flowpowered:flow-math:1.0.3'
|
|
compile 'ninja.leaping.configurate:configurate-hocon:3.3'
|
|
compile 'ninja.leaping.configurate:configurate-gson:3.3'
|
|
compile 'ninja.leaping.configurate:configurate-yaml:3.3'
|
|
compile 'com.github.Querz:NBT:4.0'
|
|
|
|
testCompile 'junit:junit:4.12'
|
|
}
|
|
|
|
task zipWebroot(type: Zip) {
|
|
from fileTree('src/main/webroot')
|
|
archiveName 'webroot.zip'
|
|
destinationDir(file('src/main/resources/'))
|
|
outputs.upToDateWhen { false }
|
|
}
|
|
|
|
task zipResourceExtensions(type: Zip) {
|
|
from fileTree('src/main/resourceExtensions')
|
|
archiveName 'resourceExtensions.zip'
|
|
destinationDir(file('src/main/resources/'))
|
|
outputs.upToDateWhen { false }
|
|
}
|
|
|
|
//always update the zip before build
|
|
compileJava.dependsOn(zipWebroot)
|
|
compileJava.dependsOn(zipResourceExtensions)
|