<commit_before>import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

val loriVersion by lazy { ext["lori-version"] as String }
val kotlinVersion by lazy { ext["kotlin-version"] as String }
val ktorVersion by lazy { ext["ktor-version"] as String }
val jdaVersion by lazy { ext["jda-version"] as String }

tasks.withType<KotlinCompile> {
    kotlinOptions.jvmTarget = "1.8"
}

plugins {
    java
    kotlin("jvm")
    kotlin("plugin.serialization") version "1.4.10"
    `maven-publish`
}

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

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

repositories {
    jcenter()
}

dependencies {
    implementation(kotlin("stdlib-jdk8"))
    api(project(":loritta-api"))
    api(project(":loritta-serializable-commons"))
    api(project(":temmie-discord-auth"))
    api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0")
    api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.5")
    api("com.google.guava:guava:29.0-jre")
	api(kotlin("script-util"))
	api(kotlin("compiler"))
	api(kotlin("scripting-compiler"))
    api("net.perfectdreams.commands:command-framework-core:0.0.8")
    api("org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.12")
    api("org.twitter4j:twitter4j-core:[4.0,)")
    api("org.twitter4j:twitter4j-stream:[4.0,)")
    api("com.github.ben-manes.caffeine:caffeine:2.8.5")
    api("net.dv8tion:JDA:$jdaVersion")
    api("org.postgresql:postgresql:42.2.14")
    api("com.impossibl.pgjdbc-ng:pgjdbc-ng:0.8.4")
    api("org.xerial:sqlite-jdbc:3.32.3")
    api("com.zaxxer:HikariCP:3.4.5")
    api("org.jetbrains.exposed:exposed-core:0.27.1")
    api("org.jetbrains.exposed:exposed-dao:0.27.1")
    api("org.jetbrains.exposed:exposed-jdbc:0.27.1")
    api("club.minnced:discord-webhooks:0.3.2")
    api("org.apache.commons:commons-lang3:3.10")
    api("commons-codec:commons-codec:1.14")
    api("commons-io:commons-io:2.7")
    api("org.apache.commons:commons-text:1.8")
    api("org.apache.commons:commons-collections4:4.4")
    api("io.ktor:ktor-server-core:$ktorVersion")
    api("io.ktor:ktor-server-netty:$ktorVersion")
    api("io.ktor:ktor-client-core:$ktorVersion")
    api("io.ktor:ktor-client-apache:$ktorVersion")
    api("com.google.code.gson:gson:2.8.6")
    api("io.github.microutils:kotlin-logging:1.8.0.1")
    api("io.pebbletemplates:pebble:3.1.4")
    api("org.jsoup:jsoup:1.13.1")
    api("com.github.kevinsawicki:http-request:6.0")
    api("com.rometools:rome:1.14.1")
    api("com.fasterxml.jackson.core:jackson-databind:2.11.1")
    api("com.fasterxml.jackson.core:jackson-annotations:2.11.1")
    api("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.1")
    api("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1")
    api("com.fasterxml.jackson.module:jackson-module-parameter-names:2.11.1")
    api("org.honton.chas.hocon:jackson-dataformat-hocon:1.1.1")
    api("org.json:json:20190722")
    api("com.github.salomonbrys.kotson:kotson:2.5.0")
    api("com.vladsch.flexmark:flexmark-all:0.62.2")

    // Graylog GELF (Logback)
    api("de.siegmar:logback-gelf:3.0.0")
<commit_msg>Add Kotlin Coroutines debug probes to dependencies<commit_after>import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

val loriVersion by lazy { ext["lori-version"] as String }
val kotlinVersion by lazy { ext["kotlin-version"] as String }
val ktorVersion by lazy { ext["ktor-version"] as String }
val jdaVersion by lazy { ext["jda-version"] as String }

tasks.withType<KotlinCompile> {
    kotlinOptions.jvmTarget = "1.8"
}

plugins {
    java
    kotlin("jvm")
    kotlin("plugin.serialization") version "1.4.10"
    `maven-publish`
}

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

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

repositories {
    jcenter()
}

dependencies {
    implementation(kotlin("stdlib-jdk8"))
    api(project(":loritta-api"))
    api(project(":loritta-serializable-commons"))
    api(project(":temmie-discord-auth"))

    // Kotlin Scripting
    api(kotlin("script-util"))
    api(kotlin("compiler"))
    api(kotlin("scripting-compiler"))

    // Kotlin Serialization
    api("org.jetbrains.kotlinx:kotlinx-serialization-json:1.0.0")

    // Kotlin Coroutines
    api("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.1")
    api("org.jetbrains.kotlinx:kotlinx-coroutines-debug:1.4.1")

    api("com.google.guava:guava:29.0-jre")

    api("net.perfectdreams.commands:command-framework-core:0.0.8")
    api("org.jetbrains.kotlinx:kotlinx-html-jvm:0.6.12")
    api("org.twitter4j:twitter4j-core:[4.0,)")
    api("org.twitter4j:twitter4j-stream:[4.0,)")
    api("com.github.ben-manes.caffeine:caffeine:2.8.5")

    // Discord
    api("net.dv8tion:JDA:$jdaVersion")
    api("club.minnced:discord-webhooks:0.3.2")

    // Exposed & Databases
    api("org.postgresql:postgresql:42.2.14")
    api("com.impossibl.pgjdbc-ng:pgjdbc-ng:0.8.4")
    api("org.xerial:sqlite-jdbc:3.32.3")
    api("com.zaxxer:HikariCP:3.4.5")
    api("org.jetbrains.exposed:exposed-core:0.27.1")
    api("org.jetbrains.exposed:exposed-dao:0.27.1")
    api("org.jetbrains.exposed:exposed-jdbc:0.27.1")

    api("org.apache.commons:commons-lang3:3.10")
    api("commons-codec:commons-codec:1.14")
    api("commons-io:commons-io:2.7")
    api("org.apache.commons:commons-text:1.8")
    api("org.apache.commons:commons-collections4:4.4")

    // Ktor
    api("io.ktor:ktor-server-core:$ktorVersion")
    api("io.ktor:ktor-server-netty:$ktorVersion")
    api("io.ktor:ktor-client-core:$ktorVersion")
    api("io.ktor:ktor-client-apache:$ktorVersion")

    api("com.google.code.gson:gson:2.8.6")
    api("io.github.microutils:kotlin-logging:1.8.0.1")
    api("io.pebbletemplates:pebble:3.1.4")
    api("org.jsoup:jsoup:1.13.1")
    api("com.github.kevinsawicki:http-request:6.0")
    api("com.rometools:rome:1.14.1")

    // Jackson
    api("com.fasterxml.jackson.core:jackson-databind:2.11.1")
    api("com.fasterxml.jackson.core:jackson-annotations:2.11.1")
    api("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.11.1")
    api("com.fasterxml.jackson.module:jackson-module-kotlin:2.11.1")
    api("com.fasterxml.jackson.module:jackson-module-parameter-names:2.11.1")
    api("org.honton.chas.hocon:jackson-dataformat-hocon:1.1.1")

    api("org.json:json:20190722")
    api("com.github.salomonbrys.kotson:kotson:2.5.0")
    api("com.vladsch.flexmark:flexmark-all:0.62.2")

    // Graylog GELF (Logback)
    api("de.siegmar:logback-gelf:3.0.0")

{'fraction_non_alphanumeric': 0.1824052812858783, 'fraction_numerical': 0.0406142365097589, 'mean_word_length': 3.984978540772532, 'pattern_counts': {'":': 6, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 2, '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': '2468821', 'n_tokens_mistral': 2925, 'n_tokens_neox': 2722, 'n_words': 236}