InsertKoinIO / koin

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

Use explicit Gradle DependencyHandlerEnvorderPlatform #1865

Open dragetd opened 1 month ago

dragetd commented 1 month ago

According to Jetbrains, using 'platform()' is deprecated and one should use the explicit 'project.dependencies.platform()' instead. See https://youtrack.jetbrains.com/issue/KT-58759/Deprecate-platform-enforcedPlatform-and-other-related-to-Gradle-DependencyHandler-methods-in-KotlinDependencyHandler

I do not really know much about the dependency handling logic. I only stumbled over this as I added Koin to my Compose project.