diff options
author | Parménides GV <parmegv@sdf.org> | 2014-12-20 20:14:23 +0100 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2014-12-23 19:58:02 +0100 |
commit | d6190becb1c48ee912b11a4206116d0fd4c90772 (patch) | |
tree | 1a8d7f85690ce56196855fa969e86b1e53d813f3 /app/build.gradle | |
parent | b1219330faf64b2cd4330d44390fdec137b659b7 (diff) |
Update ics-openvpn to 1006
Diffstat (limited to 'app/build.gradle')
-rw-r--r-- | app/build.gradle | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/app/build.gradle b/app/build.gradle index dc020813..f0ea5ac1 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -66,6 +66,8 @@ task copyIcsOpenVPNClasses( type: Copy ) << { from ('../ics-openvpn-stripped/main/') { include '**/*.java' include '**/*.aidl' + includeEmptyDirs = false + filter { line -> line.replaceAll('de.blinkt.openvpn.R', 'se.leap.bitmaskclient.R') } @@ -92,7 +94,9 @@ task copyIcsOpenVPNXml( type: Copy ) << { include '**/refs.xml' include '**/colours.xml' include '**/logmenu.xml' - + include '**/white_rect.xml' + includeEmptyDirs = false + rename 'strings.xml', 'strings-icsopenvpn.xml' filter { line -> line.replaceAll('.*name="app".*', '') @@ -108,6 +112,8 @@ task copyIcsOpenVPNImages( type: Copy ) << { include '**/ic_share*.png' include '**/ic_close*.png' include '**/ic_edit*.png' + + includeEmptyDirs = false } into '.' } @@ -172,16 +178,16 @@ task mergeUntranslatable( type: Copy, dependsOn: 'removeDuplicatedStrings') << { } task updateIcsOpenVpn( type: Copy, dependsOn: 'mergeUntranslatable') << { - println "updateIcsOpenVpn" from('../ics-openvpn-stripped/main/src/') { - include 'openvpn/**' - include 'openssl/**' - include 'lzo/**' - include 'jni/**' - include 'misc/**' - include 'ovpn3/**' - include 'snappy/**' - } into '.' + include 'openvpn/**/*' + include 'openssl/**/*' + include 'lzo/**/**' + include 'jni/**/*' + include 'misc/**/*' + include 'ovpn3/**/*' + include 'snappy/**/*' + + } into './' } task buildNative ( type: Exec ) { |