Set signing key to debug by default

This commit is contained in:
Miquel Beltran 2019-10-06 20:14:54 +02:00
parent 46effc5e50
commit 9dce7e94db
2 changed files with 14 additions and 9 deletions

View file

@ -22,4 +22,8 @@ storeFile=../key.jks
Where you set the `storePassword` and the `keyPassword`. You can also change the alias.
You will need to uncomment the section `signingConfigs` in the `app/build.gradle`.
And change the `signingConfig signingConfigs.debug` to `signingConfig signingConfigs.release`.
You can also provide this files from your CI instead of including this in the project.

View file

@ -53,14 +53,15 @@ android {
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
signingConfigs {
release {
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
}
}
// signingConfigs {
// release {
// keyAlias keystoreProperties['keyAlias']
// keyPassword keystoreProperties['keyPassword']
// storeFile file(keystoreProperties['storeFile'])
// storePassword keystoreProperties['storePassword']
// }
// }
buildTypes {
debug {
// app id will be "de.janoodle.circlesApp.debug"
@ -69,7 +70,7 @@ android {
release {
// NOTE: ProGuard is not enabled at the moment
// See: https://flutter.dev/docs/deployment/android to enable it
signingConfig signingConfigs.release
signingConfig signingConfigs.debug
}
}