diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-03-21 11:54:44 +0100 |
---|---|---|
committer | Lukas Rytz <lukas.rytz@gmail.com> | 2016-03-21 12:01:33 +0100 |
commit | 4f7cf6084482171dcf7419b874843ee23b3b29c6 (patch) | |
tree | 14668ffe0e9169551ac13be58290b6ff57e06b02 /project/plugins.sbt | |
parent | 12bf411cebf9da6bfdb5436c3b2f02fef454c44d (diff) | |
parent | 5f5cc186cbedff6dc55993cb3b0dcfe36038efa1 (diff) | |
download | scala-4f7cf6084482171dcf7419b874843ee23b3b29c6.tar.gz scala-4f7cf6084482171dcf7419b874843ee23b3b29c6.tar.bz2 scala-4f7cf6084482171dcf7419b874843ee23b3b29c6.zip |
Merge commit '5f5cc18' into merge-2.11-to-2.12-mar-21
Diffstat (limited to 'project/plugins.sbt')
-rw-r--r-- | project/plugins.sbt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/project/plugins.sbt b/project/plugins.sbt index 02d66a16dd..23e71c1f26 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,3 +3,15 @@ libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.3.2" libraryDependencies += "org.pantsbuild" % "jarjar" % "1.6.0" 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 list of entries on the sbt build classpath.") + +buildClasspath := (externalDependencyClasspath in Compile).value.map(_.data).mkString(":") + +buildInfoKeys := Seq[BuildInfoKey](buildClasspath) + +buildInfoPackage := "scalabuild" |