comparison 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
comparison
equal deleted inserted replaced
456:b00031b2d6ac 457:105815cce146
1 task copyDebugLibTask(type: Copy) {
2 from 'build/intermediates/binaries/debug/arm/lib/armeabi'
3 into 'src/main/jniLibs/armeabi'
4 }
5 task copyReleaseLibTask(type: Copy) {
6 from 'build/intermediates/binaries/release/arm/lib/armeabi'
7 into 'src/main/jniLibs/armeabi'
8 }
9
10 tasks.whenTaskAdded { task ->
11 if (task.name.contains("merge") && task.name.contains("JniLibFolders")) {
12 if (task.name.contains("ArmDebug")) {
13 task.dependsOn copyDebugLibTask
14 }
15 if (task.name.contains("ArmRelease")) {
16 task.dependsOn copyReleaseLibTask
17 }
18 }
19 }
20
21 1
22 apply plugin: 'com.android.application' 2 apply plugin: 'com.android.application'
23 3
24 android { 4 android {
25 signingConfigs { 5 signingConfigs {
34 storeFile = file("../510Connectbot.keystore") 14 storeFile = file("../510Connectbot.keystore")
35 storeType = "jks" 15 storeType = "jks"
36 keyAlias = "510Connectbot" 16 keyAlias = "510Connectbot"
37 } 17 }
38 } 18 }
39 compileSdkVersion = 16 19 compileSdkVersion = 28
40 buildTypes { 20 buildTypes {
41 release { 21 release {
42 minifyEnabled = false 22 minifyEnabled = false
43 signingConfig = signingConfigs.release 23 signingConfig = android.signingConfigs.release
44 ndk { 24 ndk {
45 debuggable = false 25 debuggable = false
46 abiFilters 'armeabi-v7a' 26 abiFilters 'armeabi-v7a'
47 } 27 }
48 } 28 }
71 } 51 }
72 } 52 }
73 53
74 defaultConfig { 54 defaultConfig {
75 applicationId = "com.five_ten_sg.connectbot" 55 applicationId = "com.five_ten_sg.connectbot"
76 minSdkVersion = 8 56 minSdkVersion = 21
77 targetSdkVersion = 26 57 targetSdkVersion = 28
78 ndk { 58 ndk {
79 moduleName = "com_google_ase_Exec" 59 moduleName = "com_google_ase_Exec"
60 abiFilters 'armeabi-v7a'
80 } 61 }
81 } 62 }
82 63
83 externalNativeBuild { 64 externalNativeBuild {
84 ndkBuild { 65 ndkBuild {