Skip to content

Commit

Permalink
Merge pull request #1865 from dragetd/patch-1
Browse files Browse the repository at this point in the history
Use explicit Gradle DependencyHandlerEnvorderPlatform
  • Loading branch information
arnaudgiuliani committed Sep 17, 2024
2 parents bc12ba0 + 822dd46 commit b857f98
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/setup/koin.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Starting from 3.5.0 you can use BOM-version to manage all Koin library versions.

Add `koin-bom` BOM and `koin-core` dependency to your application:
```kotlin
implementation(platform("io.insert-koin:koin-bom:$koin_version"))
implementation(project.dependencies.platform("io.insert-koin:koin-bom:$koin_version"))
implementation("io.insert-koin:koin-core")
```
If you are using version catalogs:
Expand All @@ -57,7 +57,7 @@ koin-core = { module = "io.insert-koin:koin-core" }
```
```kotlin
dependencies {
implementation(platform(libs.koin.bom))
implementation(project.dependencies.platform(libs.koin.bom))
implementation(libs.koin.core)
}
```
Expand Down

0 comments on commit b857f98

Please sign in to comment.