<commit_before>// *****************************************************************************
// Projects
// *****************************************************************************

lazy val `akka-sse` =
  project
    .in(file("."))
    .enablePlugins(GitVersioning)
    .aggregate(core, example, jmh)
    .settings(settings)
    .settings(
      unmanagedSourceDirectories.in(Compile) := Seq.empty,
      unmanagedSourceDirectories.in(Test) := Seq.empty,
      publishArtifact := false
    )

lazy val core =
  project
    .enablePlugins(AutomateHeaderPlugin)
    .settings(settings)
    .settings(
      name := "akka-sse",
      libraryDependencies ++= Seq(
        library.akkaHttp,
        library.akkaHttpTestkit % Test,
        library.junit           % Test,
        library.scalaCheck      % Test,
        library.scalaTest       % Test
      )
    )

lazy val example =
  project
    .enablePlugins(AutomateHeaderPlugin)
    .dependsOn(core)
    .settings(settings)
    .settings(
      libraryDependencies ++= Seq(
        library.akkaHttp
      ),
      publishArtifact := false
    )

lazy val jmh =
  project
    .enablePlugins(AutomateHeaderPlugin, JmhPlugin)
    .dependsOn(core)
    .settings(settings)
    .settings(
      libraryDependencies ++= Seq(
        library.akkaStream
      ),
      publishArtifact := false
    )

// *****************************************************************************
// Library dependencies
// *****************************************************************************


lazy val library =
  new {
    object Version {
      val akka       = "2.5.0"
      val akkaHttp   = "10.0.5"
      val junit      = "4.12"
      val scalaCheck = "1.13.5"
      val scalaTest  = "3.0.3"
    }
    val akkaHttp        = "com.typesafe.akka" %% "akka-http"         % Version.akkaHttp
    val akkaHttpTestkit = "com.typesafe.akka" %% "akka-http-testkit" % Version.akkaHttp
    val akkaStream      = "com.typesafe.akka" %% "akka-stream"       % Version.akka
    val junit           = "junit"             %  "junit"             % Version.junit
    val scalaCheck      = "org.scalacheck"    %% "scalacheck"        % Version.scalaCheck
    val scalaTest       = "org.scalatest"     %% "scalatest"         % Version.scalaTest
}

// *****************************************************************************
// Settings
// *****************************************************************************

lazy val settings =
  commonSettings ++
  gitSettings ++
  headerSettings ++
  sonatypeSettings
<commit_msg>Upgrade to Akka 2.5.1 (#181)<commit_after>// *****************************************************************************
// Projects
// *****************************************************************************

lazy val `akka-sse` =
  project
    .in(file("."))
    .enablePlugins(GitVersioning)
    .aggregate(core, example, jmh)
    .settings(settings)
    .settings(
      unmanagedSourceDirectories.in(Compile) := Seq.empty,
      unmanagedSourceDirectories.in(Test) := Seq.empty,
      publishArtifact := false
    )

lazy val core =
  project
    .enablePlugins(AutomateHeaderPlugin)
    .settings(settings)
    .settings(
      name := "akka-sse",
      libraryDependencies ++= Seq(
        library.akkaHttp,
        library.akkaHttpTestkit % Test,
        library.junit           % Test,
        library.scalaCheck      % Test,
        library.scalaTest       % Test
      )
    )

lazy val example =
  project
    .enablePlugins(AutomateHeaderPlugin)
    .dependsOn(core)
    .settings(settings)
    .settings(
      libraryDependencies ++= Seq(
        library.akkaHttp
      ),
      publishArtifact := false
    )

lazy val jmh =
  project
    .enablePlugins(AutomateHeaderPlugin, JmhPlugin)
    .dependsOn(core)
    .settings(settings)
    .settings(
      libraryDependencies ++= Seq(
        library.akkaStream
      ),
      publishArtifact := false
    )

// *****************************************************************************
// Library dependencies
// *****************************************************************************

lazy val library =
  new {
    object Version {
      val akka       = "2.5.1"
      val akkaHttp   = "10.0.5"
      val junit      = "4.12"
      val scalaCheck = "1.13.5"
      val scalaTest  = "3.0.3"
    }
    val akkaHttp        = "com.typesafe.akka" %% "akka-http"         % Version.akkaHttp
    val akkaHttpTestkit = "com.typesafe.akka" %% "akka-http-testkit" % Version.akkaHttp
    val akkaStream      = "com.typesafe.akka" %% "akka-stream"       % Version.akka
    val junit           = "junit"             %  "junit"             % Version.junit
    val scalaCheck      = "org.scalacheck"    %% "scalacheck"        % Version.scalaCheck
    val scalaTest       = "org.scalatest"     %% "scalatest"         % Version.scalaTest
}

// *****************************************************************************
// Settings
// *****************************************************************************

lazy val settings =
  commonSettings ++
  gitSettings ++
  headerSettings ++
  sonatypeSettings

{'fraction_non_alphanumeric': 0.2756135566809505, 'fraction_numerical': 0.007791195948578107, 'mean_word_length': 2.6626248216833095, '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': '7333308', 'n_tokens_mistral': 1524, 'n_tokens_neox': 1419, 'n_words': 258}