Skip to content

Commit e6f5951

Browse files
committed
Fix desugar issues
1 parent 5b0bbe4 commit e6f5951

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ binary-compatibility = "0.14.0"
66
cameraX = "1.2.0"
77
compose-bom = "2025.03.01"
88
coroutines = "1.7.3"
9-
desugar = "1.1.8"
9+
desugar = "1.2.0"
1010
futures = "1.1.0"
1111
junit = "4.13.2"
1212
kotest = "5.7.1"

liveness/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ android {
3838
androidResources {
3939
noCompress += "tflite"
4040
}
41+
42+
compileOptions {
43+
isCoreLibraryDesugaringEnabled = true
44+
}
4145
}
4246

4347
dependencies {
@@ -57,5 +61,7 @@ dependencies {
5761
implementation(libs.tensorflow)
5862
implementation(libs.tensorflow.support)
5963

64+
coreLibraryDesugaring(libs.android.desugar)
65+
6066
testImplementation(projects.testing)
6167
}

0 commit comments

Comments
 (0)