Publishing libraries to local repository using SBT

In my project, I wanted to use ScalaJS wrapper for Google Maps from It turned out, that library artifacts are not published, where they were supposed to be.

Fortunately, it is very easy to build those artifacts yourself and use them in your project:

  1. Clone the project
  2. Deploy the project to your local repository
  3. Add dependency in your project

Run following commands:

git clone
cd scalajs-google-maps
sbt publish local

Add dependency to your ScalaJS project:

libraryDependencies += “io.surfkit” %%% “scalajs-google-maps” % “0.0.3”

Leave a Reply

Your email address will not be published. Required fields are marked *