diff options
author | Ismael Juma <ismael@juma.me.uk> | 2011-07-31 20:13:16 +0100 |
---|---|---|
committer | Ismael Juma <ismael@juma.me.uk> | 2011-07-31 20:17:58 +0100 |
commit | 7565cc2e339c26f1212f67c00ed68d38d56840b0 (patch) | |
tree | 97d00e0cd68f409a3328e7359bff0f68a25aeedc | |
parent | ecb8b69fa088764c109c74153f05ba8d2fc698d1 (diff) | |
download | spark-7565cc2e339c26f1212f67c00ed68d38d56840b0.tar.gz spark-7565cc2e339c26f1212f67c00ed68d38d56840b0.tar.bz2 spark-7565cc2e339c26f1212f67c00ed68d38d56840b0.zip |
Add type annotation to result of depJarSettings to workaround scalac bug.
-rw-r--r-- | project/DepJar.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/project/DepJar.scala b/project/DepJar.scala index 1d54005690..6ca00423be 100644 --- a/project/DepJar.scala +++ b/project/DepJar.scala @@ -90,7 +90,7 @@ object DepJarPlugin extends Plugin { descendants x relativeTo(base) } - lazy val depJarSettings = inConfig(DepJar)(Seq( + lazy val depJarSettings: Seq[Setting[_]] = inConfig(DepJar)(Seq( depJar <<= packageBin.identity, packageBin <<= assemblyTask, jarName <<= (name, version) { (name, version) => name + "-dep-" + version + ".jar" }, @@ -105,4 +105,4 @@ object DepJarPlugin extends Plugin { Seq( depJar <<= (depJar in DepJar).identity ) -}
\ No newline at end of file +} |