]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - build.gradle
Allow to escape only unicode chars
[Dictionary.git] / build.gradle
index aafb2b8562856628d258ed2c6b999c80a33297ce..21bbe741e09e7a1be39024a534223a9b93b0a67c 100644 (file)
@@ -4,7 +4,7 @@ buildscript {
         google()
     }
     dependencies {
-        classpath 'com.android.tools.build:gradle:3.6.2'
+        classpath 'com.android.tools.build:gradle:4.1.1'
     }
 }
 
@@ -28,6 +28,7 @@ dependencies {
         builtBy 'makesmallicu'
     }
     implementation 'com.android.support:preference-v7:25.3.1'
+    coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1'
 }
 
 task makesmallicu (type:Exec, dependsOn: configurations.smallicu) {
@@ -81,8 +82,14 @@ android {
     }
     defaultConfig {
         applicationId 'de.reimardoeffinger.quickdic'
+        multiDexEnabled true
         targetSdkVersion 29
         resConfigs "de", "es", "eu", "fr", "it", "ja", "pt", "pt-rBR", "ru", "zh-rCN"
         minSdkVersion 10
     }
+    compileOptions {
+        coreLibraryDesugaringEnabled true
+        sourceCompatibility JavaVersion.VERSION_1_8
+        targetCompatibility JavaVersion.VERSION_1_8
+    }
 }