Skip to content

Commit

Permalink
Improve key security
Browse files Browse the repository at this point in the history
  • Loading branch information
johncordeiro committed Nov 15, 2016
1 parent 24f498f commit f55fbdd
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,16 @@ apply plugin: 'io.fabric'
apply plugin: 'com.google.gms.google-services'
apply plugin: 'me.tatarka.retrolambda'

Properties localProperties = new Properties()
localProperties.load(project.rootProject.file('local.properties').newDataInputStream())

android {
signingConfigs {
signature {
keyAlias 'ureport'
keyPassword 'htaq3XVfSucCEbS'
storeFile file('/Users/john-mac/Documents/Ilhasoft/U-report/signature/ureport.jks')
storePassword 'htaq3XVfSucCEbS'
keyAlias localProperties.getProperty('signature.keyAlias')
keyPassword localProperties.getProperty('signature.keyPassword')
storeFile file(localProperties.getProperty('signature.storeFile'))
storePassword localProperties.getProperty('signature.storePassword')
}
}
lintOptions {
Expand Down

0 comments on commit f55fbdd

Please sign in to comment.