kyleu / boilerplay

Using the latest technology in the Scala ecosystem, Boilerplay is a reactive web application built on Play Framework, ScalaJS, Silhouette, Sangria/GraphQL, and PostgreSQL. It provides a good starting point for whatever you want to build.

Home Page:https://kyleu.github.io/boilerplay

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add jcenterRepo to get jwt-* for play-silhouette

rajit opened this issue · comments

I found that I needed to make the following modification to resolve all dependencies:

--- a/project/Server.scala
+++ b/project/Server.scala
@@ -42,6 +42,7 @@ object Server {
     scalacOptions in Test ++= Seq("-Yrangepos"),

     libraryDependencies ++= dependencies,
+    resolvers ++= Seq(Resolver.jcenterRepo),

     routesGenerator := InjectedRoutesGenerator,

Without this, the jwt-* dependencies were not resolving. This issue is described here: sbt/sbt#1820

Thanks, good catch! I've corrected it by adding the resolver as you suggested.