-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
35 lines (26 loc) · 999 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
31
32
33
34
35
import com.typesafe.sbt.packager.docker.DockerChmodType
import com.typesafe.sbt.packager.docker.DockerPermissionStrategy
dockerChmodType := DockerChmodType.UserGroupWriteExecute
dockerPermissionStrategy := DockerPermissionStrategy.CopyChown
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
ThisBuild / scalaVersion := "2.13.10"
ThisBuild / version := "1.0"
ThisBuild / publishTo := Some("Docker Hub" at "docker.io/ostabo/hex")
Docker / packageName := "ostabo/hex"
dockerRepository := Some("docker.io")
publishArtifact := false
// standard tcp ports
dockerExposedPorts ++= Seq(9000, 9001)
// for udp ports
dockerExposedUdpPorts += 4444
scalacOptions += "-Ytasty-reader"
lazy val root = (project in file("."))
.enablePlugins(PlayScala, SbtWeb, DockerPlugin)
.settings(
name := "Hexxagon-WA",
includeFilter in(Assets, LessKeys.less) := "*.less",
libraryDependencies ++= Seq(
guice,
"org.scalatestplus.play" %% "scalatestplus-play" % "5.1.0" % Test
)
)