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

@@ -40,7 +40,8 @@ artifacts {
// We don't support the "slow way"
task bundle {
doLast {
println "apps/i2psnark/java/bundle-messages.sh".execute().text
if (!(new File("$buildDir/classes/java/main/org/klomp/snark/web/messages_de.class")).exists())
println "apps/i2psnark/java/bundle-messages.sh".execute().text
}
}
war.dependsOn bundle