regression: fixed debug version string appearing in release APKs
This commit is contained in:
parent
75fe77f9d4
commit
bfcc8cb306
1 changed files with 5 additions and 1 deletions
|
|
@ -102,7 +102,6 @@ android {
|
||||||
buildConfigField 'String', 'DICTIONARY_EXTENSION', "\"${DICTIONARY_OUTPUT_EXTENSION}\""
|
buildConfigField 'String', 'DICTIONARY_EXTENSION', "\"${DICTIONARY_OUTPUT_EXTENSION}\""
|
||||||
buildConfigField 'String', 'DOCS_DIR', "\"${DOCS_DIR_NAME}\""
|
buildConfigField 'String', 'DOCS_DIR', "\"${DOCS_DIR_NAME}\""
|
||||||
buildConfigField 'String', 'DONATION_URL', "\"${getDonationUrl()}\""
|
buildConfigField 'String', 'DONATION_URL', "\"${getDonationUrl()}\""
|
||||||
buildConfigField 'String', 'VERSION_FULL', "\"${getVersionString('debug')}\""
|
|
||||||
|
|
||||||
// F-droid hacks
|
// F-droid hacks
|
||||||
dependenciesInfo.includeInApk false
|
dependenciesInfo.includeInApk false
|
||||||
|
|
@ -110,7 +109,12 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
debug {
|
||||||
|
buildConfigField 'String', 'VERSION_FULL', "\"${getVersionString('debug')}\""
|
||||||
|
}
|
||||||
release {
|
release {
|
||||||
|
buildConfigField 'String', 'VERSION_FULL', "\"${getVersionString('release')}\""
|
||||||
|
|
||||||
debuggable false
|
debuggable false
|
||||||
jniDebuggable false
|
jniDebuggable false
|
||||||
minifyEnabled true
|
minifyEnabled true
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue