forked from naphthalene/gocd-hipchat-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
32 lines (21 loc) · 989 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
name := "gocd-hipchat-plugin"
version := "1.0"
scalaVersion := "2.10.4"
val goVersion = "14.4.0"
packageOptions in (Compile, packageBin) +=
Package.ManifestAttributes( "Go-Version" -> goVersion )
artifactName := { (sv: ScalaVersion, module: ModuleID, artifact: Artifact) =>
artifact.name + "." + artifact.extension
}
assemblyJarName in assembly := name.value + ".jar"
scalariformSettings
libraryDependencies ++= Seq(
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
"org.scala-lang" % "scala-library" % scalaVersion.value,
"org.scala-lang" % "scala-reflect" % scalaVersion.value,
"org.scalaj" %% "scalaj-http" % "1.0.1",
"org.json4s" %% "json4s-native" % "3.2.11" exclude("org.scala-lang", "scalap"),
"com.thoughtworks.go" %% "go-plugin-api" % "current" % "provided" from "https://bintray.com/artifact/download/gocd/gocd/go-plugin-api-14.4.0.jar"
)
scalacOptions += "-target:jvm-1.7"
libraryDependencies += "org.specs2" %% "specs2" % "2.4.2" % "test"