| name := "GerritAnalytics" |
| |
| version := "1.0" |
| |
| scalaVersion := "2.11.8" |
| |
| libraryDependencies ++= Seq( |
| "org.apache.spark" %% "spark-core" % "2.1.1" % "provided" |
| exclude("org.spark-project.spark", "unused"), |
| "org.elasticsearch" %% "elasticsearch-spark-20" % "5.0.2" |
| excludeAll ExclusionRule(organization = "org.apache.spark"), |
| |
| // fixed versions for apache spark 2.1.1 |
| "org.json4s" %% "json4s-native" % "3.2.11", |
| "joda-time" % "joda-time" % "2.9.3", |
| |
| "com.github.scopt" %% "scopt" % "3.6.0", |
| "org.scalactic" %% "scalactic" % "3.0.1" % "test", |
| "org.scalatest" %% "scalatest" % "3.0.1" % "test" |
| ) |
| |
| mainClass in (Compile,run) := Some("com.gerritforge.analytics.job.Main") |