-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.sbt
More file actions
71 lines (57 loc) · 2.89 KB
/
build.sbt
File metadata and controls
71 lines (57 loc) · 2.89 KB
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
name := """java-play-react-seed"""
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayJava).settings(
watchSources ++= (baseDirectory.value / "public/ui" ** "*").get
)
scalaVersion := "2.12.4"
val playPac4jVersion = "7.0.1"
val pac4jVersion = "3.6.1"
val playVersion = "2.6.15"
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
libraryDependencies += "io.ebean" % "ebean" % "11.36.1"
libraryDependencies += "org.postgresql" % "postgresql" % "42.2.2"
libraryDependencies += "com.konghq" % "unirest-java" % "2.1.02"
libraryDependencies += "com.google.code.gson" % "gson" % "2.8.5"
libraryDependencies += "org.mindrot" % "jbcrypt" % "0.3m"
// Testing libraries for dealing with CompletionStage...
libraryDependencies += "org.assertj" % "assertj-core" % "3.6.2" % Test
libraryDependencies += "org.awaitility" % "awaitility" % "2.0.0" % Test
libraryDependencies += "org.mockito" % "mockito-all" % "1.10.19" % Test
libraryDependencies += "io.swagger" %% "swagger-play2" % "1.6.1"
libraryDependencies += "io.swagger" %% "swagger-scala-module" % "1.0.3"
// Make verbose tests
testOptions in Test := Seq(Tests.Argument(TestFrameworks.JUnit, "-a", "-v"))
lazy val myProject = (project in file("."))
.enablePlugins(PlayJava, PlayScala, PlayEbean)