name := "silex"

organization := "com.redhat.et"

version := "0.0.4"

val SPARK_VERSION = "1.3.0"

scalaVersion := "2.10.4"

libraryDependencies += "org.apache.spark" %% "spark-core" % SPARK_VERSION % "provided"

libraryDependencies += "org.apache.spark" %% "spark-sql" % SPARK_VERSION % "provided"

libraryDependencies += "org.apache.spark" %% "spark-mllib" % SPARK_VERSION % "provided"

libraryDependencies ++= Seq("joda-time" % "joda-time" % "2.7", "org.joda" % "joda-convert" % "1.7")

libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % Test

seq(bintraySettings:_*)

seq(bintrayPublishSettings:_*)

licenses += ("Apache-2.0", url("http://opensource.org/licenses/Apache-2.0"))

scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")

scalacOptions in (Compile, doc) ++= Seq("-doc-root-content", baseDirectory.value+"/root-doc.txt")

fork := true

site.settings

site.includeScaladoc()

site.jekyllSupport()

ghpages.settings

git.remoteRepo := "git@github.com:willb/silex.git"
name := "silex"

organization := "com.redhat.et"

version := "0.0.4"

val SPARK_VERSION = "1.3.0"

scalaVersion := "2.10.4"

libraryDependencies += "org.apache.spark" %% "spark-core" % SPARK_VERSION

libraryDependencies += "org.apache.spark" %% "spark-sql" % SPARK_VERSION

libraryDependencies += "org.apache.spark" %% "spark-mllib" % SPARK_VERSION

libraryDependencies ++= Seq("joda-time" % "joda-time" % "2.7", "org.joda" % "joda-convert" % "1.7")

libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % Test

seq(bintraySettings:_*)

seq(bintrayPublishSettings:_*)

licenses += ("Apache-2.0", url("http://opensource.org/licenses/Apache-2.0"))

scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature")

scalacOptions in (Compile, doc) ++= Seq("-doc-root-content", baseDirectory.value+"/root-doc.txt")

fork := true

site.settings

site.includeScaladoc()

site.jekyllSupport()

ghpages.settings

git.remoteRepo := "git@github.com:willb/silex.git"
--- 
+++ 
@@ -8,11 +8,11 @@
 
 scalaVersion := "2.10.4"
 
-libraryDependencies += "org.apache.spark" %% "spark-core" % SPARK_VERSION
+libraryDependencies += "org.apache.spark" %% "spark-core" % SPARK_VERSION % "provided"
 
-libraryDependencies += "org.apache.spark" %% "spark-sql" % SPARK_VERSION
+libraryDependencies += "org.apache.spark" %% "spark-sql" % SPARK_VERSION % "provided"
 
-libraryDependencies += "org.apache.spark" %% "spark-mllib" % SPARK_VERSION
+libraryDependencies += "org.apache.spark" %% "spark-mllib" % SPARK_VERSION % "provided"
 
 libraryDependencies ++= Seq("joda-time" % "joda-time" % "2.7", "org.joda" % "joda-convert" % "1.7")
 
Set Spark dependencies to provided
