Enable core library desugaring in build.gradle
This commit is contained in:
parent
2febd14593
commit
b168c6cae7
|
|
@ -39,6 +39,8 @@ android {
|
|||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
coreLibraryDesugaringEnabled true
|
||||
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
|
|
@ -102,4 +104,6 @@ flutter {
|
|||
source '../..'
|
||||
}
|
||||
|
||||
dependencies {}
|
||||
dependencies {
|
||||
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue