Skip to content

Commit 0f97103

Browse files
jtjeferreirajaliss
authored andcommitted
Use cacheApi dependency (jaliss#620)
* Update build.sbt * update scala demo * update java demo
1 parent 1e71de8 commit 0f97103

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

module-code/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ libraryDependencies ++= Seq(
1111
ws,
1212
filters,
1313
specs2 % "test",
14-
ehcache, // should this be cacheApi and we allow the user to specify their own cache?
14+
cacheApi,
1515
"com.typesafe.play" %% "play-mailer-guice" % "6.0.1", // this could be play-mailer but wouldn't have the guice module
1616
"io.methvin.play" %% "autoconfig-macros" % "0.2.0" % "provided",
1717
"org.mindrot" % "jbcrypt" % "0.3m"

samples/java/demo/build.sbt

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ scalaVersion := Common.scalaVersion
88

99
crossScalaVersions := Common.crossScalaVersions
1010

11-
libraryDependencies ++= Seq("ws.securesocial" %% "securesocial" % version.value, javaCore, guice)
11+
libraryDependencies ++= Seq("ws.securesocial" %% "securesocial" % version.value, javaCore, guice, ehcache)
1212

1313
resolvers += Resolver.sonatypeRepo("snapshots")
1414

samples/scala/demo/build.sbt

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ crossScalaVersions := Common.crossScalaVersions
1111
libraryDependencies ++= Seq(
1212
specs2 % "test",
1313
"ws.securesocial" %% "securesocial" % version.value,
14-
guice
14+
guice,
15+
ehcache
1516
)
1617

1718
resolvers += Resolver.sonatypeRepo("snapshots")

0 commit comments

Comments
 (0)