Merge pull request #356 from zod/permission-handling
Improve permission handling
This commit is contained in:
commit
c9baec210a
14 changed files with 167 additions and 498 deletions
|
|
@ -16,6 +16,7 @@ android {
|
|||
resValue('string', 'app_version', defaultConfig.versionName)
|
||||
setProperty("archivesBaseName","BRouterApp." + defaultConfig.versionName)
|
||||
|
||||
minSdkVersion 14
|
||||
}
|
||||
|
||||
sourceSets.main.assets.srcDirs += new File(project.buildDir, 'assets')
|
||||
|
|
@ -69,20 +70,18 @@ android {
|
|||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
|
||||
|
||||
flavorDimensions "api"
|
||||
productFlavors {
|
||||
api10 {
|
||||
dimension "api"
|
||||
|
||||
minSdkVersion 10
|
||||
targetSdkVersion 19
|
||||
}
|
||||
api19 {
|
||||
dimension "api"
|
||||
|
||||
minSdkVersion 19
|
||||
targetSdkVersion 30
|
||||
targetSdkVersion 19
|
||||
}
|
||||
api30 {
|
||||
dimension "api"
|
||||
|
||||
targetSdkVersion 30
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -93,7 +92,7 @@ android {
|
|||
|
||||
dependencies {
|
||||
|
||||
api19Implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||
|
||||
implementation project(':brouter-mapaccess')
|
||||
implementation project(':brouter-core')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue