-
Notifications
You must be signed in to change notification settings - Fork 49
/
build.sbt
50 lines (41 loc) · 2.32 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-scala-demo"
version := "12.0.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.13.15"
val playPac4jVersion = "12.0.0-PLAY2.8-SNAPSHOT"
val pac4jVersion = "6.1.0"
val playVersion = "2.9.5"
libraryDependencies ++= Seq(
guice,
ehcache, // or cacheApi
ws,
filters,
specs2 % Test,
"org.pac4j" %% "play-pac4j" % playPac4jVersion,
"org.pac4j" % "pac4j-http" % pac4jVersion excludeAll(ExclusionRule(organization = "com.fasterxml.jackson.core")),
"org.pac4j" % "pac4j-cas" % pac4jVersion exclude("com.fasterxml.jackson.core", "jackson-databind"),
"org.pac4j" % "pac4j-oauth" % pac4jVersion excludeAll(ExclusionRule(organization = "com.fasterxml.jackson.core")),
"org.pac4j" % "pac4j-saml" % pac4jVersion excludeAll(ExclusionRule(organization = "com.fasterxml.jackson.core")),
"org.pac4j" % "pac4j-oidc" % pac4jVersion excludeAll(ExclusionRule("commons-io" , "commons-io"), ExclusionRule(organization = "com.fasterxml.jackson.core")),
"org.pac4j" % "pac4j-gae" % pac4jVersion,
"org.pac4j" % "pac4j-jwt" % pac4jVersion exclude("commons-io" , "commons-io"),
"org.pac4j" % "pac4j-ldap" % pac4jVersion excludeAll(ExclusionRule(organization = "com.fasterxml.jackson.core")),
"org.pac4j" % "pac4j-sql" % pac4jVersion exclude("com.fasterxml.jackson.core", "jackson-databind"),
"org.pac4j" % "pac4j-mongo" % pac4jVersion excludeAll(ExclusionRule(organization = "com.fasterxml.jackson.core")),
"org.pac4j" % "pac4j-kerberos" % pac4jVersion exclude("org.springframework", "spring-core"),
"org.pac4j" % "pac4j-couch" % pac4jVersion excludeAll(ExclusionRule(organization = "com.fasterxml.jackson.core")),
"org.apache.shiro" % "shiro-core" % "1.13.0",
"ch.qos.logback" % "logback-classic" % "1.5.12",
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.18.1",
"com.typesafe.play" %% "play-cache" % playVersion,
"org.projectlombok" % "lombok" % "1.18.36"
)
resolvers ++= Seq(
Resolver.mavenLocal,
"scalaz-bintray" at "https://dl.bintray.com/scalaz/releases",
"Sonatype snapshots repository" at "https://oss.sonatype.org/content/repositories/snapshots/",
"Shibboleth releases" at "https://build.shibboleth.net/nexus/content/repositories/releases/"
)
routesGenerator := InjectedRoutesGenerator
run / fork := true
ThisBuild / evictionErrorLevel := Level.Info