Explicitly enable V2 APK signing

This is already the default for min/max SDK
This commit is contained in:
M66B 2020-09-10 11:08:12 +02:00
parent 8f3bf1ab21
commit 1f302d894e
1 changed files with 2 additions and 8 deletions

View File

@ -88,21 +88,15 @@ android {
exclude 'META-INF/LICENSE.commercial.txt'
}
// https://google.github.io/android-gradle-dsl/current/com.android.build.gradle.internal.dsl.SigningConfig.html
signingConfigs {
release {
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
}
v1 {
storeFile file(keystoreProperties['storeFile'])
storePassword keystoreProperties['storePassword']
keyAlias keystoreProperties['keyAlias']
keyPassword keystoreProperties['keyPassword']
v1SigningEnabled true
v2SigningEnabled false
v2SigningEnabled false
v2SigningEnabled true
}
}