Decrease min sdk when no analytics is enabled
This commit is contained in:
parent
60473c6018
commit
5dc19dd4cb
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,8 @@ android {
|
|||
}
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion System.getenv("MIN_SDK_VERSION") ? System.getenv("MIN_SDK_VERSION").toInteger() : 15
|
||||
minSdkVersion System.getenv("MIN_SDK_VERSION") ? System.getenv("MIN_SDK_VERSION").toInteger() :
|
||||
(analytics ? 15 : 14)
|
||||
targetSdkVersion 26
|
||||
versionCode 300
|
||||
versionCode System.getenv("APK_NUMBER_VERSION") ? System.getenv("APK_NUMBER_VERSION").toInteger() : versionCode
|
||||
|
|
Loading…
Reference in a new issue