mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-08-20 04:23:02 +02:00
30 lines
1001 B
Groovy
30 lines
1001 B
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'
|
|
}
|
|
|
|
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)
|