<commit_before>import sbt._, Keys._
import skinny.scalate.ScalatePlugin._, ScalateKeys._
import skinny.servlet._, ServletPlugin._, ServletKeys._
import org.sbtidea.SbtIdeaPlugin._

import scala.language.postfixOps

// -------------------------------------------------------
// Common Settings
// -------------------------------------------------------

val appOrganization = "jp.co.atware"
val appName = "sharedocs"
val appVersion = "1.0.0-SNAPSHOT"

val skinnyVersion = "2.3.1"
val theScalaVersion = "2.11.8" // 2.12.0 is available if you don't mind if `skinny console` doesn't work ;(
val jettyVersion = "9.3.14.v20161028"

lazy val baseSettings = servletSettings ++ Seq(
  organization := appOrganization,
  name         := appName,
  version      := appVersion,
  scalaVersion := theScalaVersion,
  dependencyOverrides := Set(
    "org.scala-lang"         %  "scala-library"            % scalaVersion.value,
    "org.scala-lang"         %  "scala-reflect"            % scalaVersion.value,
    "org.scala-lang"         %  "scala-compiler"           % scalaVersion.value,
    "org.scala-lang.modules" %% "scala-xml"                % "1.0.6",
    "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
    "org.slf4j"              %  "slf4j-api"                % "1.7.21"
  ),
  libraryDependencies ++= Seq(
    "org.skinny-framework"    %% "skinny-framework"     % skinnyVersion,
    "org.skinny-framework"    %% "skinny-assets"        % skinnyVersion,
    "org.skinny-framework"    %% "skinny-task"          % skinnyVersion,
    "org.skinny-framework"    %  "skinny-logback"       % "1.0.9",
    "org.skinny-framework"    %% "skinny-oauth2-controller" % skinnyVersion,
    "org.skinny-framework"    %% "skinny-scaldi"        % skinnyVersion,
    "com.h2database"          %  "h2"                   % "1.4.193",
    "org.postgresql"          %  "postgresql"           % "9.4-1206-jdbc42",
    "org.skinny-framework"    %% "skinny-factory-girl"  % skinnyVersion   % "test",
    "org.skinny-framework"    %% "skinny-test"          % skinnyVersion   % "test",
    "org.eclipse.jetty"       %  "jetty-webapp"         % jettyVersion    % "container",
    "org.eclipse.jetty"       %  "jetty-plus"           % jettyVersion    % "container",
    "javax.servlet"           %  "javax.servlet-api"    % "3.1.0"         % "container;provided;test",
    "org.pegdown"             %  "pegdown"              % "1.6.0",
    "org.scilab.forge"        %  "jlatexmath"           % "1.0.3",
    "com.github.t3hnar"       %% "scala-bcrypt"         % "2.6",
    "com.github.roundrop"     %% "scalikejdbc-sqlsyntax-ext" % "1.1.0"
  ),
  // ------------------------------
  // for ./skinnny console
  initialCommands := """
import skinny._
import _root_.controller._, model._
import org.joda.time._
import scalikejdbc._, config._
DBSettings.initialize()
""",
  resolvers ++= Seq(
    "sonatype releases"  at "https://oss.sonatype.org/content/repositories/releases"
    //, "sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
    //, "LocalRepo" at file(Path.userHome.absolutePath + "/.ivy2/local").getAbsolutePath
    , "jlatexmath latest" at "https://dl.bintray.com/porst17/maven/" // by http://forge.scilab.org/index.php/p/jlatexmath/issues/1293/
  ),
  // Faster "./skinny idea"
  transitiveClassifiers in Global := Seq(Artifact.SourceClassifier),
  // the name-hashing algorithm for the incremental compiler.
  incOptions := incOptions.value.withNameHashing(true),<commit_msg>update dependencies<commit_after>import sbt._, Keys._
import skinny.scalate.ScalatePlugin._, ScalateKeys._
import skinny.servlet._, ServletPlugin._, ServletKeys._
import org.sbtidea.SbtIdeaPlugin._

import scala.language.postfixOps

// -------------------------------------------------------
// Common Settings
// -------------------------------------------------------

val appOrganization = "jp.co.atware"
val appName = "sharedocs"
val appVersion = "1.0.0-SNAPSHOT"

val skinnyVersion = "2.3.3"
val theScalaVersion = "2.11.8" // 2.12.0 is available if you don't mind if `skinny console` doesn't work ;(
val jettyVersion = "9.3.14.v20161028"

lazy val baseSettings = servletSettings ++ Seq(
  organization := appOrganization,
  name         := appName,
  version      := appVersion,
  scalaVersion := theScalaVersion,
  dependencyOverrides := Set(
    "org.scala-lang"         %  "scala-library"            % scalaVersion.value,
    "org.scala-lang"         %  "scala-reflect"            % scalaVersion.value,
    "org.scala-lang"         %  "scala-compiler"           % scalaVersion.value,
    "org.scala-lang.modules" %% "scala-xml"                % "1.0.6",
    "org.scala-lang.modules" %% "scala-parser-combinators" % "1.0.4",
    "org.slf4j"              %  "slf4j-api"                % "1.7.21"
  ),
  libraryDependencies ++= Seq(
    "org.skinny-framework"    %% "skinny-framework"     % skinnyVersion,
    "org.skinny-framework"    %% "skinny-assets"        % skinnyVersion,
    "org.skinny-framework"    %% "skinny-task"          % skinnyVersion,
    "org.skinny-framework"    %  "skinny-logback"       % "1.0.10",
    "org.skinny-framework"    %% "skinny-oauth2-controller" % skinnyVersion,
    "org.skinny-framework"    %% "skinny-scaldi"        % skinnyVersion,
    "com.h2database"          %  "h2"                   % "1.4.193",
    "org.postgresql"          %  "postgresql"           % "9.4-1206-jdbc42",
    "org.skinny-framework"    %% "skinny-factory-girl"  % skinnyVersion   % "test",
    "org.skinny-framework"    %% "skinny-test"          % skinnyVersion   % "test",
    "org.eclipse.jetty"       %  "jetty-webapp"         % jettyVersion    % "container",
    "org.eclipse.jetty"       %  "jetty-plus"           % jettyVersion    % "container",
    "javax.servlet"           %  "javax.servlet-api"    % "3.1.0"         % "container;provided;test",
    "org.pegdown"             %  "pegdown"              % "1.6.0",
    "org.scilab.forge"        %  "jlatexmath"           % "1.0.4",
    "com.github.t3hnar"       %% "scala-bcrypt"         % "3.0",
    "com.github.roundrop"     %% "scalikejdbc-sqlsyntax-ext" % "1.1.0"
  ),
  // ------------------------------
  // for ./skinnny console
  initialCommands := """
import skinny._
import _root_.controller._, model._
import org.joda.time._
import scalikejdbc._, config._
DBSettings.initialize()
""",
  resolvers ++= Seq(
    "sonatype releases"  at "https://oss.sonatype.org/content/repositories/releases"
    //, "sonatype snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
    //, "LocalRepo" at file(Path.userHome.absolutePath + "/.ivy2/local").getAbsolutePath
    , "jlatexmath latest" at "https://dl.bintray.com/porst17/maven/" // by http://forge.scilab.org/index.php/p/jlatexmath/issues/1293/
  ),
  // Faster "./skinny idea"
  transitiveClassifiers in Global := Seq(Artifact.SourceClassifier),
  // the name-hashing algorithm for the incremental compiler.
  incOptions := incOptions.value.withNameHashing(true),
{'fraction_non_alphanumeric': 0.18952476095333237, 'fraction_numerical': 0.02269159412016555, 'mean_word_length': 2.1146666666666665, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2159321', 'n_tokens_mistral': 2479, 'n_tokens_neox': 2341, 'n_words': 376}