diff app/build.gradle @ 457:105815cce146 stable-1.9.3-3

minimum version android 5, target and compile version api 28
author Carl Byington <carl@five-ten-sg.com>
date Tue, 29 Jan 2019 11:21:57 -0800
parents b00031b2d6ac
children a3239022798d
line wrap: on
line diff
--- a/app/build.gradle	Sat Nov 10 12:18:05 2018 -0800
+++ b/app/build.gradle	Tue Jan 29 11:21:57 2019 -0800
@@ -1,23 +1,3 @@
-task copyDebugLibTask(type: Copy) {
-    from 'build/intermediates/binaries/debug/arm/lib/armeabi'
-    into 'src/main/jniLibs/armeabi'
-}
-task copyReleaseLibTask(type: Copy) {
-    from 'build/intermediates/binaries/release/arm/lib/armeabi'
-    into 'src/main/jniLibs/armeabi'
-}
-
-tasks.whenTaskAdded { task ->
-    if (task.name.contains("merge") && task.name.contains("JniLibFolders")) {
-        if (task.name.contains("ArmDebug")) {
-            task.dependsOn copyDebugLibTask
-        }
-        if (task.name.contains("ArmRelease")) {
-            task.dependsOn copyReleaseLibTask
-        }
-    }
-}
-
 
 apply plugin: 'com.android.application'
 
@@ -36,11 +16,11 @@
             keyAlias  = "510Connectbot"
         }
     }
-    compileSdkVersion = 16
+    compileSdkVersion = 28
     buildTypes {
         release {
             minifyEnabled = false
-            signingConfig = signingConfigs.release
+            signingConfig = android.signingConfigs.release
             ndk {
                 debuggable = false
                 abiFilters 'armeabi-v7a'
@@ -73,10 +53,11 @@
 
     defaultConfig {
         applicationId = "com.five_ten_sg.connectbot"
-        minSdkVersion = 8
-        targetSdkVersion = 26
+        minSdkVersion = 21
+        targetSdkVersion = 28
         ndk {
             moduleName = "com_google_ase_Exec"
+            abiFilters 'armeabi-v7a'
         }
     }