In my project, I wanted to use ScalaJS wrapper for Google Maps from https://github.com/coreyauger/scalajs-google-maps. 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:
- Clone the project
- Deploy the project to your local repository
- Add dependency in your project
Run following commands:
git clone https://github.com/coreyauger/scalajs-google-maps.git
cd scalajs-google-maps
sbt publish local
Add dependency to your ScalaJS project:
libraryDependencies += “io.surfkit” %%% “scalajs-google-maps” % “0.0.3”