Skip to content
Snippets Groups Projects
Commit 9b7215d7 authored by Matei Zaharia's avatar Matei Zaharia
Browse files

Only include JAR files in lib in the unmanaged classpath.

parent 4cc5e51e
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ object SparkBuild extends Build { ...@@ -19,7 +19,7 @@ object SparkBuild extends Build {
version := "0.4-SNAPSHOT", version := "0.4-SNAPSHOT",
scalaVersion := "2.9.0-1", scalaVersion := "2.9.0-1",
scalacOptions := Seq(/*"-deprecation",*/ "-unchecked", "-optimize"), // -deprecation is too noisy due to usage of old Hadoop API, enable it once that's no longer an issue scalacOptions := Seq(/*"-deprecation",*/ "-unchecked", "-optimize"), // -deprecation is too noisy due to usage of old Hadoop API, enable it once that's no longer an issue
unmanagedJars in Compile <<= baseDirectory map { base => (base ** "*.jar").classpath }, unmanagedJars in Compile <<= baseDirectory map { base => (base / "lib" ** "*.jar").classpath },
retrieveManaged := true, retrieveManaged := true,
transitiveClassifiers in Scope.GlobalScope := Seq("sources"), transitiveClassifiers in Scope.GlobalScope := Seq("sources"),
testListeners <<= target.map(t => Seq(new eu.henkelmann.sbt.JUnitXmlTestsListener(t.getAbsolutePath))), testListeners <<= target.map(t => Seq(new eu.henkelmann.sbt.JUnitXmlTestsListener(t.getAbsolutePath))),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment