mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-01-22 22:10:34 +01:00
update the signing store files
This commit is contained in:
parent
1cc6301afd
commit
48fbf859ea
@ -59,12 +59,11 @@ def propFile = new File('signing.properties')
|
|||||||
if (propFile.canRead()) {
|
if (propFile.canRead()) {
|
||||||
props.load(new FileInputStream(propFile))
|
props.load(new FileInputStream(propFile))
|
||||||
|
|
||||||
if (props != null && props.containsKey('STORE_FILE') && props.containsKey('STORE_PASSWORD') &&
|
if (props != null && props.containsKey('STORE_FILE') && props.containsKey('KEY_ALIAS') && props.containsKey('PASSWORD')) {
|
||||||
props.containsKey('KEY_ALIAS') && props.containsKey('KEY_PASSWORD')) {
|
|
||||||
android.signingConfigs.release.storeFile = file(props['STORE_FILE'])
|
android.signingConfigs.release.storeFile = file(props['STORE_FILE'])
|
||||||
android.signingConfigs.release.storePassword = props['STORE_PASSWORD']
|
android.signingConfigs.release.storePassword = props['PASSWORD']
|
||||||
android.signingConfigs.release.keyAlias = props['KEY_ALIAS']
|
android.signingConfigs.release.keyAlias = props['KEY_ALIAS']
|
||||||
android.signingConfigs.release.keyPassword = props['KEY_PASSWORD']
|
android.signingConfigs.release.keyPassword = props['PASSWORD']
|
||||||
} else {
|
} else {
|
||||||
println 'signing.properties found but some entries are missing'
|
println 'signing.properties found but some entries are missing'
|
||||||
android.buildTypes.release.signingConfig = null
|
android.buildTypes.release.signingConfig = null
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
STORE_FILE=/path/to/your.keystore
|
STORE_FILE=/path/to/your.keystore
|
||||||
STORE_PASSWORD=yourkeypass
|
|
||||||
KEY_ALIAS=projectkeyalias
|
KEY_ALIAS=projectkeyalias
|
||||||
KEY_PASSWORD=yourkeypass
|
PASSWORD=yourpass
|
||||||
|
Loading…
Reference in New Issue
Block a user