/
build.sbt
56 lines (40 loc) · 1.42 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
enablePlugins(Sonatype)
name := "jms-testkit"
organization := "io.github.sullis"
scalaVersion := "2.12.19"
crossScalaVersions := Seq(scalaVersion.value, "2.11.12", "2.13.13", "3.4.1")
scalacOptions += "-target:jvm-1.8"
scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) =>
Seq("-source:3.0-migration", "-explain", "-explain-types")
case _ =>
Nil
}
}
javacOptions ++= Seq("-source", "1.8", "-target", "1.8")
parallelExecution := true
val activeMqVersion = "5.16.7"
libraryDependencies ++= Seq(
"org.apache.activemq" % "activemq-broker" % activeMqVersion,
"org.apache.activemq" % "activemq-client" % activeMqVersion,
"org.scalatest" %% "scalatest" % "3.2.18" % Test,
"org.testng" % "testng" % "7.9.0" % Test,
"com.google.guava" % "guava" % "33.1.0-jre" % Test,
"ch.qos.logback" % "logback-classic" % "1.5.6" % Test,
"ch.qos.logback" % "logback-core" % "1.5.6" % Test
)
updateOptions := updateOptions.value.withGigahorse(false)
Test / publishArtifact := false
pomIncludeRepository := { _ => false }
licenses := Seq("APL2" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("https://github.com/sullis/jms-testkit"))
pomExtra := (
<developers>
<developer>
<id>sullis</id>
<name>Sean C. Sullivan</name>
<url>https://github.com/sullis</url>
</developer>
</developers>
)