forked from scala/scala
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.sbt
34 lines (21 loc) · 1.24 KB
/
plugins.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
scalacOptions ++= Seq("-unchecked", "-feature", /*"-deprecation",*/
"-Xlint" /*, "-Xfatal-warnings"*/)
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.3.2"
libraryDependencies += "org.pantsbuild" % "jarjar" % "1.6.5"
libraryDependencies += "biz.aQute.bnd" % "biz.aQute.bnd" % "2.4.1"
enablePlugins(BuildInfoPlugin)
// configure sbt-buildinfo to send the externalDependencyClasspath to the main build, which allows using it for the IntelliJ project config
lazy val buildClasspath = taskKey[String]("Colon-separated (or semicolon-separated in case of Windows) list of entries on the sbt build classpath.")
buildClasspath := (externalDependencyClasspath in Compile).value.map(_.data).mkString(java.io.File.pathSeparator)
buildInfoKeys := Seq[BuildInfoKey](buildClasspath)
buildInfoPackage := "scalabuild"
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.15")
libraryDependencies ++= Seq(
"org.eclipse.jgit" % "org.eclipse.jgit" % "4.6.0.201612231935-r",
"org.slf4j" % "slf4j-nop" % "1.7.23",
"com.googlecode.java-diff-utils" % "diffutils" % "1.3.0"
)
concurrentRestrictions in Global := Seq(
Tags.limitAll(1) // workaround for https://github.com/sbt/sbt/issues/2970
)
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.3")