changeset 485:5c2069636dff

update to latest gradle; add foreground permission in manifest
author Carl Byington <carl@five-ten-sg.com>
date Wed, 14 Oct 2020 08:14:23 -0700
parents 2043bbaac86e
children 6751ed7635f6
files app/src/main/AndroidManifest.xml build.gradle gradle/wrapper/gradle-wrapper.properties
diffstat 3 files changed, 8 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/app/src/main/AndroidManifest.xml	Wed Oct 14 08:02:07 2020 -0700
+++ b/app/src/main/AndroidManifest.xml	Wed Oct 14 08:14:23 2020 -0700
@@ -17,16 +17,17 @@
 -->
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 	package="com.five_ten_sg.connectbot"
-	android:versionName="1.9.4-0"
-	android:versionCode="1940"
+	android:versionName="1.9.4-1"
+	android:versionCode="1941"
 	android:installLocation="auto">
 
     <!--  permissions must match HostListActivity.java -->
+	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+	<uses-permission android:name="android.permission.FOREGROUND" />
 	<uses-permission android:name="android.permission.INTERNET" />
 	<uses-permission android:name="android.permission.VIBRATE" />
-	<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
+	<uses-permission android:name="android.permission.WAKE_LOCK" />
 	<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
-	<uses-permission android:name="android.permission.WAKE_LOCK" />
 
 	<permission
 		android:name="org.openintents.ssh.permission.ACCESS_SSH_AGENT"
--- a/build.gradle	Wed Oct 14 08:02:07 2020 -0700
+++ b/build.gradle	Wed Oct 14 08:14:23 2020 -0700
@@ -6,7 +6,7 @@
         google()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:3.6.3'
+        classpath 'com.android.tools.build:gradle:4.0.1'
     }
 }
 
--- a/gradle/wrapper/gradle-wrapper.properties	Wed Oct 14 08:02:07 2020 -0700
+++ b/gradle/wrapper/gradle-wrapper.properties	Wed Oct 14 08:14:23 2020 -0700
@@ -1,6 +1,6 @@
-#Wed Apr 01 16:28:43 PDT 2020
+#Fri Jul 24 17:10:16 PDT 2020
 distributionBase=GRADLE_USER_HOME
 distributionPath=wrapper/dists
 zipStoreBase=GRADLE_USER_HOME
 zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-6.1.1-all.zip