diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-03-23 14:41:28 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-03-23 14:41:28 -0700 |
commit | 6173274e2731a69a92b2371662959eaf89dd6836 (patch) | |
tree | a9814b6d600559e584673cc46a55ab6277107208 /project | |
parent | 5574c7278e4b6687ed61aa62c1694a1adda1ab24 (diff) | |
parent | 845c4417510d7f19588e584db879c1099d3de1c3 (diff) | |
download | scala-6173274e2731a69a92b2371662959eaf89dd6836.tar.gz scala-6173274e2731a69a92b2371662959eaf89dd6836.tar.bz2 scala-6173274e2731a69a92b2371662959eaf89dd6836.zip |
Merge pull request #5055 from lrytz/merge-2.11-to-2.12-mar-21
Merge 2.11 to 2.12
Diffstat (limited to 'project')
-rw-r--r-- | project/plugins.sbt | 12 | ||||
-rw-r--r-- | project/project/plugins.sbt | 1 |
2 files changed, 13 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" diff --git a/project/project/plugins.sbt b/project/project/plugins.sbt new file mode 100644 index 0000000000..04935e4560 --- /dev/null +++ b/project/project/plugins.sbt @@ -0,0 +1 @@ +addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.6.1") |