Skip to content

Commit

Permalink
Fix Compose preview dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Jan 13, 2025
1 parent 9a0fe05 commit 3956fb7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ androidx-test-ext-junit = { module = "androidx.test.ext:junit-ktx", version.ref
androidx-test-uiautomator = "androidx.test.uiautomator:uiautomator:2.3.0"

androidx-compose-ui = { module = "androidx.compose.ui:ui", version.ref = "jetpack-compose" }
androidx-compose-ui-preview = { module = "androidx.compose.ui:ui-tooling", version.ref = "jetpack-compose" }
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "jetpack-compose" }
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref = "jetpack-compose" }
androidx-compose-ui-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "jetpack-compose" }
androidx-compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "jetpack-compose" }

assertk = { module = "com.willowtreeapps.assertk:assertk", version.ref = "assertk" }
Expand Down
2 changes: 1 addition & 1 deletion sample/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.profileinstaller)

implementation(libs.androidx.compose.ui.tooling)
debugImplementation(libs.androidx.compose.ui.tooling)
implementation(libs.androidx.compose.ui.preview)

implementation(libs.androidx.media3.exoplayer)
Expand Down

0 comments on commit 3956fb7

Please sign in to comment.