<commit_before>import sbt._
import Keys._
import spray.revolver.RevolverPlugin._
import com.typesafe.sbt.pgp.PgpKeys._
import scoverage.ScoverageSbtPlugin.ScoverageKeys._

object ColossusBuild extends Build {

  val AKKA_VERSION            = "2.3.9"
  val SCALATEST_VERSION       = "2.2.0"

  lazy val testAll = TaskKey[Unit]("test-all")

  val GeneralSettings = Seq[Setting[_]](


    compile <<= (compile in Compile) dependsOn (compile in Test) dependsOn (compile in IntegrationTest),
    (testAll) <<= (test in Test) dependsOn (test in IntegrationTest),
    organization := "com.tumblr",
    scalaVersion  := "2.11.7",
    crossScalaVersions := Seq("2.10.4", "2.11.7"),
    version                   := "0.6.8-SNAPSHOT",
    parallelExecution in Test := false,
    scalacOptions <<= scalaVersion map { v: String =>
      val default = List(
        "-feature", 
        "-language:implicitConversions", 
        "-language:postfixOps", 
        "-unchecked", 
        "-deprecation"
      )
      if (v.startsWith("2.10.")) default else "-Ywarn-unused-import" :: default
    },
    libraryDependencies ++= Seq (
      "com.typesafe.akka" %% "akka-actor"   % AKKA_VERSION,
      "com.typesafe.akka" %% "akka-agent"   % AKKA_VERSION,
      "com.typesafe.akka" %% "akka-testkit" % AKKA_VERSION,
      "org.scalatest"     %% "scalatest" % SCALATEST_VERSION % "test, it",
      "org.mockito" % "mockito-all" % "1.9.5" % "test",
      "com.github.nscala-time" %% "nscala-time" % "1.2.0"
    ),
    coverageExcludedPackages := "colossus\\.examples\\..*;.*\\.testkit\\.*"
  ) ++ Defaults.itSettings

  val ColossusSettings = GeneralSettings ++ Publish.settings
  
  val noPubSettings = GeneralSettings ++ Seq(
    publishArtifact := false,
    publishTo := Some(Resolver.file("Unused transient repository", file("target/unusedrepo"))) <commit_msg>milestone release 0.6.8-M2<commit_after>import sbt._
import Keys._
import spray.revolver.RevolverPlugin._
import com.typesafe.sbt.pgp.PgpKeys._
import scoverage.ScoverageSbtPlugin.ScoverageKeys._

object ColossusBuild extends Build {

  val AKKA_VERSION            = "2.3.9"
  val SCALATEST_VERSION       = "2.2.0"

  lazy val testAll = TaskKey[Unit]("test-all")

  val GeneralSettings = Seq[Setting[_]](


    compile <<= (compile in Compile) dependsOn (compile in Test) dependsOn (compile in IntegrationTest),
    (testAll) <<= (test in Test) dependsOn (test in IntegrationTest),
    organization := "com.tumblr",
    scalaVersion  := "2.11.7",
    crossScalaVersions := Seq("2.10.4", "2.11.7"),
    version                   := "0.6.8-M2",
    parallelExecution in Test := false,
    scalacOptions <<= scalaVersion map { v: String =>
      val default = List(
        "-feature", 
        "-language:implicitConversions", 
        "-language:postfixOps", 
        "-unchecked", 
        "-deprecation"
      )
      if (v.startsWith("2.10.")) default else "-Ywarn-unused-import" :: default
    },
    libraryDependencies ++= Seq (
      "com.typesafe.akka" %% "akka-actor"   % AKKA_VERSION,
      "com.typesafe.akka" %% "akka-agent"   % AKKA_VERSION,
      "com.typesafe.akka" %% "akka-testkit" % AKKA_VERSION,
      "org.scalatest"     %% "scalatest" % SCALATEST_VERSION % "test, it",
      "org.mockito" % "mockito-all" % "1.9.5" % "test",
      "com.github.nscala-time" %% "nscala-time" % "1.2.0"
    ),
    coverageExcludedPackages := "colossus\\.examples\\..*;.*\\.testkit\\.*"
  ) ++ Defaults.itSettings

  val ColossusSettings = GeneralSettings ++ Publish.settings
  
  val noPubSettings = GeneralSettings ++ Seq(
    publishArtifact := false,
    publishTo := Some(Resolver.file("Unused transient repository", file("target/unusedrepo"))) 
{'fraction_non_alphanumeric': 0.1541587645624492, 'fraction_numerical': 0.017610403684638308, 'mean_word_length': 2.9528907922912206, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 5, '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': '191076', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1252, 'n_words': 242}