Skip to content

Commit

Permalink
Update barista-compose dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alorma committed Dec 3, 2022
1 parent 4426782 commit 445cbe2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 12 deletions.
22 changes: 11 additions & 11 deletions barista-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@ android {
}

dependencies {
api("androidx.test.ext:junit:1.1.3")
api("androidx.compose.ui:ui-test-junit4:1.0.2")

debugImplementation("androidx.compose.ui:ui:${libs.versions.compose.get()}")
debugImplementation("androidx.compose.material:material:${libs.versions.compose.get()}")
debugImplementation("androidx.compose.ui:ui-tooling-preview:${libs.versions.compose.get()}")
debugImplementation("androidx.lifecycle:lifecycle-runtime-ktx:2.3.1")
debugImplementation("androidx.activity:activity-compose:1.3.1")
debugImplementation("androidx.compose.ui:ui-test-junit4:${libs.versions.compose.get()}")
debugImplementation("androidx.compose.ui:ui-test-manifest:${libs.versions.compose.get()}")
debugImplementation("androidx.compose.ui:ui-tooling:${libs.versions.compose.get()}")
api(libs.androidX.test.junit)
api(libs.androidX.compose.test.ui.junit4)

debugImplementation(libs.androidX.compose.ui.ui)
debugImplementation(libs.androidX.compose.material)
debugImplementation(libs.androidX.compose.ui.tooling.preview)
debugImplementation(libs.androidX.compose.ui.tooling.core)
debugImplementation(libs.androidX.compose.test.ui.manifest)

debugImplementation(libs.androidX.lifecycle)
debugImplementation(libs.androidX.activity.compose)

}
14 changes: 13 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ androidXAppCompat = "1.0.2"
androidXAnnotation = "1.0.2"
androidXCore = "1.0.1"
androidXEspresso = "3.4.0"
androidXJUnit = "1.1.3"
androidXLegacy = "1.0.0"
androidXLifecycle = "2.3.1"
androidXMaterial = "1.2.0"
androidXOrchestrator = "1.4.1"
androidXRecyclerView = "1.0.0"
Expand All @@ -35,20 +37,30 @@ nexus-staging = { module = "io.codearte.gradle.nexus:gradle-nexus-staging-plugin
androidX-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "androidXEspresso" }
androidX-test-espresso-contrib = { module = "androidx.test.espresso:espresso-contrib", version.ref = "androidXEspresso" }
androidX-test-espresso-intents = { module = "androidx.test.espresso:espresso-intents", version.ref = "androidXEspresso" }
androidX-test-junit = { module = "androidx.test.ext:junit", version.ref = "androidXJUnit" }
androidX-test-orchestrator = { module = "androidx.test:orchestrator", version.ref = "androidXOrchestrator" }
androidX-test-uiAutomator = { module = "androidx.test.uiautomator:uiautomator", version.ref = "uiAutomator" }

androidX-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "compose" }
androidX-annotation = { module = "androidx.annotation:annotation", version.ref = "androidXAnnotation" }
androidX-appCompat = { module = "androidx.appcompat:appcompat", version.ref = "androidXAppCompat" }
androidX-core = { module = "androidx.core:core-ktx", version.ref = "androidXCore" }
androidX-legacy-support = { module = "androidx.legacy:legacy-support-core-ui", version.ref = "androidXLegacy" }
androidX-legacy-supportV4 = { module = "androidx.legacy:legacy-support-v4", version.ref = "androidXLegacy" }
androidX-lifecycle = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "androidXLifecycle" }
androidX-material = { module = "com.google.android.material:material", version.ref = "androidXMaterial" }
androidX-recyclerView = { module = "androidx.recyclerview:recyclerview", version.ref = "androidXRecyclerView" }
androidX-vectorDrawable-animated = { module = "androidx.vectordrawable:vectordrawable-animated", version.ref = "androidXVectorDrawable" }

androidX-viewPager2 = { module = "androidx.viewpager2:viewpager2", version.ref = "androidXViewPager2" }

androidX-compose-ui-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" }
androidX-compose-ui-tooling-core = { module = "androidx.compose.ui:ui-tooling", version.ref = "compose" }
androidX-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview", version.ref = "compose" }
androidX-compose-material = { module = "androidx.compose.material:material", version.ref = "compose" }

androidX-compose-test-ui-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose" }
androidX-compose-test-ui-manifest = { module = "androidx.compose.ui:ui-test-manifest", version.ref = "compose" }

glide = { module = "com.github.bumptech.glide:glide", version.ref = "glide" }

testing-assertJ = { module = "org.assertj:assertj-core", version.ref = "assertJ" }
Expand Down

0 comments on commit 445cbe2

Please sign in to comment.