Forked from
I2P Developers / i2p.i2p
1541 commits behind the upstream repository.
build.gradle 654 B
sourceSets {
main {
java {
srcDir 'src'
srcDir 'build/messages-src'
}
}
}
dependencies {
compile project(':core')
compile project(':router')
compile project(':installer')
compile project(':apps:systray')
}
// Create the java files from the po files. The jar task will compile them.
// This requires gettext 0.19 or higher.
// We don't support the "slow way"
task bundle {
doLast {
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