This repository has been archived by the owner on Apr 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathbuild.sbt
45 lines (31 loc) · 1.55 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
organization := "com.antonwierenga"
name := "amazonmq-cli"
version := "0.2.2"
scalaVersion := "2.11.6"
licenses += ("Apache-2.0", url("http://opensource.org/licenses/apache2.0.php"))
libraryDependencies += "org.springframework.shell" % "spring-shell" % "1.2.0.RELEASE"
libraryDependencies += "org.apache.activemq" % "activemq-all" % "5.15.9"
libraryDependencies += "com.typesafe" % "config" % "1.2.1"
libraryDependencies += "org.scala-lang" % "jline" % "2.11.0-M3"
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.0.3"
libraryDependencies += "junit" % "junit" % "4.8" % "test"
libraryDependencies += "com.novocode" % "junit-interface" % "0.11" % "test->default"
libraryDependencies += "net.sourceforge.htmlunit" % "htmlunit" % "2.36.0"
libraryDependencies += "javax.xml.bind" % "jaxb-api" % "2.3.1"
import scalariform.formatter.preferences._
scalariformSettings
ScalariformKeys.preferences := ScalariformKeys.preferences.value
.setPreference(AlignSingleLineCaseStatements, true)
.setPreference(AlignSingleLineCaseStatements.MaxArrowIndent, 100)
.setPreference(DoubleIndentClassDeclaration, true)
.setPreference(RewriteArrowSymbols, true)
import de.heikoseeberger.sbtheader.license.Apache2_0
headers := Map(
"scala" -> Apache2_0("2020", "Anton Wierenga"),
"conf" -> Apache2_0("2020", "Anton Wierenga", "#")
)
enablePlugins(AutomateHeaderPlugin)
enablePlugins(JavaAppPackaging)
resolvers += "sonatype-releases" at "https://oss.sonatype.org/content/repositories/releases/"
scalacOptions += "-target:jvm-1.7"
parallelExecution in Test := false