Skip to content

Commit

Permalink
Avoid manual modules version management inside repo (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdrlzy authored May 10, 2024
1 parent 6c1c7b0 commit 5e20719
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 18 deletions.
6 changes: 2 additions & 4 deletions filepicker/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ android {
}

dependencies {
implementation(libraries.ark.component.utils)
implementation(libraries.ark.component.folderstree)
implementation(libraries.ark.component.tagselector)
implementation(libraries.ark.component.scorewidget)
implementation(project(":utils"))
implementation(project(":folderstree"))

implementation(libraries.androidx.core.ktx)
implementation(libraries.androidx.appcompat)
Expand Down
2 changes: 1 addition & 1 deletion folderstree/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ android {
}

dependencies {
implementation(project(":utils"))

implementation(libraries.ark.component.utils)
implementation(libraries.androidx.core.ktx)
implementation(libraries.androidx.appcompat)
implementation(libraries.android.material)
Expand Down
10 changes: 0 additions & 10 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
[versions]
arkComponentUtils = "0.0.9-SNAPSHOT-01"
arkComponentFoldersTree = "0.0.9-SNAPSHOT-02"
arkComponentTagSelector = "0.0.9-SNAPSHOT-02"
arkComponentScoreWidget = "0.0.9-SNAPSHOT-02"
arkComponentFilePicker = "0.1.0-SNAPSHOT"
coil = "2.4.0"
androidxFragmentKtx = "1.6.1"
fastadapter = "5.7.0"
Expand All @@ -20,11 +15,6 @@ skydovesBalloon = "1.6.4"
flexbox = "3.0.0"

[libraries]
ark-component-utils = { group = "dev.arkbuilders.components", name = "utils", version.ref = "arkComponentUtils" }
ark-component-folderstree = { group = "dev.arkbuilders.components", name = "folderstree", version.ref = "arkComponentFoldersTree" }
ark-component-tagselector = { group = "dev.arkbuilders.components", name = "tagselector", version.ref = "arkComponentTagSelector" }
ark-component-scorewidget = { group = "dev.arkbuilders.components", name = "scorewidget", version.ref = "arkComponentScoreWidget" }
ark-component-filepicker = { group = "dev.arkbuilders.components", name = "filepicker", version.ref = "arkComponentFilePicker" }
coil = { group = "io.coil-kt", name = "coil", version.ref = "coil" }
coil-gif = { group = "io.coil-kt", name = "coil-gif", version.ref = "coil" }
coil-svg = { group = "io.coil-kt", name = "coil-svg", version.ref = "coil" }
Expand Down
4 changes: 2 additions & 2 deletions sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ android {
}

dependencies {
implementation(libraries.ark.component.filepicker)
implementation(libraries.arklib)
implementation(project(":filepicker"))

implementation(libraries.arklib)
implementation("androidx.core:core-ktx:1.12.0")
implementation(libraries.androidx.appcompat)
implementation(libraries.android.material)
Expand Down
2 changes: 1 addition & 1 deletion tagselector/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ android {
}

dependencies {
implementation(project(":utils"))

implementation(libraries.ark.component.utils)
implementation(libraries.androidx.core.ktx)
implementation(libraries.androidx.appcompat)
implementation(libraries.android.material)
Expand Down

0 comments on commit 5e20719

Please sign in to comment.