mirror of
https://github.com/janoodleFTW/timy-messenger.git
synced 2026-01-23 02:14:39 +00:00
Set signing key to debug by default
This commit is contained in:
parent
46effc5e50
commit
9dce7e94db
2 changed files with 14 additions and 9 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue