Build: Add translations to gradle build (part 3 - only rebuild if necessary)

This commit is contained in:
zzz
2021-01-03 10:35:04 -05:00
parent 152ad1659b
commit 2e180d4c60
9 changed files with 24 additions and 12 deletions

View File

@@ -21,7 +21,8 @@ dependencies {
// We don't support the "slow way"
task bundle {
doLast {
println "apps/susidns/src/bundle-messages.sh".execute().text
if (!(new File("$buildDir/classes/java/main/i2p/susi/dns/messages_de.class")).exists())
println "apps/susidns/src/bundle-messages.sh".execute().text
}
}
war.dependsOn bundle