Skip to content

Commit 1c74a3d

Browse files
committed
[SmokeTests] Enable desugaring in smoke tests
Some tests are failing due to missing desugaring.
1 parent 40b7637 commit 1c74a3d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

smoke-tests/build.gradle

Lines changed: 4 additions & 0 deletions
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.0.3'
100104
}
101105

102106
clean.doLast {

0 commit comments

Comments
 (0)