annotate app/build.gradle @ 31:0bc0b4798d9e

fix saystring(12) command for proper unicode and document it
author Carl Byington <carl@five-ten-sg.com>
date Sun, 28 Apr 2019 14:45:56 -0700
parents e6784ab8964c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
1
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
2 apply plugin: 'com.android.application'
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
3
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
4 android {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
5 signingConfigs {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
6 release {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
7 print "\nNo Console\n"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
8 def read = System.in.newReader().&readLine
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
9 print "\nkey store password"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
10 storePassword = read()
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
11 print "\nkey alias password"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
12 keyPassword = read()
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
13 print "\nDone\n"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
14 storeFile = file("../510Connectbot.keystore")
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
15 storeType = "jks"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
16 keyAlias = "510Connectbot"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
17 }
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
18 }
31
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
19 compileSdkVersion = 28
27
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
20 buildTypes {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
21 release {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
22 minifyEnabled = false
31
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
23 signingConfig = android.signingConfigs.release
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
24 ndk {
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
25 debuggable = false
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
26 abiFilters 'armeabi-v7a', 'arm64-v8a'
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
27 }
27
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
28 }
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
29 debug {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
30 debuggable = true
31
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
31 initWith debug
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
32 jniDebuggable true
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
33 externalNativeBuild {
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
34 ndkBuild {
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
35 cFlags "-DDEBUG=1"
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
36 }
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
37 }
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
38 ndk {
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
39 debuggable = true
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
40 abiFilters 'armeabi-v7a', 'arm64-v8a'
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
41 }
27
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
42 }
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
43 }
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
44 flavorDimensions "arch"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
45 productFlavors {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
46 arm {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
47 dimension "arch"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
48 }
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
49 x86 {
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
50 dimension "arch"
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
51 }
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
52 }
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
53
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
54 defaultConfig {
31
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
55 applicationId = "com.five_ten_sg.connectbot.monitor"
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
56 minSdkVersion 21
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
57 targetSdkVersion 28
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
58 ndk {
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
59 moduleName = "monitor"
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
60 abiFilters 'armeabi-v7a', 'arm64-v8a'
0bc0b4798d9e fix saystring(12) command for proper unicode and document it
Carl Byington <carl@five-ten-sg.com>
parents: 29
diff changeset
61 }
27
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
62 }
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
63
807f7e4eaebe starting update to latest toolchain
Carl Byington <carl@five-ten-sg.com>
parents:
diff changeset
64 }