Skip to content

Commit

Permalink
Make compose dependencies compileOnly to ensure we rely on target app…
Browse files Browse the repository at this point in the history
…'s compose version
  • Loading branch information
rbro112 committed Oct 24, 2024
1 parent 9119305 commit b3c76b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions snapshots/snapshots/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,11 @@ dependencies {
implementation(libs.junit)
implementation(libs.kotlinx.serialization)

api(platform(libs.compose.bom))
api(libs.compose.runtime)
api(libs.compose.ui)
api(libs.compose.ui.tooling)
api(libs.compose.foundation.android)
compileOnly(platform(libs.compose.bom))
compileOnly(libs.compose.runtime)
compileOnly(libs.compose.ui)
compileOnly(libs.compose.ui.tooling)
compileOnly(libs.compose.foundation.android)

api(projects.snapshots.snapshotsShared)
api(libs.androidx.test.core)
Expand Down

0 comments on commit b3c76b9

Please sign in to comment.