Skip to content

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
itkach committed Jan 3, 2017
1 parent f2f4c2e commit 7623ea3
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:1.0+'
classpath 'com.android.tools.build:gradle:2.2.3'
}
}

apply plugin: 'android'
apply plugin: 'com.android.application'
apply plugin: 'eclipse'
apply plugin: 'idea'

Expand Down Expand Up @@ -55,9 +56,12 @@ android {
signingConfigs {
release {
storeFile file(System.getenv("KEYSTORE"))
storePassword new String(System.console().readPassword("\n\$ Keystore password: "))
storePassword System.getenv("STORE_PASSWORD")
keyPassword System.getenv("KEY_PASSWORD")
if (keyPassword == null) {
keyPassword = storePassword
}
keyAlias "aard2-android"
keyPassword new String(System.console().readPassword("\n\$ Key password: "))
}
}
}
Expand Down

0 comments on commit 7623ea3

Please sign in to comment.