Skip to content

Commit

Permalink
Remove desugaring dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Jul 29, 2023
1 parent d8507dc commit b4b08d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ internal fun Project.configureKotlinAndroid(
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
isCoreLibraryDesugaringEnabled = true
}

kotlinOptions {
Expand All @@ -55,10 +54,6 @@ internal fun Project.configureKotlinAndroid(
lint {
abortOnError = false
}

dependencies {
add("coreLibraryDesugaring", libs.findLibrary("desugar").get())
}
}
}

Expand Down
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ coil = "2.3.0"
palette = "1.0.0"
hilt = "2.47"
spotless = "6.20.0"
desugar="2.0.3"

[libraries]
androidx-material = { group = "com.google.android.material", name = "material", version.ref = "androidxMaterial" }
Expand Down Expand Up @@ -62,7 +61,6 @@ fresco-drawable = { group = "com.facebook.fresco", name = "animated-drawable", v
fresco-websupport = { group = "com.facebook.fresco", name = "webpsupport", version.ref = "fresco" }
coil = { group = "io.coil-kt", name = "coil", version.ref = "coil" }
coil-gif = { group = "io.coil-kt", name = "coil-gif", version.ref = "coil" }
desugar = { group = "com.android.tools", name = "desugar_jdk_libs", version.ref = "desugar" }

# Dependencies of the included build-logic
android-gradlePlugin = { group = "com.android.tools.build", name = "gradle", version.ref = "androidGradlePlugin" }
Expand Down

0 comments on commit b4b08d8

Please sign in to comment.