-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
56 lines (41 loc) · 1.63 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
51
52
53
54
55
56
import play.sbt.PlayImport.caffeine
name := """PSPS-baseapp"""
organization := "com.example"
maintainer := "your.name@company.org"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
scalaVersion := "2.13.5"
// Targeting JDK11, which is the current LTS
javacOptions ++= Seq("-source", "11", "-target", "11")
libraryDependencies ++= Seq(
caffeine,
ws,
guice,
"com.typesafe.play" %% "play-slick" % "5.0.0",
"com.typesafe.play" %% "play-slick-evolutions" % "5.0.0",
"com.typesafe.play" %% "play-mailer" % "8.0.0",
"com.typesafe.play" %% "play-mailer-guice" % "8.0.0",
"be.objectify" %% "deadbolt-scala" % "2.7.1",
"org.mindrot" % "jbcrypt" % "0.3m",
"org.postgresql" % "postgresql" % "42.2.11",
"org.webjars" % "jquery" % "3.6.0",
"org.webjars" % "jquery-ui" % "1.12.1",
// "org.webjars" % "tether" % "1.4.0",
"org.webjars.bower" % "tether" % "1.4.7",
"org.webjars" % "sweetalert" % "2.1.0",
"org.webjars" % "bootstrap" % "5.0.1",
"org.webjars.bower" % "fontawesome" % "4.7.0",
"org.scalatestplus.play" %% "scalatestplus-play" % "4.0.3" % Test,
"org.seleniumhq.selenium" % "selenium-java" % "2.35.0" % Test,
// "org.scalamock" %% "scalamock" % "4.0.0" % Test,
)
import org.irundaia.sbt.sass._
SassKeys.cssStyle := Minified
SassKeys.generateSourceMaps := true
// TODO add sections and table helpers
// TwirlKeys.templateImports ++= Seq( "views.Sections", "views.TableHelper")
TwirlKeys.templateImports ++= Seq("views.Helpers")
pipelineStages := Seq(digest, gzip)
// Disable documentation creation
Compile / doc / sources := Seq.empty
Compile / packageDoc / publishArtifact := false