feat: add signing props to release config build

This commit is contained in:
jubb 2021-11-23 09:26:44 +11:00
parent 5fbace70b5
commit 48b3a5038c
1 changed files with 13 additions and 0 deletions

View File

@ -232,8 +232,21 @@ android {
}
}
signingConfigs {
release {
def props = new Properties()
rootProject.file("signing.properties").withInputStream { props.load(it) }
storeFile file(props["KEYSTORE_FILE"])
storePassword props["KEYSTORE_PASS"]
keyAlias props["KEYSTORE_ALIAS"]
keyPassword props["KEYSTORE_ALIAS_PASS"]
}
}
buildTypes {
release {
signingConfig signingConfigs.release
debuggable true
minifyEnabled false
}
debug {