Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #196 from Sonicadvance1/gradle-buildoptions
Pass our signing information to gradle by argument.
  • Loading branch information
Parlane committed Mar 22, 2014
2 parents 89efec6 + d85b8af commit b579491
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Source/Android/build.gradle
Expand Up @@ -61,12 +61,11 @@ android {

signingConfigs {
release {
if (System.getenv("KEYSTORE") != null)
{
storeFile file(System.getenv("KEYSTORE"))
storePassword System.getenv("KEYSTORE_PASSWORD")
keyAlias System.getenv("KEY_ALIAS")
keyPassword System.getenv("KEY_PASSWORD")
if (project.hasProperty('keystore')) {
storeFile file(project.property('keystore'))
storePassword project.property('storepass')
keyAlias project.property('keyalias')
keyPassword project.property('keypass')
}
}
}
Expand Down

0 comments on commit b579491

Please sign in to comment.