forked from pac4j/play-pac4j-java-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
50 lines (40 loc) · 1.93 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name := "play-pac4j-java-demo"
version := "8.0.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava)
scalaVersion := "2.12.4"
val playPac4jVersion = "8.0.0-SNAPSHOT"
val pac4jVersion = "3.6.1"
val playVersion = "2.7.2"
val guiceVersion = "4.2.0"
val guiceDeps = Seq(
"com.google.inject" % "guice" % guiceVersion,
"com.google.inject.extensions" % "guice-assistedinject" % guiceVersion
)
libraryDependencies ++= Seq(
guice,
ehcache, // or cacheApi
"org.pac4j" %% "play-pac4j" % playPac4jVersion,
"org.pac4j" % "pac4j-http" % pac4jVersion,
"org.pac4j" % "pac4j-cas" % pac4jVersion,
"org.pac4j" % "pac4j-openid" % pac4jVersion exclude("xml-apis" , "xml-apis"),
"org.pac4j" % "pac4j-oauth" % pac4jVersion,
"org.pac4j" % "pac4j-saml" % pac4jVersion exclude("org.springframework", "spring-core"),
"org.pac4j" % "pac4j-oidc" % pac4jVersion exclude("commons-io" , "commons-io"),
"org.pac4j" % "pac4j-gae" % pac4jVersion,
"org.pac4j" % "pac4j-jwt" % pac4jVersion exclude("commons-io" , "commons-io"),
"org.pac4j" % "pac4j-ldap" % pac4jVersion,
"org.pac4j" % "pac4j-sql" % pac4jVersion,
"org.pac4j" % "pac4j-mongo" % pac4jVersion,
"org.pac4j" % "pac4j-kerberos" % pac4jVersion exclude("org.springframework", "spring-core"),
"org.pac4j" % "pac4j-couch" % pac4jVersion,
"com.typesafe.play" % "play-cache_2.12" % playVersion,
"commons-io" % "commons-io" % "2.4",
"be.objectify" %% "deadbolt-java" % "2.6.1",
//For Java > 8
"javax.xml.bind" % "jaxb-api" % "2.3.0",
"javax.annotation" % "javax.annotation-api" % "1.3.2",
"javax.el" % "javax.el-api" % "3.0.0",
"org.glassfish" % "javax.el" % "3.0.0"
) ++ guiceDeps //For Play 2.6 & JDK9
resolvers ++= Seq(Resolver.mavenLocal, "Sonatype snapshots repository" at "https://oss.sonatype.org/content/repositories/snapshots/", "Shibboleth releases" at "https://build.shibboleth.net/nexus/content/repositories/releases/")
routesGenerator := InjectedRoutesGenerator