Skip to content

Commit 5cfc281

Browse files
committed
Replace direct dependencies with Version Catalog
1 parent ea26015 commit 5cfc281

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

app/module.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ product: jvm/app
22

33
dependencies:
44
- ../lib
5-
- "com.github.ajalt.clikt:clikt:5.0.3"
5+
- $libs.ajalt.clikt
66

77
settings:
88
publishing:

gradle/libs.versions.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[versions]
2+
ajalt-clikt = "5.0.3"
3+
kotlinx-io = "0.7.0"
4+
pdvrieze-xmlutil = "0.90.3"
5+
6+
[libraries]
7+
ajalt-clikt = { group = "com.github.ajalt.clikt", name = "clikt", version.ref = "ajalt-clikt" }
8+
kotlinx-io-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-io-core", version.ref = "kotlinx-io" }
9+
pdvrieze-xmlutil-core = { group = "io.github.pdvrieze.xmlutil", name = "core", version.ref = "pdvrieze-xmlutil"}
10+
pdvrieze-xmlutil-serialization = { group = "io.github.pdvrieze.xmlutil", name = "serialization", version.ref = "pdvrieze-xmlutil"}

lib/module.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ product:
55
- android
66

77
dependencies:
8-
- "org.jetbrains.kotlinx:kotlinx-io-core:0.7.0": exported
9-
- "io.github.pdvrieze.xmlutil:core:0.90.3"
10-
- "io.github.pdvrieze.xmlutil:serialization:0.90.3"
8+
- $libs.kotlinx.io.core: exported
9+
- $libs.pdvrieze.xmlutil.core
10+
- $libs.pdvrieze.xmlutil.serialization
1111

1212
settings:
1313
kotlin:

0 commit comments

Comments
 (0)