<commit_before>name := "sentries"

organization := "nl.grons"

version := "0.1.2-SNAPSHOT"

scalaVersion := "2.9.2"

crossScalaVersions := Seq("2.9.1", "2.9.1-1", "2.9.2")
// crossScalaVersions := Seq("2.9.1", "2.9.1-1", "2.9.2", "2.10.0-M7")

resolvers ++= Seq(
  "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository",
  "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
)

libraryDependencies <++= (scalaVersion) { v: String =>
  if (v.startsWith("2.10"))     Seq("com.yammer.metrics" % "metrics-core" % "2.1.2",
                                    "org.specs2" %% "specs2" % "1.11" % "test")
  else if (v.startsWith("2.9")) Seq("com.yammer.metrics" % "metrics-core" % "2.1.2",
                                    "com.typesafe.akka" % "akka-actor" % "2.0.3",
                                    "org.specs2" %% "specs2" % "1.11" % "test")
  else Seq()
}

javacOptions ++= Seq("-Xmx512m", "-Xms128m", "-Xss10m")

javaOptions += "-Xmx512m"

scalacOptions ++= Seq("-deprecation", "-unchecked")

publishTo <<= version { v: String =>
  val nexus = "https://oss.sonatype.org/"
  if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
  else                             Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials")

publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

licenses := Seq("BSD-style" -> url("http://www.opensource.org/licenses/bsd-license.php"))<commit_msg>Updated specs2 from 1.11 to 1.12.1.<commit_after>name := "sentries"

organization := "nl.grons"

version := "0.1.2-SNAPSHOT"

scalaVersion := "2.9.2"

crossScalaVersions := Seq("2.9.1", "2.9.1-1", "2.9.2")
// crossScalaVersions := Seq("2.9.1", "2.9.1-1", "2.9.2", "2.10.0-M7")

resolvers ++= Seq(
  "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository",
  "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
)

libraryDependencies <++= (scalaVersion) { v: String =>
  if (v.startsWith("2.10"))     Seq("com.yammer.metrics" % "metrics-core" % "2.1.2",
                                    "org.specs2" %% "specs2" % "1.12.1" % "test")
  else if (v.startsWith("2.9")) Seq("com.yammer.metrics" % "metrics-core" % "2.1.2",
                                    "com.typesafe.akka" % "akka-actor" % "2.0.3",
                                    "org.specs2" %% "specs2" % "1.12.1" % "test")
  else Seq()
}

javacOptions ++= Seq("-Xmx512m", "-Xms128m", "-Xss10m")

javaOptions += "-Xmx512m"

scalacOptions ++= Seq("-deprecation", "-unchecked")

publishTo <<= version { v: String =>
  val nexus = "https://oss.sonatype.org/"
  if (v.trim.endsWith("SNAPSHOT")) Some("snapshots" at nexus + "content/repositories/snapshots")
  else                             Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

credentials += Credentials(Path.userHome / ".sbt" / "sonatype.credentials")

publishMavenStyle := true

publishArtifact in Test := false

pomIncludeRepository := { _ => false }

licenses := Seq("BSD-style" -> url("http://www.opensource.org/licenses/bsd-license.php"))
{'fraction_non_alphanumeric': 0.20655534941249226, 'fraction_numerical': 0.04514533085961658, 'mean_word_length': 2.8788968824940047, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '697359', 'n_tokens_mistral': 1304, 'n_tokens_neox': 1234, 'n_words': 200}