-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.sbt
31 lines (24 loc) · 942 Bytes
/
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
name := """play-scala-seed"""
organization := "com.example"
version := "1.0-SNAPSHOT"
lazy val root = (project in file(".")).enablePlugins(PlayScala)
// graalvm
.enablePlugins(GraalVMNativeImagePlugin)
.settings(
PlayKeys.externalizeResources := false,
graalVMNativeImageOptions ++= Seq(
"-J-Xmx10G",
"--enable-http",
"--install-exit-handlers",
"--no-fallback",
s"-H:ResourceConfigurationFiles=${baseDirectory.value}/resource-config.json",
s"-H:ReflectionConfigurationFiles=${baseDirectory.value}/reflect-config.json"
)
)
scalaVersion := "2.13.12"
libraryDependencies += guice
libraryDependencies += "org.scalatestplus.play" %% "scalatestplus-play" % "6.0.0" % Test
// Adds additional packages into Twirl
//TwirlKeys.templateImports += "com.example.controllers._"
// Adds additional packages into conf/routes
// play.sbt.routes.RoutesKeys.routesImport += "com.example.binders._"