X-Git-Url: http://gitweb.fperrin.net/?p=Dictionary.git;a=blobdiff_plain;f=build.gradle;h=21bbe741e09e7a1be39024a534223a9b93b0a67c;hp=aafb2b8562856628d258ed2c6b999c80a33297ce;hb=HEAD;hpb=c76660b2772122109529d3616289980a7084eeeb diff --git a/build.gradle b/build.gradle index aafb2b8..21bbe74 100644 --- a/build.gradle +++ b/build.gradle @@ -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 + } }