<commit_before>resolvers += Resolver.sonatypeRepo("releases")

resolvers += "twitter-repo" at "http://maven.twttr.com"

updateOptions := updateOptions.value.withCachedResolution(cachedResoluton = true)

val productionDependencies = Seq(
  "org.json4s" %% "json4s-native" % "3.2.11"
    exclude("org.scala-lang", "scala-compiler")
  ,
  "org.json4s" %% "json4s-ext" % "3.2.11",

  // TODO - CAS - 08/09/15 - Holy shit: this is an insane dependency tree. Thanks Finatra.
  "com.twitter.finatra" %% "finatra-http" % "2.0.0.RC1" withSources(),
  "com.twitter.finatra" %% "finatra-http" % "2.0.0.RC1" % "test" withSources(),
  "com.twitter.finatra" %% "finatra-http" % "2.0.0.RC1" % "test" classifier "tests" withSources(),
  "com.twitter.inject" %% "inject-server" % "2.0.0.RC1" % "test" withSources(),
  "com.twitter.inject" %% "inject-server" % "2.0.0.RC1" % "test" classifier "tests" withSources(),
  "com.twitter.inject" %% "inject-app" % "2.0.0.RC1" % "test" withSources(),
  "com.twitter.inject" %% "inject-app" % "2.0.0.RC1" % "test" classifier "tests" withSources(),
  "com.twitter.inject" %% "inject-core" % "2.0.0.RC1" % "test" withSources(),
  "com.twitter.inject" %% "inject-core" % "2.0.0.RC1" % "test" classifier "tests" withSources(),
  "com.twitter.inject" %% "inject-modules" % "2.0.0.RC1" % "test" withSources(),
  "com.twitter.inject" %% "inject-modules" % "2.0.0.RC1" % "test" classifier "tests" withSources(),
  "com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
  "org.slf4j" % "slf4j-simple" % "1.7.12"
  //    exclude("org.scalatest", "scalatest_2.10")
  //    exclude("com.google.code.findbugs", "jsr305")
)

val testDependencies = Seq(
  "org.scalatest" %% "scalatest" % "2.2.4" % "test",
  "junit" % "junit" % "4.11" % "test",
  "org.mockito" % "mockito-all" % "2.0.2-beta" % "test",
  "org.scalamock" %% "scalamock-scalatest-support" % "3.2.1" % "test"
)

libraryDependencies ++= productionDependencies ++ testDependencies

// fixes the "Multiple dependencies with the same organization/name but different versions" warning<commit_msg>Update finatra version. They still haven't fixed the dependency issues.<commit_after>resolvers += Resolver.sonatypeRepo("releases")

resolvers += "twitter-repo" at "http://maven.twttr.com"

updateOptions := updateOptions.value.withCachedResolution(cachedResoluton = true)

val finatraVersion = "2.0.1"

val productionDependencies = Seq(
  "org.json4s" %% "json4s-native" % "3.2.11"
    exclude("org.scala-lang", "scala-compiler")
  ,
  "org.json4s" %% "json4s-ext" % "3.2.11",

  // TODO - CAS - 08/09/15 - Holy shit: this is an insane dependency tree. Thanks Finatra.
  "com.twitter.finatra" %% "finatra-http" % finatraVersion withSources(),
  "com.twitter.finatra" %% "finatra-http" % finatraVersion % "test" withSources(),
  "com.twitter.finatra" %% "finatra-http" % finatraVersion % "test" classifier "tests" withSources(),
  "com.twitter.inject" %% "inject-server" % finatraVersion % "test" withSources(),
  "com.twitter.inject" %% "inject-server" % finatraVersion % "test" classifier "tests" withSources(),
  "com.twitter.inject" %% "inject-app" % finatraVersion % "test" withSources(),
  "com.twitter.inject" %% "inject-app" % finatraVersion % "test" classifier "tests" withSources(),
  "com.twitter.inject" %% "inject-core" % finatraVersion % "test" withSources(),
  "com.twitter.inject" %% "inject-core" % finatraVersion % "test" classifier "tests" withSources(),
  "com.twitter.inject" %% "inject-modules" % finatraVersion % "test" withSources(),
  "com.twitter.inject" %% "inject-modules" % finatraVersion % "test" classifier "tests" withSources(),
  "com.typesafe.scala-logging" %% "scala-logging-slf4j" % "2.1.2",
  "org.slf4j" % "slf4j-simple" % "1.7.12"
  //    exclude("org.scalatest", "scalatest_2.10")
  //    exclude("com.google.code.findbugs", "jsr305")
)

val testDependencies = Seq(
  "org.scalatest" %% "scalatest" % "2.2.4" % "test",
  "junit" % "junit" % "4.11" % "test",
  "org.mockito" % "mockito-all" % "2.0.2-beta" % "test",
  "org.scalamock" %% "scalamock-scalatest-support" % "3.2.1" % "test"
)

libraryDependencies ++= productionDependencies ++ testDependencies

// fixes the "Multiple dependencies with the same organization/name but different versions" warning
{'fraction_non_alphanumeric': 0.19803140379657838, 'fraction_numerical': 0.032575580032809935, 'mean_word_length': 4.375314861460957, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1253440', 'n_tokens_mistral': 1661, 'n_tokens_neox': 1565, 'n_words': 293}