provide common version catalog
// settings.gradle.kts
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
//...
mavenCentral()
}
versionCatalogs {
create("sharedLibs") {
from("io.github.foodiestudio:libs-versions:$version")
}
}
}
// build.gradle.kts (module)
dependencies {
implementation(platform(libs.compose.bom))
implementation(libs.bundles.jetpack)
}