summaryrefslogtreecommitdiff
path: root/wallet/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'wallet/build.gradle')
-rw-r--r--wallet/build.gradle7
1 files changed, 6 insertions, 1 deletions
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'