Mercurial > 510Connectbot
comparison app/build.gradle @ 441:592f0ef08d94
migrate from Eclipse to Android Studio
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Thu, 03 Dec 2015 12:13:52 -0800 |
parents | 1e3789de6900 |
children | ced663d2e957 |
comparison
equal
deleted
inserted
replaced
440:1e3789de6900 | 441:592f0ef08d94 |
---|---|
42 } | 42 } |
43 | 43 |
44 android.signingConfigs { | 44 android.signingConfigs { |
45 create("signed") { | 45 create("signed") { |
46 def console = System.console() | 46 def console = System.console() |
47 if (!console) console = System.in | 47 if (console) { |
48 storePassword = new String(console.readPassword("\nkey store password: ")) | |
49 keyPassword = new String(console.readPassword("\nkey alias password: ")) | |
50 } | |
51 else { | |
52 def read = System.in.newReader().&readLine | |
53 storePassword = read() | |
54 keyPassword = read() | |
55 } | |
48 storeFile = file("../510Connectbot.keystore") | 56 storeFile = file("../510Connectbot.keystore") |
49 storePassword = new String(console.readPassword("\n\$ Enter keystore password: ")) | |
50 storeType = "jks" | 57 storeType = "jks" |
51 keyAlias = "510Connectbot" | 58 keyAlias = "510Connectbot" |
52 keyPassword = new String(console.readPassword("\n\$ Enter key password: ")) | 59 signConf = it |
53 signConf = it | |
54 } | 60 } |
55 } | 61 } |
56 | 62 |
57 android.buildTypes { | 63 android.buildTypes { |
58 release { | 64 release { |