Skip to content

Commit

Permalink
Updates dependencies using kmp-bom
Browse files Browse the repository at this point in the history
  • Loading branch information
Tweener committed Mar 3, 2024
1 parent b7163c7 commit 957a331
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ object Dependencies {

object Tweener {
const val czan = "2.0.1"
const val common = "1.0.2"
const val bom = "1.0.0"

object Android {
const val placeholder = "1.0.0"
Expand All @@ -71,7 +71,9 @@ object Dependencies {

object Tweener {
const val czan = "io.github.tweener:czan:${Versions.Tweener.czan}"
const val common = "io.github.tweener:kmp-common:${Versions.Tweener.common}"

const val bom = "io.github.tweener:kmp-bom:${Versions.Tweener.bom}"
const val common = "io.github.tweener:kmp-common"

object Android {
const val placeholder = "com.github.Tweener:placeholder-material3:${Versions.Tweener.Android.placeholder}"
Expand Down
4 changes: 3 additions & 1 deletion czan/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,11 @@ kotlin {

androidMain.dependencies {
// Tweener
implementation(Dependencies.Libraries.Tweener.common)
implementation(Dependencies.Libraries.Tweener.Android.placeholder)

implementation(project.dependencies.platform(Dependencies.Libraries.Tweener.bom))
implementation(Dependencies.Libraries.Tweener.common)

// Accompanist
implementation(Dependencies.Libraries.Android.Accompanist.systemUIController)

Expand Down

0 comments on commit 957a331

Please sign in to comment.