Fix signing options
This commit is contained in:
parent
20bc4e12af
commit
e323b2f814
|
|
@ -57,14 +57,14 @@ android {
|
|||
versionCode flutterVersionCode.toInteger()
|
||||
versionName flutterVersionName
|
||||
|
||||
// {% if not cookiecutter.split_per_abi %}
|
||||
// flet: split_per_abi {% if not cookiecutter.split_per_abi %}
|
||||
ndk {
|
||||
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
|
||||
}
|
||||
// {% endif %}
|
||||
// flet: end of split_per_abi {% endif %}
|
||||
}
|
||||
|
||||
// {% if cookiecutter.options.android_signing %}
|
||||
// flet: android_signing {% if cookiecutter.options.android_signing %}
|
||||
signingConfigs {
|
||||
release {
|
||||
keyAlias System.getenv('FLET_ANDROID_SIGNING_KEY_ALIAS')
|
||||
|
|
@ -73,15 +73,15 @@ android {
|
|||
storePassword System.getenv('FLET_ANDROID_SIGNING_KEY_STORE_PASSWORD')
|
||||
}
|
||||
}
|
||||
// {% endif %}
|
||||
// flet: end of android_signing {% endif %}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
// {% if cookiecutter.options.android_signing %}
|
||||
signingConfig signingConfigs.debug
|
||||
// {% else %}
|
||||
// flet: android_signing {% if cookiecutter.options.android_signing %}
|
||||
signingConfig signingConfigs.release
|
||||
// {% endif %}
|
||||
// {% else %}
|
||||
signingConfig signingConfigs.debug
|
||||
// flet: end of android_signing {% endif %}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue