mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 00:57:02 +05:30
Enable desugaring of core library elements
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
5ce951d599
commit
e16b4cb82d
1 changed files with 2 additions and 0 deletions
|
@ -34,6 +34,7 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
compileOptions {
|
compileOptions {
|
||||||
|
coreLibraryDesugaringEnabled true
|
||||||
sourceCompatibility JavaVersion.VERSION_1_8
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||||||
targetCompatibility JavaVersion.VERSION_1_8
|
targetCompatibility JavaVersion.VERSION_1_8
|
||||||
}
|
}
|
||||||
|
@ -76,4 +77,5 @@ dependencies {
|
||||||
androidTestImplementation 'androidx.test.ext:junit:1.1.2-rc03'
|
androidTestImplementation 'androidx.test.ext:junit:1.1.2-rc03'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-rc03'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-rc03'
|
||||||
androidTestImplementation "androidx.ui:ui-test:$compose_version"
|
androidTestImplementation "androidx.ui:ui-test:$compose_version"
|
||||||
|
coreLibraryDesugaring "com.android.tools:desugar_jdk_libs:1.0.10"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue