<commit_before>import sbt._
import sbt.Keys._
import com.earldouglas.xwp.XwpPlugin

object ApplicationBuild extends Build {

  val gwtModules = taskKey[Seq[String]]("the list of gwt modules to compile")
  val gwtCompile = taskKey[Unit]("invoke the gwt compiler")
  val gwtDevMode = taskKey[Unit]("invoke gwt dev mode")
  val gwtCodeServer = taskKey[Unit]("invoke gwt code server")

  val gwtVersion = "2.7.0"
  val jettyVersion = "8.1.12.v20130726" // this version is embedded in gwt 2.7
  //val jettyVersion = "9.2.6.v20141205"

  val main = Project(
    id = "scalabrad-web-gwt",
    base = file("."),
    settings = Project.defaultSettings ++ XwpPlugin.jetty() ++ Seq(
      version := "1.0-SNAPSHOT",
      scalaVersion := "2.11.6",
      resolvers += "bintray" at "http://jcenter.bintray.com",
      resolvers += "bintray-maffoo" at "http://dl.bintray.com/maffoo/maven",
      libraryDependencies ++= Seq(
        "org.eclipse.jetty" % "jetty-continuation" % jettyVersion withSources(),
        "org.eclipse.jetty" % "jetty-server" % jettyVersion withSources(),
        "org.eclipse.jetty" % "jetty-util" % jettyVersion withSources(),
        "com.google.inject" % "guice" % "3.0" withSources() exclude("asm", "asm"),
        "com.google.inject.extensions" % "guice-servlet" % "3.0" withSources(),
        "com.google.gwt" % "gwt-codeserver" % gwtVersion withSources(),
        "com.google.gwt" % "gwt-dev" % gwtVersion withSources(),
        "com.google.gwt" % "gwt-elemental" % gwtVersion withSources(),
        "com.google.gwt" % "gwt-servlet" % gwtVersion withSources(),
        "com.google.gwt" % "gwt-user" % gwtVersion withSources(),
        "com.google.gwt.inject" % "gin" % "2.1.2" withSources(),
        "com.googlecode.gflot" % "gflot" % "3.3.0" withSources(),
        "org.labrad" %% "scalabrad" % "0.2.0-M3-9" withSources()
      ),
      gwtModules := Seq("org.labrad.browser.LabradBrowser"),
      gwtCompile := {
        val srcs = (sourceDirectories in Compile).value
        val classes = (fullClasspath in Compile).value.map(_.data)
        val cp = srcs ++ classes<commit_msg>bump scalabrad version to 0.2.0-M3<commit_after>import sbt._
import sbt.Keys._
import com.earldouglas.xwp.XwpPlugin

object ApplicationBuild extends Build {

  val gwtModules = taskKey[Seq[String]]("the list of gwt modules to compile")
  val gwtCompile = taskKey[Unit]("invoke the gwt compiler")
  val gwtDevMode = taskKey[Unit]("invoke gwt dev mode")
  val gwtCodeServer = taskKey[Unit]("invoke gwt code server")

  val gwtVersion = "2.7.0"
  val jettyVersion = "8.1.12.v20130726" // this version is embedded in gwt 2.7
  //val jettyVersion = "9.2.6.v20141205"

  val main = Project(
    id = "scalabrad-web-gwt",
    base = file("."),
    settings = Project.defaultSettings ++ XwpPlugin.jetty() ++ Seq(
      version := "1.0-SNAPSHOT",
      scalaVersion := "2.11.6",
      resolvers += "bintray" at "http://jcenter.bintray.com",
      resolvers += "bintray-maffoo" at "http://dl.bintray.com/maffoo/maven",
      libraryDependencies ++= Seq(
        "org.eclipse.jetty" % "jetty-continuation" % jettyVersion withSources(),
        "org.eclipse.jetty" % "jetty-server" % jettyVersion withSources(),
        "org.eclipse.jetty" % "jetty-util" % jettyVersion withSources(),
        "com.google.inject" % "guice" % "3.0" withSources() exclude("asm", "asm"),
        "com.google.inject.extensions" % "guice-servlet" % "3.0" withSources(),
        "com.google.gwt" % "gwt-codeserver" % gwtVersion withSources(),
        "com.google.gwt" % "gwt-dev" % gwtVersion withSources(),
        "com.google.gwt" % "gwt-elemental" % gwtVersion withSources(),
        "com.google.gwt" % "gwt-servlet" % gwtVersion withSources(),
        "com.google.gwt" % "gwt-user" % gwtVersion withSources(),
        "com.google.gwt.inject" % "gin" % "2.1.2" withSources(),
        "com.googlecode.gflot" % "gflot" % "3.3.0" withSources(),
        "org.labrad" %% "scalabrad" % "0.2.0-M3" withSources()
      ),
      gwtModules := Seq("org.labrad.browser.LabradBrowser"),
      gwtCompile := {
        val srcs = (sourceDirectories in Compile).value
        val classes = (fullClasspath in Compile).value.map(_.data)
        val cp = srcs ++ classes
{'fraction_non_alphanumeric': 0.1625207296849088, 'fraction_numerical': 0.02392797915185975, 'mean_word_length': 3.1760633036597428, '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': '5858470', 'n_tokens_mistral': 1546, 'n_tokens_neox': 1504, 'n_words': 301}