<commit_before>import xerial.sbt.Sonatype._

val scala2_12Version = "2.12.15"
val scala2_13Version = "2.13.8"
val scala3Version = "3.1.1"

val levshaVersion = "1.3.0"

val akkaVersion = "2.6.19"
val akkaHttpVersion = "10.2.9"
val http4sVersion = "0.23.10" // Scala 3 is not supported in final releases yet

val circeVersion = "0.14.1"
val ce2Version = "2.5.5"
val ce3Version = "3.3.12"

val zioVersion = "1.0.15"
val zio2Version = "2.0.0"
val zioHttpVersion = "2.0.0-RC10"

val fs2ce2Version = "2.5.11"
val fs2ce3Version = "3.2.8"
val monixVersion = "3.4.1"
val scodecVersion = "1.1.34"

scalaVersion := scala2_13Version

val unusedRepo = Some(Resolver.file("Unused transient repository", file("target/unusedrepo")))

val crossVersionSettings = Seq(
  crossScalaVersions := Seq(scala2_12Version, scala2_13Version, scala3Version)
)

val dontPublishSettings = Seq(
  publish := {},
  publishTo := unusedRepo,
  publishArtifact := false,
  headerLicense := None
)

val publishSettings = Seq(
  version := "1.4.2-SNAPSHOT",
  publishMavenStyle := true,
  Test / publishArtifact := false,
  pomIncludeRepository := { _ => false },
  publishTo := sonatypePublishTo.value,
  sonatypeProfileName := "org.fomkin",
  sonatypeProjectHosting := Some(GitHubHosting("fomkin", "korolev", "<NAME>", "<EMAIL>")),
  headerLicense := Some(HeaderLicense.ALv2("2017-2020", "<NAME>")),
  licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
)

val commonSettings = publishSettings ++ Seq(
  git.useGitDescribe := true,
  organization := "org.fomkin",
  scalaVersion := scala2_13Version,
  // Add Scala 2 compiler plugins
  libraryDependencies ++= {
    CrossVersion.partialVersion(scalaVersion.value) match {
      case Some((2, _)) =>
        Seq(
          compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"),
          compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full),
        )
      case _ => Seq()
    }
  },
  libraryDependencies ++= Seq(<commit_msg>remove snapshot version<commit_after>import xerial.sbt.Sonatype._

val scala2_12Version = "2.12.15"
val scala2_13Version = "2.13.8"
val scala3Version = "3.1.1"

val levshaVersion = "1.3.0"

val akkaVersion = "2.6.19"
val akkaHttpVersion = "10.2.9"
val http4sVersion = "0.23.10" // Scala 3 is not supported in final releases yet

val circeVersion = "0.14.1"
val ce2Version = "2.5.5"
val ce3Version = "3.3.12"

val zioVersion = "1.0.15"
val zio2Version = "2.0.0"
val zioHttpVersion = "2.0.0-RC10"

val fs2ce2Version = "2.5.11"
val fs2ce3Version = "3.2.8"
val monixVersion = "3.4.1"
val scodecVersion = "1.1.34"

scalaVersion := scala2_13Version

val unusedRepo = Some(Resolver.file("Unused transient repository", file("target/unusedrepo")))

val crossVersionSettings = Seq(
  crossScalaVersions := Seq(scala2_12Version, scala2_13Version, scala3Version)
)

val dontPublishSettings = Seq(
  publish := {},
  publishTo := unusedRepo,
  publishArtifact := false,
  headerLicense := None
)

val publishSettings = Seq(
  publishMavenStyle := true,
  Test / publishArtifact := false,
  pomIncludeRepository := { _ => false },
  publishTo := sonatypePublishTo.value,
  sonatypeProfileName := "org.fomkin",
  sonatypeProjectHosting := Some(GitHubHosting("fomkin", "korolev", "<NAME>", "<EMAIL>")),
  headerLicense := Some(HeaderLicense.ALv2("2017-2020", "<NAME>")),
  licenses := Seq("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt")),
)

val commonSettings = publishSettings ++ Seq(
  git.useGitDescribe := true,
  organization := "org.fomkin",
  scalaVersion := scala2_13Version,
  // Add Scala 2 compiler plugins
  libraryDependencies ++= {
    CrossVersion.partialVersion(scalaVersion.value) match {
      case Some((2, _)) =>
        Seq(
          compilerPlugin("com.olegpy" %% "better-monadic-for" % "0.3.1"),
          compilerPlugin("org.typelevel" %% "kind-projector" % "0.13.2" cross CrossVersion.full),
        )
      case _ => Seq()
    }
  },
  libraryDependencies ++= Seq(
{'fraction_non_alphanumeric': 0.1548419218322131, 'fraction_numerical': 0.05850136918098083, 'mean_word_length': 4.028785982478098, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '697362', 'n_tokens_mistral': 1555, 'n_tokens_neox': 1482, 'n_words': 293}