Skip to content

Commit

Permalink
Enable core library desugaring
Browse files Browse the repository at this point in the history
Fix #8343
  • Loading branch information
topjohnwu committed Sep 9, 2024
1 parent b828e2d commit abaff72
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/apk/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@ android {
buildFeatures {
dataBinding = true
}

compileOptions {
isCoreLibraryDesugaringEnabled = true
}
}

dependencies {
implementation(project(":app:core"))
coreLibraryDesugaring(libs.jdk.libs)

implementation(libs.indeterminate.checkbox)
implementation(libs.rikka.layoutinflater)
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ transition = { module = "androidx.transition:transition", version = "1.5.1" }
collection-ktx = { module = "androidx.collection:collection-ktx", version = "1.4.3" }
lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version = "2.8.5" }
material = { module = "com.google.android.material:material", version = "1.12.0" }
jdk-libs = { module = "com.android.tools:desugar_jdk_libs_nio", version = "2.1.2" }

# topjohnwu
indeterminate-checkbox = { module = "com.github.topjohnwu:indeterminate-checkbox", version = "1.0.7" }
Expand Down

0 comments on commit abaff72

Please sign in to comment.