plugins { kotlin("jvm") java idea alias(libs.plugins.detekt) } repositories { mavenCentral() gradlePluginPortal() } subprojects { repositories { mavenCentral() } apply(plugin = "io.gitlab.arturbosch.detekt") dependencies { detektPlugins(project(":detekt-rules")) } detekt { toolVersion = "1.23.8" config.setFrom(files(rootProject.file("detekt.yml"))) buildUponDefaultConfig = true parallel = false debug = true input.from("src/main/kotlin", "src/main/java") } tasks.withType { jvmTarget = "21" reports { html.required.set(true) } } plugins.withId("org.jetbrains.kotlin.jvm") { kotlin { jvmToolchain(21) compilerOptions { freeCompilerArgs.addAll( listOf( "-Xmulti-dollar-interpolation", ) ) } } } }