ThisBuild / version := "0.1.0-SNAPSHOT"

ThisBuild / scalaVersion := "2.13.8"
scalaVersion := "2.12.0"
val sparkVersion = "3.2.1"

lazy val akkaHttpVersion = "10.2.9"
lazy val akkaVersion    = "2.6.19"

libraryDependencies += "org.apache.spark" %% "spark-core" % sparkVersion
libraryDependencies += "org.apache.spark" %% "spark-sql" % sparkVersion

libraryDependencies += "com.typesafe.akka" %% "akka-http"  % akkaHttpVersion
libraryDependencies += "com.typesafe.akka" %% "akka-http-spray-json"     % akkaHttpVersion
libraryDependencies += "com.typesafe.akka" %% "akka-actor-typed"         % akkaVersion
libraryDependencies += "com.typesafe.akka" %% "akka-stream"              % akkaVersion
libraryDependencies += "ch.qos.logback"    % "logback-classic"           % "1.2.11"

libraryDependencies += "org.json4s" %% "json4s-native" % "3.5.1"
libraryDependencies += "org.json4s" %% "json4s-jackson" % "3.5.1"


lazy val root = (project in file("."))
  .settings(
    name := "SparkTest"
  )
