From e2c860b7cc90c1c7a84e58c60f16541d876d2900 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20Jourdan-Weil?= Date: Sun, 4 Feb 2024 15:52:00 +0100 Subject: [PATCH] docs(readme): update version referenced in README and only add the resolver if needed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Gaƫl Jourdan-Weil --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9ff2351..810e501 100644 --- a/README.md +++ b/README.md @@ -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", @@ -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