Skip to content

Commit

Permalink
oo
Browse files Browse the repository at this point in the history
  • Loading branch information
weihuagu committed Apr 9, 2019
1 parent 636812d commit bae7f0e
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
def keystorePropertiesFile = rootProject.file("./app/key.properties")
def keystoreProperties = new Properties()
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))

apply plugin: 'com.android.application'
android {
compileSdkVersion 27
Expand All @@ -12,18 +16,17 @@ android {


signingConfigs{
debug {

}
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}

buildTypes {
debug {

}
release {
signingConfig signingConfigs.release
}
}
lintOptions {
Expand Down

0 comments on commit bae7f0e

Please sign in to comment.