Increase minSdkVersion to 14 and merge implementations

AndroidX needs at least API level 14 (Ice Cream Sandwich) which was
released 10 years ago and should not exclude many devices. Having a
merged tree simplifies the development.
This commit is contained in:
Manuel Fuhr 2021-10-21 15:56:47 +02:00
parent cf4a188e40
commit 0e04c1a849
9 changed files with 78 additions and 368 deletions

View file

@ -13,6 +13,8 @@ android {
resValue('string', 'app_version', defaultConfig.versionName)
setProperty("archivesBaseName","BRouterApp." + defaultConfig.versionName)
minSdkVersion 14
}
if(project.hasProperty("RELEASE_STORE_FILE")) {
@ -70,13 +72,11 @@ android {
api19 {
dimension "api"
minSdkVersion 10
targetSdkVersion 19
}
api30 {
dimension "api"
minSdkVersion 19
targetSdkVersion 30
}
}
@ -85,7 +85,7 @@ android {
dependencies {
api30Implementation 'androidx.appcompat:appcompat:1.3.1'
implementation 'androidx.appcompat:appcompat:1.3.1'
implementation project(':brouter-mapaccess')
implementation project(':brouter-core')