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

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