-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
78 lines (76 loc) · 1.77 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
lazy val Jleon = (project in file("."))
.enablePlugins(
// AshScriptPlugin,
// DockerPlugin,
// JavaAppPackaging,
SbtScalariform
// ScalaNativePlugin
)
.settings(
organization := "good-vibez",
name := "jleon",
version := "0.0.1",
scalaVersion := "2.12.2"
)
.settings(
// Extra project settings
ProjectConfiguration.ProjectSettings: _*
)
.settings(
// Scoverage settings
ScoverageConfiguration.ScoverageSettings: _*
)
.settings(
// Scalariform settings
ScalariformConfiguration.ScalariformSettings: _*
)
.settings(
// Scaladoc settings
ScaladocConfiguration.ProjectSettings: _*
)
.settings(
ScalacheckConfiguration.ProjectSettings: _*
)
.settings(
// Telephony providers settings
TelephonyConfiguration.ProjectSettings: _*
)
.settings(
// Akka settings
AkkaConfiguration.ProjectSettings: _*
)
.settings(
Experimental.ProjectSettings: _*
)
.settings(
//
// Docker Plugin Configuration
//
packageName in Docker := "jleon",
dockerBaseImage := "openjdk:8-jre-alpine",
dockerExposedPorts := Seq(8080),
dockerUpdateLatest := true,
scalacOptions ++= Seq(
"-deprecation",
"-encoding", "UTF-8",
"-explaintypes",
"-feature",
"-target:jvm-1.8",
"-unchecked",
"-Xfuture",
"-Xlint",
// "-Xprint:type",
// "-Xlog-implicits",
"-Yno-adapted-args",
"-Ywarn-dead-code",
"-Ywarn-numeric-widen",
"-Ywarn-unused",
"-Ywarn-unused-import",
"-Ywarn-value-discard"
),
libraryDependencies ++= Seq(
"ch.qos.logback" % "logback-classic" % "1.1.7",
"com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
"javax.sip" % "jain-sip-ri" % "1.2.324"
)
)