summaryrefslogtreecommitdiff
path: root/build.sbt
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2017-01-25 13:50:15 +1000
committerSeth Tisue <seth@tisue.net>2017-01-27 09:31:08 -0800
commit35edd8f9bcfcd61ae560fdb7e77eb94c8b91dbb6 (patch)
treeb91891d478693443c6506d767d001e6cbcff5556 /build.sbt
parentbba5f5ad3c23bad8dfc60a6daad546b112678908 (diff)
downloadscala-35edd8f9bcfcd61ae560fdb7e77eb94c8b91dbb6.tar.gz
scala-35edd8f9bcfcd61ae560fdb7e77eb94c8b91dbb6.tar.bz2
scala-35edd8f9bcfcd61ae560fdb7e77eb94c8b91dbb6.zip
Update IntelliJ template configuration
- Remove obsolete references to subproject for actors, forkjoin - Add a new subproject for the scalacheck suite, as spawned in the previous commit
Diffstat (limited to 'build.sbt')
-rw-r--r--build.sbt3
1 files changed, 2 insertions, 1 deletions
diff --git a/build.sbt b/build.sbt
index 2200cdff77..6bb9c10166 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1036,7 +1036,7 @@ addCommandAlias("scalap", "scalap/compile:runMain scala.tools.sca
lazy val intellij = taskKey[Unit]("Update the library classpaths in the IntelliJ project files.")
-def moduleDeps(p: Project) = (externalDependencyClasspath in Compile in p).map(a => (p.id, a.map(_.data)))
+def moduleDeps(p: Project, config: Configuration = Compile) = (externalDependencyClasspath in config in p).map(a => (p.id, a.map(_.data)))
// aliases to projects to prevent name clashes
def compilerP = compiler
@@ -1068,6 +1068,7 @@ intellij := {
// moduleDeps(replJlineEmbedded).value, // No sources
// moduleDeps(root).value, // No sources
// moduleDeps(scalaDist).value, // No sources
+ moduleDeps(scalacheck, config = Test).value,
moduleDeps(scaladoc).value,
moduleDeps(scalap).value,
moduleDeps(testP).value)