diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle index 2e3ce0c8..6c667e73 100644 --- a/build.gradle +++ b/build.gradle @@ -1,4 +1,5 @@ import au.com.coherentsoftware.gradle.mercurial.task.* +import org.apache.tools.ant.filters.ReplaceTokens buildscript { repositories { @@ -39,8 +40,15 @@ task pullIcsOpenVPN( type: HgPull ) { } task copyIcsOpenVPNClasses( type: Copy ) { - from 'ics-openvpn/main' + from ('ics-openvpn/main') { + include '**/*.java' + include '**/*.aidl' + filter { + line -> line.replaceAll('de.blinkt.openvpn.R', 'se.leap.bitmaskclient.R') + } + filter { + line -> line.replaceAll('de.blinkt.openvpn.BuildConfig', 'se.leap.bitmaskclient.BuildConfig') + } + } into 'app' - include '**/*.java' - include '**/*.aidl' }
\ No newline at end of file |