name := "spark2runtime"

version := "1.0"

scalaVersion := "2.11.8"

libraryDependencies += "org.apache.spark" %% "spark-core" % "2.0.0-preview"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.0.0-preview"
libraryDependencies += "com.google.code.gson" % "gson" % "2.7"

name := "spark2runtime"

version := "1.0"

scalaVersion := "2.11.8"

resolvers += "apache-snapshots" at "http://repository.apache.org/snapshots/"

libraryDependencies += "org.apache.spark" %% "spark-core" % "2.0.0-SNAPSHOT"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.0.0-SNAPSHOT"
libraryDependencies += "com.google.code.gson" % "gson" % "2.7"
--- 
+++ 
@@ -4,8 +4,6 @@
 
 scalaVersion := "2.11.8"
 
-resolvers += "apache-snapshots" at "http://repository.apache.org/snapshots/"
-
-libraryDependencies += "org.apache.spark" %% "spark-core" % "2.0.0-SNAPSHOT"
-libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.0.0-SNAPSHOT"
+libraryDependencies += "org.apache.spark" %% "spark-core" % "2.0.0-preview"
+libraryDependencies += "org.apache.spark" %% "spark-sql" % "2.0.0-preview"
 libraryDependencies += "com.google.code.gson" % "gson" % "2.7"
Use spark2 preview instead of snapshot
