Skip to content

Commit fb6189c

Browse files
authored
[SmokeTests] Enable desugaring in smoke tests (#6884)
Some tests are failing due to missing desugaring.
1 parent 19c8c7f commit fb6189c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

smoke-tests/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ android {
5454
}
5555

5656
compileOptions {
57+
coreLibraryDesugaringEnabled true
5758
sourceCompatibility 1.8
5859
targetCompatibility 1.8
5960
}
@@ -97,6 +98,9 @@ dependencies {
9798
// Common utilities (instrumentation side)
9899
androidTestImplementation "androidx.test:runner:1.4.0"
99100
androidTestImplementation libs.junit
101+
102+
// Desugaring library
103+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.5'
100104
}
101105

102106
clean.doLast {

0 commit comments

Comments
 (0)