<commit_before>import Common._
import Unfiltered._
import Dependencies._
import ReleaseTransformations._

def Scala3_0 = "3.0.1"

val SetScala3_0 = "SetScala3_0"
addCommandAlias(SetScala3_0, s"++ ${Scala3_0}! -v")

Common.settings

enablePlugins(ScalaUnidocPlugin)

publish / skip := {
  CrossVersion.partialVersion(scalaVersion.value) match {
    case Some((3, _)) =>
      // TODO https://github.com/sbt/sbt-unidoc/issues/83
      true
    case _ =>
      false
  }
}

// unidoc publish settings
name := "unfiltered-all"
artifacts := Classpaths.artifactDefs(Seq(Compile / packageDoc)).value
packagedArtifacts := Classpaths.packaged(Seq(Compile / packageDoc)).value
Defaults.packageTaskSettings(
  Compile / packageDoc, (Compile / unidoc).map{_.flatMap(Path.allSubpaths)}
)

releaseCrossBuild := true
<commit_msg>Scala 3.0.2<commit_after>import Common._
import Unfiltered._
import Dependencies._
import ReleaseTransformations._

def Scala3_0 = "3.0.2"

val SetScala3_0 = "SetScala3_0"
addCommandAlias(SetScala3_0, s"++ ${Scala3_0}! -v")

Common.settings

enablePlugins(ScalaUnidocPlugin)

publish / skip := {
  CrossVersion.partialVersion(scalaVersion.value) match {
    case Some((3, _)) =>
      // TODO https://github.com/sbt/sbt-unidoc/issues/83
      true
    case _ =>
      false
  }
}

// unidoc publish settings
name := "unfiltered-all"
artifacts := Classpaths.artifactDefs(Seq(Compile / packageDoc)).value
packagedArtifacts := Classpaths.packaged(Seq(Compile / packageDoc)).value
Defaults.packageTaskSettings(
  Compile / packageDoc, (Compile / unidoc).map{_.flatMap(Path.allSubpaths)}
)

releaseCrossBuild := true

{'fraction_non_alphanumeric': 0.12792127921279212, 'fraction_numerical': 0.02152521525215252, 'mean_word_length': 4.459731543624161, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '1710554', 'n_tokens_mistral': 580, 'n_tokens_neox': 556, 'n_words': 99}