From 20206e5661ed3f786ed8b9bcaf1941be9b92a596 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sun, 19 May 2019 02:44:20 +0200 Subject: update gradle version --- app/build.gradle | 25 ++++++++++++++----------- app/src/main/AndroidManifest.xml | 3 --- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'app') 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 @@ - -- cgit v1.2.3