diff options
author | cyBerta <cyberta@riseup.net> | 2019-05-19 02:44:20 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2019-05-19 02:44:20 +0200 |
commit | 20206e5661ed3f786ed8b9bcaf1941be9b92a596 (patch) | |
tree | e927cfbc59a112e06905b89aa9a5af32869d3da6 /app | |
parent | 3efba09efb4be74d21d9e8131fdb842255f2b82d (diff) |
update gradle version
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 25 | ||||
-rw-r--r-- | app/src/main/AndroidManifest.xml | 3 |
2 files changed, 14 insertions, 14 deletions
diff --git a/app/build.gradle b/app/build.gradle index dc6e87f6..4ec53aa9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -18,6 +18,8 @@ android { applicationId "se.leap.bitmaskclient" versionCode 137 versionName "0.9.10" + minSdkVersion 16 + targetSdkVersion 27 resValue "string", "app_name", appName vectorDrawables.useSupportLibrary = true buildConfigField 'boolean', 'openvpn3', 'false' @@ -226,7 +228,7 @@ def processFileInplace(file, Closure processText) { file.write(processText(text)) } -task copyIcsOpenVPNClasses( type: Copy ) { +task copyIcsOpenVPNClasses(dependsOn: 'copyIcsOpenVPNFiles', type: Copy ) { println "copyIcsOpenVPNClasses" // from ('../ics-openvpn/main/') { // include '**/LaunchVPN.java' @@ -255,7 +257,7 @@ task copyIcsOpenVPNClasses( type: Copy ) { // } into '.' } -task copyIcsOpenVPNXml( type: Copy ) { +task copyIcsOpenVPNXml(dependsOn: 'copyIcsOpenVPNFiles', type: Copy ) { println "copyIcsOpenVPNXml" from ('../ics-openvpn/main/') { include '**/strings.xml' @@ -272,7 +274,7 @@ task copyIcsOpenVPNXml( type: Copy ) { } into '.' } -task copyIcsOpenVPNImages( type: Copy ) { +task copyIcsOpenVPNImages(dependsOn: 'copyIcsOpenVPNFiles', type: Copy ) { println "copyIcsOpenVPNImages" // from ('../ics-openvpn/main/') { // include '**/ic_filter*.png' @@ -302,7 +304,7 @@ task copyIcsOpenVPNImages( type: Copy ) { } // thanks to http://pleac.sourceforge.net/pleac_groovy/fileaccess.html -task removeDuplicatedStrings() { +def removeDuplicatedStrings() { println "removeDuplicatedStrings" new File('.').eachFileRecurse { if(it.name.equals('strings.xml') || it.name.equals('plurals.xml')) { @@ -325,7 +327,7 @@ def replaceDuplicatesForSource(File it, String type) { } } -task mergeUntranslatable( type: Copy ) { +task mergeUntranslatable(dependsOn: 'copyIcsOpenVPNFiles', type: Copy ) { println "mergeUntranslatable" from ('../ics-openvpn/main/') { include '**/untranslatable.xml' @@ -358,19 +360,20 @@ task mergeUntranslatable( type: Copy ) { delete ics_openvpn_untranslatable } -task copyIcsOpenVPNFiles( type: Copy ) { +task copyIcsOpenVPNFiles(dependsOn: 'updateIcsOpenVpn') { println "copyIcsOpenVPNFiles" - copyIcsOpenVPNClasses.execute() - copyIcsOpenVPNXml.execute() - copyIcsOpenVPNImages.execute() + +/* copyIcsOpenVPNClasses + copyIcsOpenVPNXml + copyIcsOpenVPNImages //mergeUntranslatable.execute() - removeDuplicatedStrings.execute() + removeDuplicatedStrings()*/ } task updateIcsOpenVpn( type: Exec ) { commandLine 'git', 'submodule', 'sync' commandLine 'git', 'submodule', 'update', '--init', '--recursive' - copyIcsOpenVPNFiles.execute() + } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index a6752cf7..86c9a74b 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -17,9 +17,6 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="se.leap.bitmaskclient"> <!-- package is overwritten in build.gradle --> - <uses-sdk - android:minSdkVersion="16" - android:targetSdkVersion="27" /> <uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |