annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
447
2907c688955e add ndk shared object to .apk package
Carl Byington <carl@five-ten-sg.com>
parents: 442
diff changeset
1
454
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
2 apply plugin: 'com.android.application'
438
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3
454
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
4 android {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
5 signingConfigs {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
6 release {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
7 print "\nNo Console\n"
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
8 def read = System.in.newReader().&readLine
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
9 print "\nkey store password"
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
10 storePassword = read()
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
11 print "\nkey alias password"
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
12 keyPassword = read()
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
13 print "\nDone\n"
438
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 storeFile = file("../510Connectbot.keystore")
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 storeType = "jks"
441
592f0ef08d94 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents: 440
diff changeset
16 keyAlias = "510Connectbot"
438
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 }
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 }
457
105815cce146 minimum version android 5, target and compile version api 28
Carl Byington <carl@five-ten-sg.com>
parents: 456
diff changeset
19 compileSdkVersion = 28
454
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
20 buildTypes {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
21 release {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
22 minifyEnabled = false
457
105815cce146 minimum version android 5, target and compile version api 28
Carl Byington <carl@five-ten-sg.com>
parents: 456
diff changeset
23 signingConfig = android.signingConfigs.release
454
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
24 ndk {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
25 debuggable = false
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
26 abiFilters 'armeabi-v7a'
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
27 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
28 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
29 debug {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
30 debuggable = true
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
31 ndk {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
32 debuggable = true
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
33 abiFilters 'armeabi-v7a'
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
34 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
35 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
36 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
37 flavorDimensions "arch"
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
38 productFlavors {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
39 arm {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
40 dimension "arch"
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
41 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
42 x86 {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
43 dimension "arch"
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
44 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
45 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
46 sourceSets {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
47 main {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
48 jni {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
49 srcDir "Exec"
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
50 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
51 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
52 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
53
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
54 defaultConfig {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
55 applicationId = "com.five_ten_sg.connectbot"
457
105815cce146 minimum version android 5, target and compile version api 28
Carl Byington <carl@five-ten-sg.com>
parents: 456
diff changeset
56 minSdkVersion = 21
105815cce146 minimum version android 5, target and compile version api 28
Carl Byington <carl@five-ten-sg.com>
parents: 456
diff changeset
57 targetSdkVersion = 28
454
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
58 ndk {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
59 moduleName = "com_google_ase_Exec"
457
105815cce146 minimum version android 5, target and compile version api 28
Carl Byington <carl@five-ten-sg.com>
parents: 456
diff changeset
60 abiFilters 'armeabi-v7a'
454
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
61 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
62 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
63
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
64 externalNativeBuild {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
65 ndkBuild {
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
66 path "src/main/jni/Android.mk"
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
67 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
68 }
7492d2cb7b75 update to latest toolchain, gradle 4.10.2
Carl Byington <carl@five-ten-sg.com>
parents: 447
diff changeset
69
438
d29cce60f393 migrate from Eclipse to Android Studio
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
70 }