-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.sbt
54 lines (39 loc) · 1.38 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
enablePlugins(Sonatype)
name := "jms-testkit"
organization := "io.github.sullis"
scalaVersion := "2.12.20"
crossScalaVersions := Seq(scalaVersion.value, "2.11.12", "2.13.15", "3.6.2")
scalacOptions ++= {
CrossVersion.partialVersion(scalaVersion.value) match {
case Some((3, _)) =>
Seq("-source:3.0-migration", "-explain", "-explain-types")
case _ =>
Nil
}
}
javacOptions ++= Seq("-source", "11", "-target", "11")
parallelExecution := true
val activeMqVersion = "5.18.6"
libraryDependencies ++= Seq(
"org.apache.activemq" % "activemq-broker" % activeMqVersion,
"org.apache.activemq" % "activemq-client" % activeMqVersion,
"org.scalatest" %% "scalatest" % "3.2.19" % Test,
"org.testng" % "testng" % "7.10.2" % Test,
"com.google.guava" % "guava" % "33.4.0-jre" % Test,
"ch.qos.logback" % "logback-classic" % "1.5.15" % Test,
"ch.qos.logback" % "logback-core" % "1.5.15" % 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>
)