Increase minSdk to 21

Allows to more easily use new mechanisms added in SDK 21.
Additionally, sdk 19 is not supported either way:
Caused by: java.lang.IllegalStateException: Expected Android API level 21+ but was 19
	at okhttp3.internal.platform.AndroidPlatform.<clinit>(AndroidPlatform.kt:232)
This commit is contained in:
SpiritCroc 2020-05-14 15:42:04 +02:00
parent 7b6a1ed2e7
commit ce48360022

View File

@ -109,7 +109,7 @@ android {
applicationId "de.spiritcroc.riotx" applicationId "de.spiritcroc.riotx"
// Set to API 19 because motionLayout is min API 18. // Set to API 19 because motionLayout is min API 18.
// In the future we may consider using an alternative of MotionLayout to support API 16. But for security reason, maybe not. // In the future we may consider using an alternative of MotionLayout to support API 16. But for security reason, maybe not.
minSdkVersion 19 minSdkVersion 21
targetSdkVersion 29 targetSdkVersion 29
multiDexEnabled true multiDexEnabled true