Merge pull request #53 from lucasnlm/fdroid-support

Remove dynamic versionCode to support F-Droid
This commit is contained in:
Lucas Nunes 2020-04-16 09:28:03 -03:00 committed by GitHub
commit 78b3330fc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 5 deletions

View file

@ -7,11 +7,11 @@ android {
compileSdkVersion buildVersion.targetSdk
defaultConfig {
// versionCode and versionName must be hardcoded to support F-droid
versionCode 603001
versionName '6.3.0'
minSdkVersion buildVersion.minAppSdk
targetSdkVersion buildVersion.targetSdk
versionCode buildVersion.versionCode
versionName buildVersion.versionName
testInstrumentationRunner 'androidx.test.runner.AndroidJUnitRunner'
}

View file

@ -8,11 +8,12 @@ android {
compileSdkVersion buildVersion.targetSdk
defaultConfig {
// versionCode and versionName must be hardcoded to support F-droid
versionCode 603001
versionName '6.3.0'
applicationId buildVersion.applicationId
minSdkVersion buildVersion.wearMinAppSdk
targetSdkVersion buildVersion.targetSdk
versionCode buildVersion.versionCode
versionName buildVersion.versionName
vectorDrawables.useSupportLibrary true
resConfigs 'en', 'cs', 'de', 'es', 'fr', 'pt', 'ru', 'tr', 'vi', 'uk', 'zh'
}