<commit_before>import sbt._
import Keys._

object ApplicationBuild extends Build {

  val appName         = "java-wrapper"
  val appVersion      = "0.3"
  val appScalaVersion = "2.11.1"
  //val appScalaBinaryVersion = "2.10"
  val appScalaCrossVersions = Seq("2.11.1", "2.10.4")

  val local: Project.Initialize[Option[sbt.Resolver]] = version { (version: String) =>
    val localPublishRepo = "./repository"
    if(version.trim.endsWith("SNAPSHOT"))
      Some(Resolver.file("snapshots", new File(localPublishRepo + "/snapshots")))
    else Some(Resolver.file("releases", new File(localPublishRepo + "/releases")))
  }

  lazy val baseSettings = Defaults.defaultSettings ++ Seq(
    scalaVersion := appScalaVersion,
    //scalaBinaryVersion := appScalaBinaryVersion,
    crossScalaVersions := appScalaCrossVersions,
    parallelExecution in Test := false
  )

  lazy val root = Project("root", base = file("."))
    .settings(baseSettings: _*)
    .settings(
      publishLocal := {},
      publish := {}
    ).aggregate(
      javawrapper
    )

  lazy val javawrapper = Project(appName, base = file("javawrapper"))
    .settings(baseSettings: _*)
    .settings(
      resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
      libraryDependencies += "org.reactivecouchbase" %% "reactivecouchbase-core" % "0.3",
      libraryDependencies += "org.reactivecouchbase" % "json-lib" % "0.3",
      libraryDependencies += "com.google.code.findbugs" % "jsr305" % "1.3.+",
      organization := "org.reactivecouchbase",
      version := appVersion,
      publishTo <<= local,
      publishMavenStyle := true,
      publishArtifact in Test := false,
      pomIncludeRepository := { _ => false }
    )
}<commit_msg>Update to 0.4 SNAPSHOT and use couchbase.akka<commit_after>import sbt._
import Keys._

object ApplicationBuild extends Build {

  val appName         = "java-wrapper"
  val appVersion      = "0.4-SNAPSHOT"
  val appScalaVersion = "2.11.1"
  //val appScalaBinaryVersion = "2.10"
  val appScalaCrossVersions = Seq("2.11.1", "2.10.4")

  val local: Project.Initialize[Option[sbt.Resolver]] = version { (version: String) =>
    val localPublishRepo = "./repository"
    if(version.trim.endsWith("SNAPSHOT"))
      Some(Resolver.file("snapshots", new File(localPublishRepo + "/snapshots")))
    else Some(Resolver.file("releases", new File(localPublishRepo + "/releases")))
  }

  lazy val baseSettings = Defaults.defaultSettings ++ Seq(
    scalaVersion := appScalaVersion,
    //scalaBinaryVersion := appScalaBinaryVersion,
    crossScalaVersions := appScalaCrossVersions,
    parallelExecution in Test := false
  )

  lazy val root = Project("root", base = file("."))
    .settings(baseSettings: _*)
    .settings(
      publishLocal := {},
      publish := {}
    ).aggregate(
      javawrapper
    )

  lazy val javawrapper = Project(appName, base = file("javawrapper"))
    .settings(baseSettings: _*)
    .settings(
      resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/",
      libraryDependencies += "org.reactivecouchbase" %% "reactivecouchbase-core" % "0.4-SNAPSHOT",
      libraryDependencies += "org.reactivecouchbase" % "json-lib" % "0.4-SNAPSHOT",
      libraryDependencies += "com.google.code.findbugs" % "jsr305" % "1.3.+",
      organization := "org.reactivecouchbase",
      version := appVersion,
      publishTo <<= local,
      publishMavenStyle := true,
      publishArtifact in Test := false,
      pomIncludeRepository := { _ => false }
    )
}
{'fraction_non_alphanumeric': 0.14164546225614927, 'fraction_numerical': 0.015267175572519083, 'mean_word_length': 3.4335839598997495, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '875844', 'n_tokens_mistral': 1172, 'n_tokens_neox': 1119, 'n_words': 224}