fdroid: build: Use System.getenv instead of keystoreProperties
Reference: https://github.com/stonega/tsacdop/blob/master/android/app/build.gradle
This commit is contained in:
parent
cf50266211
commit
74cf4f5207
|
@ -66,10 +66,14 @@ android {
|
||||||
|
|
||||||
signingConfigs {
|
signingConfigs {
|
||||||
release {
|
release {
|
||||||
keyAlias keystoreProperties['keyAlias']
|
storeFile file(System.getenv("KEYSTORE") ?:"keystore.jks")
|
||||||
keyPassword keystoreProperties['keyPassword']
|
storePassword System.getenv("KEYSTORE_PASSWORD")
|
||||||
storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
keyAlias System.getenv("KEY_ALIAS")
|
||||||
storePassword keystoreProperties['storePassword']
|
keyPassword System.getenv("KEY_PASSWORD")
|
||||||
|
// keyAlias keystoreProperties['keyAlias']
|
||||||
|
// keyPassword keystoreProperties['keyPassword']
|
||||||
|
// storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
|
||||||
|
// storePassword keystoreProperties['storePassword']
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
Loading…
Reference in New Issue