<commit_before>plugins {
  kotlin("jvm") version Versions.kotlin
  `java-library`
  `maven-publish`
  id("com.github.ben-manes.versions") version "0.39.0"
  id("net.nemerosa.versioning") version "2.15.0"
}

repositories {
  mavenCentral()
  maven(url = "https://jitpack.io")
}

group = "com.github.yschimke"
version = versioning.info.display

java {
  sourceCompatibility = JavaVersion.VERSION_1_8
  targetCompatibility = JavaVersion.VERSION_1_8
}

tasks.test {
  useJUnitPlatform()
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
    kotlinOptions.jvmTarget = "1.8"
    kotlinOptions.apiVersion = "1.5"
    kotlinOptions.languageVersion = "1.5"
    kotlinOptions.freeCompilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn")
}

dependencies {
  implementation(Deps.activation)
  implementation(Deps.byteunits)
  implementation(Deps.coroutinesCore)
  implementation(Deps.kotlinReflect)
  implementation(Deps.kotlinStandardLibrary)
  implementation(Deps.okio)
  implementation(Deps.process)

  testImplementation(Deps.junitJupiterApi)
  testImplementation(Deps.kotlinTest)

  testRuntimeOnly(Deps.junitJupiterEngine)
}
<commit_msg>Kotlin upgrade<commit_after>plugins {
  kotlin("jvm") version Versions.kotlin
  `java-library`
  `maven-publish`
  id("com.github.ben-manes.versions") version "0.39.0"
  id("net.nemerosa.versioning") version "2.15.0"
}

repositories {
  mavenCentral()
  maven(url = "https://jitpack.io")
}

group = "com.github.yschimke"
version = versioning.info.display

java {
  sourceCompatibility = JavaVersion.VERSION_1_8
  targetCompatibility = JavaVersion.VERSION_1_8
}

tasks.test {
  useJUnitPlatform()
}

tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
    kotlinOptions.jvmTarget = "1.8"
    kotlinOptions.apiVersion = "1.5"
    kotlinOptions.languageVersion = "1.5"
    kotlinOptions.freeCompilerArgs = listOf("-Xopt-in=kotlin.RequiresOptIn")
}

dependencies {
  implementation(Deps.activation)
  implementation(Deps.byteunits)
  implementation(Deps.coroutinesCore)
  implementation(Deps.kotlinReflect)
  implementation(Deps.kotlinStandardLibrary)
  implementation(Deps.okio)
  implementation(Deps.process)

  testImplementation(Deps.junitJupiterApi)
  testImplementation(Deps.kotlinTest)

  testRuntimeOnly(Deps.junitJupiterEngine)
}

val sourcesJar by tasks.registering(Jar::class) {
  archiveClassifier.set("sources")
  from(sourceSets.main.get().allSource)
}

afterEvaluate {
  publishing {
    publications {
      register("mavenJava", MavenPublication::class) {
        from(components["java"])
        artifact(sourcesJar.get())
      }
    }
  }
}

{'fraction_non_alphanumeric': 0.12180221458571974, 'fraction_numerical': 0.013745704467353952, 'mean_word_length': 4.968109339407745, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5238787', 'n_tokens_mistral': 960, 'n_tokens_neox': 910, 'n_words': 108}