From c0a8673e9f97fbeb565000fe85d2f1ce55f6e8c2 Mon Sep 17 00:00:00 2001 From: Torsten Grote Date: Wed, 16 Sep 2020 10:21:33 -0300 Subject: Make apps work on API 21+ (except cashier that needs 23+) --- wallet/build.gradle | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'wallet/build.gradle') diff --git a/wallet/build.gradle b/wallet/build.gradle index b5720be..02123ee 100644 --- a/wallet/build.gradle +++ b/wallet/build.gradle @@ -45,7 +45,7 @@ android { defaultConfig { applicationId "net.taler.wallet" - minSdkVersion 24 + minSdkVersion 21 targetSdkVersion 29 versionCode 8 versionName "v0.8.0-rc.3" @@ -82,6 +82,9 @@ android { compileOptions { sourceCompatibility = 1.8 targetCompatibility = 1.8 + + // Flag to enable support for the new language APIs for zxing + coreLibraryDesugaringEnabled true } kotlinOptions { @@ -129,6 +132,8 @@ dependencies { // QR codes implementation 'com.journeyapps:zxing-android-embedded:4.0.2@aar' + // needed to support zxing library in taler-kotlin-android on API < 24 + coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10' // Nicer ProgressBar implementation 'me.zhanghai.android.materialprogressbar:library:1.6.1' -- cgit v1.2.3