Skip to content

Commit

Permalink
docs(readme): update version referenced in README and only add the re…
Browse files Browse the repository at this point in the history
…solver if needed

Signed-off-by: Gaël Jourdan-Weil <gjourdanweil@gmail.com>
  • Loading branch information
gaeljw committed Feb 4, 2024
1 parent dfc9a07 commit 0bd93cb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ The following text provides a step-by-step guide on how to import [Jackson BOM](

### Load the plugin

Enable the `MAVEN_CENTRAL` repository with a special `pattern` configuration:
Add the `sbt-bom` plugin to `plugins.sbt` file.
```scala
addSbtPlugin("com.here.platform" % "sbt-bom" % "1.0.7")
```

If you're encountering issues or using earlier versions, you might have to explicitly declare the Maven Central repository:
```scala
resolvers += Resolver.url(
"MAVEN_CENTRAL",
Expand All @@ -31,11 +36,6 @@ resolvers += Resolver.url(
```
This will enable the project to access plugin files stored in Maven Central, https://repo.maven.apache.org/maven2/com/here/platform/sbt-bom_2.12_1.0/.

Add the `sbt-bom` plugin to `plugins.sbt` file.
```scala
addSbtPlugin("com.here.platform" % "sbt-bom" % "1.0.1")
```

### Read & use a BOM

#### In a `dependencyOverrides` context
Expand Down

0 comments on commit 0bd93cb

Please sign in to comment.