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

buildscript {

    val kotlinVersion = file("../kotlin-version.txt").readText().trim()

    dependencies {
        classpath(kotlin("gradle-plugin", version = kotlinVersion))
    }

    configure(listOf(repositories, project.repositories)) {
        gradlePluginPortal()
    }
}

plugins {
    `java-gradle-plugin`
}

apply {
      plugin("kotlin")
}

gradlePlugin {
    (plugins) {
        "kotlinLibrary" {
            id = "kotlin-library"
            implementationClass = "plugins.KotlinLibrary"
        }
        "kotlinDslModule" {
            id = "kotlin-dsl-module"
            implementationClass = "plugins.KotlinDslModule"
        }
        "publicKotlinDslModule" {
            id = "public-kotlin-dsl-module"
            implementationClass = "plugins.PublicKotlinDslModule"
        }
        "kotlinDslPluginBundle" {
            id = "kotlin-dsl-plugin-bundle"
            implementationClass = "plugins.KotlinDslPluginBundle"
        }
    }<commit_msg>Dogfood ktlint-convention plugin 0.1.0 on buildSrc too<commit_after>import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

buildscript {

    val kotlinVersion = file("../kotlin-version.txt").readText().trim()

    dependencies {
        classpath(kotlin("gradle-plugin", version = kotlinVersion))
    }

    configure(listOf(repositories, project.repositories)) {
        gradlePluginPortal()
    }
}

plugins {
    `java-gradle-plugin`
    id("org.gradle.kotlin.ktlint-convention") version "0.1.0"
}

apply {
      plugin("kotlin")
}

gradlePlugin {
    (plugins) {
        "kotlinLibrary" {
            id = "kotlin-library"
            implementationClass = "plugins.KotlinLibrary"
        }
        "kotlinDslModule" {
            id = "kotlin-dsl-module"
            implementationClass = "plugins.KotlinDslModule"
        }
        "publicKotlinDslModule" {
            id = "public-kotlin-dsl-module"
            implementationClass = "plugins.PublicKotlinDslModule"
        }
        "kotlinDslPluginBundle" {
            id = "kotlin-dsl-plugin-bundle"
            implementationClass = "plugins.KotlinDslPluginBundle"
        }
    }
{'fraction_non_alphanumeric': 0.11385459533607682, 'fraction_numerical': 0.0027434842249657062, 'mean_word_length': 2.3101361573373675, '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': '4593216', 'n_tokens_mistral': 723, 'n_tokens_neox': 671, 'n_words': 87}