What is considered the best practice for managing ...
# multiplatform
a
What is considered the best practice for managing versions in kotlin multiplatform? I had been using the
buildSrc
method with a
Deps.kt
file listing all the versions, although I have heard this can be bad for performance and was curious what one should be doing?
k
Version catalogs
a
Check composite builds I've done the migration for part of a large project The affect was not big (you can benchmark on your own project too) , but true changing one line did not cause the entire project to be rebuild like
buildSrc
Also i read that
buildSrc
will support incremental builds by gradle 8 ----- After working with
buildSrc
and submodules and sdks in large projects Honestly hard coding the version for each module is not that big of a deal (or bad practice) Gradle will pick the latest version and that what matters so you can simply bump the version of a lib in the current module but downgrading will be an issue 😅