heremaps / here-sbt-bom

SBT BOM is the plugin for SBT for dealing with Maven BOM in SBT projects
Other
18 stars 5 forks source link

No "dependencies" method in sbt plugin version 1.0.7 #23

Closed marcinmicek closed 4 days ago

marcinmicek commented 1 week ago

In this section there is a line: addSbtPlugin("com.here.platform" % "sbt-bom" % "1.0.7")

If we use plugin version 1.0.7 then we cannot use method dependencies mentioned in this section in line: lazy val jacksonDependencies = Bom.dependencies("com.fasterxml.jackson" % "jackson-bom" % "2.14.2") due to the fact that it doesn't exist in this version. To fix it we need to upgrade plugin to version 1.0.14, so we should do the following change: addSbtPlugin("com.here.platform" % "sbt-bom" % "1.0.7") into addSbtPlugin("com.here.platform" % "sbt-bom" % "1.0.14")

molekyla commented 1 week ago

@marcinmicek Good catch. Indeed readme file is out of sync with the latest version. You should use the latest version: 1.0.14