comparison app/build.gradle @ 440:1e3789de6900

migrate from Eclipse to Android Studio
author Carl Byington <carl@five-ten-sg.com>
date Thu, 03 Dec 2015 11:47:24 -0800
parents d29cce60f393
children 592f0ef08d94
comparison
equal deleted inserted replaced
439:50d28338ae6e 440:1e3789de6900
41 } 41 }
42 } 42 }
43 43
44 android.signingConfigs { 44 android.signingConfigs {
45 create("signed") { 45 create("signed") {
46 def console = System.console()
47 if (!console) console = System.in
46 storeFile = file("../510Connectbot.keystore") 48 storeFile = file("../510Connectbot.keystore")
47 storePassword = new String(System.console().readPassword("\n\$ Enter keystore password: ")) 49 storePassword = new String(console.readPassword("\n\$ Enter keystore password: "))
48 storeType = "jks" 50 storeType = "jks"
49 keyAlias = "510Connectbot" 51 keyAlias = "510Connectbot"
50 keyPassword = new String(System.console().readPassword("\n\$ Enter key password: ")) 52 keyPassword = new String(console.readPassword("\n\$ Enter key password: "))
51 signConf = it 53 signConf = it
52 } 54 }
53 } 55 }
54 56
55 android.buildTypes { 57 android.buildTypes {