-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
52 lines (38 loc) · 1.33 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
enablePlugins(GitVersioning)
organization := "com.github.jw3"
name := "akka-injects"
git.useGitDescribe := true
licenses +=("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
crossScalaVersions := Seq("2.11.8", "2.12.6")
scalaVersion := "2.12.6"
scalacOptions ++= Seq(
"-target:jvm-1.8",
"-encoding", "UTF-8",
"-feature",
"-unchecked",
"-deprecation",
"-language:postfixOps",
"-language:implicitConversions",
"-Ywarn-unused-import",
"-Xfatal-warnings",
"-Xlint:_"
)
resolvers ++= Seq(
Resolver.bintrayRepo("jw3", "maven"),
Resolver.jcenterRepo
)
libraryDependencies ++= {
val akkaVersion = "2.5.14"
val scalatestVersion = "3.0.3"
Seq(
"com.iheart" %% "ficus" % "1.4.0",
"net.codingwell" %% "scala-guice" % "4.2.0",
"com.typesafe.akka" %% "akka-actor" % akkaVersion,
"com.typesafe.akka" %% "akka-slf4j" % akkaVersion % Runtime,
"com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
"org.scalactic" %% "scalactic" % scalatestVersion % Test,
"org.scalatest" %% "scalatest" % scalatestVersion % Test,
"com.typesafe.akka" %% "akka-testkit" % akkaVersion % Test
)
}
com.updateimpact.Plugin.apiKey in ThisBuild := sys.env.getOrElse("UPDATEIMPACT_API_KEY", (com.updateimpact.Plugin.apiKey in ThisBuild).value)