InsertKoinIO / koin

Koin - a pragmatic lightweight dependency injection framework for Kotlin & Kotlin Multiplatform
https://insert-koin.io
Apache License 2.0
8.77k stars 695 forks source link

Docs: Use `platform` for BOM in Version Catalog setup #1822

Open darronschall opened 3 months ago

darronschall commented 3 months ago

Relates to #1721

Failure to use platform for the BOM in a Kotlin Multiplatform project will cause iOS project failures during sync. This updates the setup docs so that the "Version Catalogs" setup is the same as the regular setup.

Additionally, replace platform with project.dependencies.platform due to the Kotlin deprecation: 'platform(Any): Dependency' is deprecated. Scheduled for removal in Kotlin 2.0.