move the android secrets files in proximity to where they're used
This commit is contained in:
4
android/.gitignore
vendored
4
android/.gitignore
vendored
@@ -1,7 +1,7 @@
|
||||
# Using Android gitignore template: https://github.com/github/gitignore/blob/HEAD/Android.gitignore
|
||||
|
||||
gradle.properties.secrets
|
||||
time-safari-upload-key-pkcs12.jks
|
||||
app/gradle.properties.secrets
|
||||
app/time-safari-upload-key-pkcs12.jks
|
||||
|
||||
# Built application files
|
||||
*.apk
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
// Default values for signing properties
|
||||
project.ext.MY_KEYSTORE_FILE = ""
|
||||
project.ext.MY_KEYSTORE_PASSWORD = ""
|
||||
project.ext.MY_KEY_ALIAS = ""
|
||||
project.ext.MY_KEY_PASSWORD = ""
|
||||
// These are sample values to set in gradle.properties.secrets
|
||||
// MY_KEYSTORE_FILE=time-safari-upload-key-pkcs12.jks
|
||||
// MY_KEYSTORE_PASSWORD=...
|
||||
// MY_KEY_ALIAS=time-safari-key-alias
|
||||
// MY_KEY_PASSWORD=...
|
||||
|
||||
// Try to load from environment variables first
|
||||
project.ext.MY_KEYSTORE_FILE = System.getenv('ANDROID_KEYSTORE_FILE') ?: ""
|
||||
|
||||
Reference in New Issue
Block a user