-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
29 lines (17 loc) · 990 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
name := "myriad"
organization := "com.trifectalabs"
version := IO.read(file(".").getParentFile() / "VERSION").stripLineEnd
scalaVersion := "2.11.7"
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
resolvers += "Akka Snapshot Repository" at "http://repo.akka.io/snapshots/"
libraryDependencies ++= Seq(
"com.typesafe.akka" %% "akka-actor" % "2.4-M3",
"com.typesafe.akka" %% "akka-testkit" % "2.4-M3",
"org.scalatest" % "scalatest_2.11" % "2.2.4" % "test",
"com.typesafe" % "config" % "1.3.0")
lazy val compileScalastyle = taskKey[Unit]("compileScalastyle")
compileScalastyle := org.scalastyle.sbt.ScalastylePlugin.scalastyle.in(Compile).toTask("").value
(compile in Compile) <<= (compile in Compile) dependsOn compileScalastyle
lazy val testScalastyle = taskKey[Unit]("testScalastyle")
testScalastyle := org.scalastyle.sbt.ScalastylePlugin.scalastyle.in(Test).toTask("").value
(test in Test) <<= (test in Test) dependsOn testScalastyle