-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manage dependencies with a version catalog (#727)
[Version catalog](https://docs.gradle.org/current/userguide/version_catalogs.html) is the best practice for managing dependencies. It makes it easier to track and update versions, and allows to centralize dependencies in a multi-module context. It is an alternative to the `buildSrc` workaround used in some of our projects. This PR does not update libraries versions. We only manage versions (not full dependencies) in the version catalog. This gives all the benefit of centralizing versions, and we don't really need to define all dependencies in the version catalog if they are not used by several modules.
- Loading branch information
Showing
2 changed files
with
48 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[versions] | ||
kotlin = "1.9.23" | ||
kotlinx-coroutines = "1.7.3" | ||
kotlinx-datetime = "0.6.0" | ||
kotlinx-serialization = "1.6.2" | ||
ktor = "2.3.7" | ||
bitcoinkmp = "0.20.0" # when upgrading bitcoin-kmp, keep secpjnijvm in sync! | ||
secpjnijvm = "0.15.0" | ||
kermit = "2.0.2" | ||
slf4j = "1.7.36" | ||
|
||
# test dependencies | ||
test-kodein-memory = "0.12.0" | ||
test-bouncycastle = "1.64" | ||
test-logback = "1.2.3" | ||
test-sqlitejdbc = "3.32.3.3" | ||
|
||
[plugins] | ||
multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } | ||
serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" } | ||
dokka = { id = "org.jetbrains.dokka", version = "1.9.10" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters