<commit_before>name := """shaolin"""

version := "1.0"

scalaVersion := "2.11.6"

licenses := Seq("BSD-3" -> url("http://opensource.org/licenses/BSD-3-Clause"))


// Change this to another test framework if you prefer
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test"
// "org.scalacheck" %% "scalacheck" % "1.12.2" % "test"

val sbtRcVersion = "0.3.2"
val sbtrcClient          = "com.typesafe.sbtrc" % "client-2-11" % sbtRcVersion
val sbtrcIntegration     = "com.typesafe.sbtrc" % "integration-tests" % sbtRcVersion

// Uncomment to use Akka
val akkaVersion = "2.3.11"
val akka = "com.typesafe.akka" %% "akka-actor" % akkaVersion
val akkaTesting = "com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test"
val akkaLogging = "com.typesafe.akka" %% "akka-slf4j" % akkaVersion

val slf4j = "org.slf4j" % "slf4j-api" % "1.7.5"
val logback = "ch.qos.logback" % "logback-classic" % "1.0.13"

val sprayVersion = "1.3.3"
val sprayCan = "io.spray" %% "spray-can" % sprayVersion
val sprayRouting = "io.spray" %% "spray-routing" % sprayVersion
val sprayJson = "io.spray" %%  "spray-json" % "1.3.2"
// "io.spray" %%  "spray-client" % sprayVersion
Revolver.settings

libraryDependencies ++= Seq(sbtrcClient, sbtrcIntegration,
                            akka, akkaTesting, akkaLogging, slf4j, logback,
                            sprayCan, sprayRouting, sprayJson)


enablePlugins(JavaAppPackaging)

initialCommands in console := """
import akka.actor._
import akka.pattern.ask
import shaolin.SbtBridge
import SbtBridge._
import akka.util.Timeout
import scala.concurrent.duration._
val sys = ActorSystem("shaolin")
val sb = sys.actorOf(props(new java.io.File("/tmp/java-fun")))
implicit val timeout = Timeout(2.seconds)
"""<commit_msg>Updating dependencies.<commit_after>name := """shaolin"""

version := "1.0"

scalaVersion := "2.11.6"

licenses := Seq("BSD-3" -> url("http://opensource.org/licenses/BSD-3-Clause"))


// Change this to another test framework if you prefer
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.5" % "test"
// "org.scalacheck" %% "scalacheck" % "1.12.2" % "test"

resolvers += "Typesafe Releases" at "https://repo.typesafe.com/typesafe/releases/"
val sbtRcVersion = "0.3.5"
val sbtrcClient          = "com.typesafe.sbtrc" % "client-2-11" % sbtRcVersion
// val sbtrcIntegration     = "com.typesafe.sbtrc" % "integration-tests" % sbtRcVersion

// Uncomment to use Akka
val akkaVersion = "2.3.11"
val akka = "com.typesafe.akka" %% "akka-actor" % akkaVersion
val akkaTesting = "com.typesafe.akka" %% "akka-testkit" % akkaVersion % "test"
val akkaLogging = "com.typesafe.akka" %% "akka-slf4j" % akkaVersion

val slf4j = "org.slf4j" % "slf4j-api" % "1.7.12"
val logback = "ch.qos.logback" % "logback-classic" % "1.1.3"

val sprayVersion = "1.3.3"
val sprayCan = "io.spray" %% "spray-can" % sprayVersion
val sprayRouting = "io.spray" %% "spray-routing" % sprayVersion
val sprayJson = "io.spray" %%  "spray-json" % "1.3.2"
// "io.spray" %%  "spray-client" % sprayVersion
Revolver.settings

libraryDependencies ++= Seq(sbtrcClient, //sbtrcIntegration,
                            akka, akkaTesting, akkaLogging, slf4j, logback,
                            sprayCan, sprayRouting, sprayJson)


enablePlugins(JavaAppPackaging)

initialCommands in console := """
import akka.actor._
import akka.pattern.ask
import shaolin.SbtBridge
import SbtBridge._
import akka.util.Timeout
import scala.concurrent.duration._
val sys = ActorSystem("shaolin")
val sb = sys.actorOf(props(new java.io.File("/tmp/java-fun")))
implicit val timeout = Timeout(2.seconds)
"""
{'fraction_non_alphanumeric': 0.16392986362371278, 'fraction_numerical': 0.02449206790982466, 'mean_word_length': 3.8371467025572006, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 1, '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': '1390233', 'n_tokens_mistral': 1414, 'n_tokens_neox': 1341, 'n_words': 272}