Sharing dependency versions with TOML catalog
Modifiy settings.gradle like this:
dependencyResolutionManagement {
//...
// use version catalog
versionCatalogs {
libs {
//from(files("../../libs.versions.toml"))
from("com.github.rwsbillyang:version-catalog:1.0.0")
}
}
}
More info: Importing a published catalog
In build.gradle:
dependencies {
implementation libs.kotlin.stdlib.jdk8
implementation libs.kotlin.serialization.json
//...
implementation libs.rule.runtime
//implementation project(":ktorKit")
implementation libs.ktorKit
}