build.sbt: how to add spark dependencies
<p>Hello I am trying to download <code>spark-core</code>, <code>spark-streaming</code>, <code>twitter4j</code>, and <code>spark-streaming-twitter</code> in the build.sbt file below:</p>

<pre><code>name := "hello"

version := "1.0"

scalaVersion := "2.11.8"

libraryDependencies += "org.apache.spark" %% "spark-core" % "1.6.1"
libraryDependencies += "org.apache.spark" % "spark-streaming_2.10" % "1.4.1"

libraryDependencies ++= Seq(
  "org.twitter4j" % "twitter4j-core" % "3.0.3",
  "org.twitter4j" % "twitter4j-stream" % "3.0.3"
)

libraryDependencies += "org.apache.spark" % "spark-streaming-twitter_2.10" % "0.9.0-incubating"
</code></pre>

<p>I simply took this <code>libraryDependencies</code> online so I am not sure which versions, etc. to use. </p>

<p>Can someone please explain to me how I should fix this .sbt files. I spent a couple hours trying to figure it out but none of the suggesstion worked. I installed <code>scala</code> through homebrew and I am on version <code>2.11.8</code></p>

<p>All of my errors were about: </p>

<pre><code>Modules were resolved with conflicting cross-version suffixes.
</code></pre>