<commit_before>import com.typesafe.sbt.license.{DepModuleInfo, LicenseInfo}
import com.typesafe.sbt.pgp.PgpKeys._

val Organization = "io.github.gitbucket"
val Name = "gitbucket"
val GitBucketVersion = "4.29.0"
val ScalatraVersion = "2.6.3"
val JettyVersion = "9.4.11.v20180605"
val JgitVersion = "5.1.1.201809181055-r"

lazy val root = (project in file("."))
  .enablePlugins(SbtTwirl, ScalatraPlugin)
  .settings(
    )

sourcesInBase := false
organization := Organization
name := Name
version := GitBucketVersion
scalaVersion := "2.12.7"

scalafmtOnCompile := true

// dependency settings
resolvers ++= Seq(
  Classpaths.typesafeReleases,
  Resolver.jcenterRepo,
  "amateras" at "http://amateras.sourceforge.jp/mvn/",
  "sonatype-snapshot" at "https://oss.sonatype.org/content/repositories/snapshots/",
  "amateras-snapshot" at "http://amateras.sourceforge.jp/mvn-snapshot/"
)

libraryDependencies ++= Seq(
  "org.eclipse.jgit"                % "org.eclipse.jgit.http.server" % JgitVersion,
  "org.eclipse.jgit"                % "org.eclipse.jgit.archive"     % JgitVersion,
  "org.scalatra"                    %% "scalatra"                    % ScalatraVersion,
  "org.scalatra"                    %% "scalatra-json"               % ScalatraVersion,
  "org.scalatra"                    %% "scalatra-forms"              % ScalatraVersion,
  "org.json4s"                      %% "json4s-jackson"              % "3.5.3",
  "commons-io"                      % "commons-io"                   % "2.6",
  "io.github.gitbucket"             % "solidbase"                    % "1.0.2",
  "io.github.gitbucket"             % "markedj"                      % "1.0.15",
  "org.apache.commons"              % "commons-compress"             % "1.18",
  "org.apache.commons"              % "commons-email"                % "1.5",
  "org.apache.httpcomponents"       % "httpclient"                   % "4.5.6",
  "org.apache.sshd"                 % "apache-sshd"                  % "1.7.0" exclude ("org.slf4j", "slf4j-jdk14"),
  "org.apache.tika"                 % "tika-core"                    % "1.19",
  "com.github.takezoe"              %% "blocking-slick-32"           % "0.0.10",
  "com.novell.ldap"                 % "jldap"                        % "2009-10-07",
  "com.h2database"                  % "h2"                           % "1.4.196",
  "org.mariadb.jdbc"                % "mariadb-java-client"          % "2.3.0",
  "org.postgresql"                  % "postgresql"                   % "42.2.5",
  "ch.qos.logback"                  % "logback-classic"              % "1.2.3",
  "com.zaxxer"                      % "HikariCP"                     % "2.7.4",
  "com.typesafe"                    % "config"                       % "1.3.2",
  "com.typesafe.akka"               %% "akka-actor"                  % "2.5.8",
  "fr.brouillard.oss.security.xhub" % "xhub4j-core"                  % "1.0.0",
  "com.github.bkromhout"            % "java-diff-utils"              % "2.1.1",
  "org.cache2k"                     % "cache2k-all"                  % "1.0.1.Final",
  "com.enragedginger"               %% "akka-quartz-scheduler"       % "1.6.1-akka-2.5.x" exclude ("c3p0", "c3p0"),
  "net.coobird"                     % "thumbnailator"                % "0.4.8",
  "com.github.zafarkhaja"           % "java-semver"                  % "0.9.0",
  "com.nimbusds"                    % "oauth2-oidc-sdk"              % "5.45",
  "org.eclipse.jetty"               % "jetty-webapp"                 % JettyVersion % "provided",
  "javax.servlet"                   % "javax.servlet-api"            % "3.1.0" % "provided",
  "junit"                           % "junit"                        % "4.12" % "test",
  "org.scalatra"                    %% "scalatra-scalatest"          % ScalatraVersion % "test",
  "org.mockito"                     % "mockito-core"                 % "2.19.1" % "test",
  "com.wix"                         % "wix-embedded-mysql"           % "3.0.0" % "test",<commit_msg>Upgraded apache-sshd: 1.7.0 -> 2.1.0<commit_after>import com.typesafe.sbt.license.{DepModuleInfo, LicenseInfo}
import com.typesafe.sbt.pgp.PgpKeys._

val Organization = "io.github.gitbucket"
val Name = "gitbucket"
val GitBucketVersion = "4.29.0"
val ScalatraVersion = "2.6.3"
val JettyVersion = "9.4.11.v20180605"
val JgitVersion = "5.1.1.201809181055-r"

lazy val root = (project in file("."))
  .enablePlugins(SbtTwirl, ScalatraPlugin)
  .settings(
    )

sourcesInBase := false
organization := Organization
name := Name
version := GitBucketVersion
scalaVersion := "2.12.7"

scalafmtOnCompile := true

// dependency settings
resolvers ++= Seq(
  Classpaths.typesafeReleases,
  Resolver.jcenterRepo,
  "amateras" at "http://amateras.sourceforge.jp/mvn/",
  "sonatype-snapshot" at "https://oss.sonatype.org/content/repositories/snapshots/",
  "amateras-snapshot" at "http://amateras.sourceforge.jp/mvn-snapshot/"
)

libraryDependencies ++= Seq(
  "org.eclipse.jgit"                % "org.eclipse.jgit.http.server" % JgitVersion,
  "org.eclipse.jgit"                % "org.eclipse.jgit.archive"     % JgitVersion,
  "org.scalatra"                    %% "scalatra"                    % ScalatraVersion,
  "org.scalatra"                    %% "scalatra-json"               % ScalatraVersion,
  "org.scalatra"                    %% "scalatra-forms"              % ScalatraVersion,
  "org.json4s"                      %% "json4s-jackson"              % "3.5.3",
  "commons-io"                      % "commons-io"                   % "2.6",
  "io.github.gitbucket"             % "solidbase"                    % "1.0.2",
  "io.github.gitbucket"             % "markedj"                      % "1.0.15",
  "org.apache.commons"              % "commons-compress"             % "1.18",
  "org.apache.commons"              % "commons-email"                % "1.5",
  "org.apache.httpcomponents"       % "httpclient"                   % "4.5.6",
  "org.apache.sshd"                 % "apache-sshd"                  % "2.1.0" exclude ("org.slf4j", "slf4j-jdk14"),
  "org.apache.tika"                 % "tika-core"                    % "1.19",
  "com.github.takezoe"              %% "blocking-slick-32"           % "0.0.10",
  "com.novell.ldap"                 % "jldap"                        % "2009-10-07",
  "com.h2database"                  % "h2"                           % "1.4.196",
  "org.mariadb.jdbc"                % "mariadb-java-client"          % "2.3.0",
  "org.postgresql"                  % "postgresql"                   % "42.2.5",
  "ch.qos.logback"                  % "logback-classic"              % "1.2.3",
  "com.zaxxer"                      % "HikariCP"                     % "2.7.4",
  "com.typesafe"                    % "config"                       % "1.3.2",
  "com.typesafe.akka"               %% "akka-actor"                  % "2.5.8",
  "fr.brouillard.oss.security.xhub" % "xhub4j-core"                  % "1.0.0",
  "com.github.bkromhout"            % "java-diff-utils"              % "2.1.1",
  "org.cache2k"                     % "cache2k-all"                  % "1.0.1.Final",
  "com.enragedginger"               %% "akka-quartz-scheduler"       % "1.6.1-akka-2.5.x" exclude ("c3p0", "c3p0"),
  "net.coobird"                     % "thumbnailator"                % "0.4.8",
  "com.github.zafarkhaja"           % "java-semver"                  % "0.9.0",
  "com.nimbusds"                    % "oauth2-oidc-sdk"              % "5.45",
  "org.eclipse.jetty"               % "jetty-webapp"                 % JettyVersion % "provided",
  "javax.servlet"                   % "javax.servlet-api"            % "3.1.0" % "provided",
  "junit"                           % "junit"                        % "4.12" % "test",
  "org.scalatra"                    %% "scalatra-scalatest"          % ScalatraVersion % "test",
  "org.mockito"                     % "mockito-core"                 % "2.19.1" % "test",
  "com.wix"                         % "wix-embedded-mysql"           % "3.0.0" % "test",
{'fraction_non_alphanumeric': 0.15919030363613645, 'fraction_numerical': 0.0392352867674622, 'mean_word_length': 1.3451508936419572, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7162346', 'n_tokens_mistral': 2900, 'n_tokens_neox': 2697, 'n_words': 364}