forked from I2P_Developers/i2p.i2p
Build: Add translations to gradle build (part 2 - wars)
Several fixes for i2ptunnel gradle build
This commit is contained in:
@@ -6,6 +6,7 @@ sourceSets {
|
||||
main {
|
||||
java {
|
||||
srcDir 'src/java/src'
|
||||
srcDir 'src/build/messages-src'
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -15,6 +16,16 @@ dependencies {
|
||||
providedCompile project(':apps:jetty')
|
||||
}
|
||||
|
||||
// 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 {
|
||||
println "apps/susidns/src/bundle-messages.sh".execute().text
|
||||
}
|
||||
}
|
||||
war.dependsOn bundle
|
||||
|
||||
war {
|
||||
from 'src/jsp'
|
||||
from 'src/index.html'
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#
|
||||
# zzz - public domain
|
||||
#
|
||||
cd `dirname $0`
|
||||
CLASS=i2p.susi.dns.messages
|
||||
TMPFILE=tmp/javafiles.txt
|
||||
export TZ=UTC
|
||||
|
||||
Reference in New Issue
Block a user