Skip to content

Commit

Permalink
Temporarily fix for duplicate class error by excluding androidx confi…
Browse files Browse the repository at this point in the history
…guration
  • Loading branch information
alialbaali committed Feb 16, 2021
1 parent df4ec48 commit 39ebc47
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion kamel-samples/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ android {
create("testApi")
create("testDebugApi")
create("testReleaseApi")
named("implementation") {
exclude(group = "androidx.compose.animation")
exclude(group = "androidx.compose.foundation")
exclude(group = "androidx.compose.material")
exclude(group = "androidx.compose.runtime")
exclude(group = "androidx.compose.ui")
}
}
}

Expand Down Expand Up @@ -88,7 +95,8 @@ kotlin {
targets.all {
compilations.all {
kotlinOptions {
freeCompilerArgs = listOf("-Xallow-result-return-type", "-Xopt-in=kotlin.RequiresOptIn")
freeCompilerArgs =
listOf("-Xallow-result-return-type", "-Xopt-in=kotlin.RequiresOptIn")
}
}
}
Expand Down

0 comments on commit 39ebc47

Please sign in to comment.