Bumps [dev.detekt:detekt-gradle-plugin](https://github.com/detekt/detekt) from 2.0.0-alpha.3 to 2.0.0-alpha.5. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/detekt/detekt/releases">dev.detekt:detekt-gradle-plugin's releases</a>.</em></p> <blockquote> <h2>v2.0.0-alpha.5</h2> <h2>2.0.0-alpha.5 - 2026-06-17</h2> <p>This is a hotfix release for <code>2.0.0-alpha.4</code> where we fixed 2 bugs that were preventing detekt from running correctly.</p> <h3>Changelog</h3> <ul> <li>fix: stop leaking ktlint-repackage as a transitive dependency - <a href="https://redirect.github.com/detekt/detekt/pull/9391">#9391</a></li> <li>fix: exclude gradle-public-api from published POM - <a href="https://redirect.github.com/detekt/detekt/pull/9408">#9408</a></li> <li>Stop accepting unsupported API or language versions passed to CLI - <a href="https://redirect.github.com/detekt/detekt/pull/9410">#9410</a></li> </ul> <h2>v2.0.0-alpha.4</h2> <h2>2.0.0-alpha.4 - 2026-06-13</h2> <p>This is an alpha release of Detekt 2.0.0. Is built against Kotlin 2.4.0, Gradle 9.5.1, AGP 9.2.1 and is tested against JDK 25.</p> <h3>Notable Changes</h3> <ul> <li>Support Kotlin 2.4.0 - <a href="https://redirect.github.com/detekt/detekt/pull/9218">#9218</a></li> <li>Add new rule <code>LeakingSessionBoundType</code> - <a href="https://redirect.github.com/detekt/detekt/pull/9242">#9242</a></li> <li>Apply the <code>indent_style</code> configuration to all the ktlint wrapper rules (previsouly this was applied only to the <code>Indentation</code> rule) - <a href="https://redirect.github.com/detekt/detekt/pull/9315">#9315</a></li> </ul> <h3>Breaking Changes</h3> <ul> <li>Expose Glob-to-Regex functions in <code>psi-utils</code> - <a href="https://redirect.github.com/detekt/detekt/pull/9340">#9340</a></li> <li>Make <code>Detektion</code> immutable - <a href="https://redirect.github.com/detekt/detekt/pull/8583">#8583</a></li> </ul> <h3>Changelog</h3> <ul> <li>fix: prevent ArrayPrimitive crash on unresolved types - <a href="https://redirect.github.com/detekt/detekt/pull/9364">#9364</a></li> <li>Update ktlint documentation links - <a href="https://redirect.github.com/detekt/detekt/pull/9354">#9354</a></li> <li>Fix PrintStackTrace nested call detection - <a href="https://redirect.github.com/detekt/detekt/pull/9352">#9352</a></li> <li>Fix unused import false positive for companion object member extension properties - <a href="https://redirect.github.com/detekt/detekt/pull/9349">#9349</a></li> <li>Accept punctuation after a link - <a href="https://redirect.github.com/detekt/detekt/pull/9341">#9341</a></li> <li>Fixes UnnecessaryFullyQualifiedName false positive with explicit import shadowing - <a href="https://redirect.github.com/detekt/detekt/pull/9329">#9329</a></li> <li>docs: fix KMP type resolution task names - <a href="https://redirect.github.com/detekt/detekt/pull/9316">#9316</a></li> <li>Stop publishing ktlint-repackage - <a href="https://redirect.github.com/detekt/detekt/pull/9314">#9314</a></li> <li>Stop exposing ktlint's StandardRule to detekt-rules-ktlint-wrapper consumers - <a href="https://redirect.github.com/detekt/detekt/pull/9313">#9313</a></li> <li>Include ktlint-repackage in ktlint-wrapper JAR - <a href="https://redirect.github.com/detekt/detekt/pull/9312">#9312</a></li> <li>Declare DGP compatibility with Gradle's configuration cache - <a href="https://redirect.github.com/detekt/detekt/pull/9311">#9311</a></li> <li>Forward languageVersionSettings to KotlinAnalysisApiEngine.compile - <a href="https://redirect.github.com/detekt/detekt/pull/9305">#9305</a></li> <li>docs: add ForbiddenImport configuration example - <a href="https://redirect.github.com/detekt/detekt/pull/9302">#9302</a></li> <li>Fix <code>UnnecessaryFullyQualifiedName</code> clashes with kotlin package name - <a href="https://redirect.github.com/detekt/detekt/pull/9289">#9289</a></li> <li>Remove excludeImportStatements from Deprecation rule - <a href="https://redirect.github.com/detekt/detekt/pull/9287">#9287</a></li> <li>Improve repackaging of Analysis API dependencies - <a href="https://redirect.github.com/detekt/detekt/pull/9285">#9285</a></li> <li>MaxChainedCallsOnSameLine - Fix AA type leaks - <a href="https://redirect.github.com/detekt/detekt/pull/9261">#9261</a></li> <li>SuspendFunSwallowedCancellation - Fix AA type leaks - <a href="https://redirect.github.com/detekt/detekt/pull/9256">#9256</a></li> <li>feat: Add exhaustive option to OutdatedDocumentation rule, also improve error messages - <a href="https://redirect.github.com/detekt/detekt/pull/9255">#9255</a></li> <li>Excluding generated sources by default - <a href="https://redirect.github.com/detekt/detekt/pull/9251">#9251</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="9c6ced6339"><code>9c6ced6</code></a> Stop accepting unsupported API or language versions passed to CLI (<a href="https://redirect.github.com/detekt/detekt/issues/9410">#9410</a>)</li> <li><a href="44526f4564"><code>44526f4</code></a> fix: exclude gradle-public-api from published POM (<a href="https://redirect.github.com/detekt/detekt/issues/9408">#9408</a>)</li> <li><a href="6bad2e8a81"><code>6bad2e8</code></a> fix: stop leaking ktlint-repackage as a transitive dependency (<a href="https://redirect.github.com/detekt/detekt/issues/9391">#9391</a>)</li> <li><a href="fd5683e47a"><code>fd5683e</code></a> Update dependency path-to-regexp to v0.2.5 (<a href="https://redirect.github.com/detekt/detekt/issues/9397">#9397</a>)</li> <li><a href="7865b27e71"><code>7865b27</code></a> fix: resolve npm security vulnerabilities in website and bots dependencies (#...</li> <li><a href="bb582d5e6a"><code>bb582d5</code></a> Unbreak snapshot publishing (<a href="https://redirect.github.com/detekt/detekt/issues/9394">#9394</a>)</li> <li><a href="69866dd873"><code>69866dd</code></a> Update caniuse browser definitions (<a href="https://redirect.github.com/detekt/detekt/issues/9393">#9393</a>)</li> <li><a href="bfd3b5d4ef"><code>bfd3b5d</code></a> Add Docs for 2.0.0-alpha.4 (<a href="https://redirect.github.com/detekt/detekt/issues/9388">#9388</a>)</li> <li><a href="60300b2d43"><code>60300b2</code></a> Switch to vanniktech/gradle-maven-publish-plugin for publishing (<a href="https://redirect.github.com/detekt/detekt/issues/9357">#9357</a>)</li> <li><a href="63e0777f45"><code>63e0777</code></a> Update gradle/actions digest to 3f131e8 (<a href="https://redirect.github.com/detekt/detekt/issues/9386">#9386</a>)</li> <li>Additional commits viewable in <a href="https://github.com/detekt/detekt/compare/v2.0.0-alpha.3...v2.0.0-alpha.5">compare view</a></li> </ul> </details> <br /> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: devcrocod <devcrocod@gmail.com>
80 lines
4.6 KiB
TOML
80 lines
4.6 KiB
TOML
[versions]
|
|
# plugins version
|
|
atomicfu = "0.33.0"
|
|
binaryCompatibilityValidatorPlugin = "0.18.1"
|
|
detekt = "2.0.0-alpha.5"
|
|
dokka = "2.2.0"
|
|
kotlin = "2.3.21"
|
|
kover = "0.9.8"
|
|
ktlint = "14.2.0"
|
|
knit = "0.5.1"
|
|
mavenPublish = "0.37.0"
|
|
netty = "4.2.15.Final"
|
|
|
|
# libraries version
|
|
awaitility = "4.3.0"
|
|
collections-immutable = "0.5.0"
|
|
coroutines = "1.11.0"
|
|
kotest = "6.2.1"
|
|
kotlinx-io = "0.9.1"
|
|
ktor = "3.5.1"
|
|
logging = "8.0.4"
|
|
mockk = "1.14.11"
|
|
serialization = "1.11.0"
|
|
slf4j = "2.0.18"
|
|
logback = "1.5.37"
|
|
junit = "5.14.4"
|
|
|
|
[libraries]
|
|
# Plugins
|
|
detekt-gradle = { module = "dev.detekt:detekt-gradle-plugin", version.ref = "detekt" }
|
|
dokka-gradle = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" }
|
|
kotlin-gradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
|
|
kotlin-serialization = { module = "org.jetbrains.kotlin:kotlin-serialization", version.ref = "kotlin" }
|
|
kotlinx-atomicfu-gradle = { module = "org.jetbrains.kotlinx:atomicfu-gradle-plugin", version.ref = "atomicfu" }
|
|
maven-publish = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "mavenPublish" }
|
|
|
|
# Kotlinx libraries
|
|
kotlin-logging = { group = "io.github.oshai", name = "kotlin-logging", version.ref = "logging" }
|
|
kotlinx-collections-immutable = { group = "org.jetbrains.kotlinx", name = "kotlinx-collections-immutable", version.ref = "collections-immutable" }
|
|
kotlinx-coroutines-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines" }
|
|
kotlinx-coroutines-core-wasm = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core-wasm-js", version.ref = "coroutines" }
|
|
kotlinx-io-core = { group = "org.jetbrains.kotlinx", name = "kotlinx-io-core", version.ref = "kotlinx-io" }
|
|
kotlinx-serialization-json = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version.ref = "serialization" }
|
|
|
|
# Ktor
|
|
ktor-client-apache5 = { group = "io.ktor", name = "ktor-client-apache5", version.ref = "ktor" }
|
|
ktor-client-auth = { group = "io.ktor", name = "ktor-client-auth", version.ref = "ktor" }
|
|
ktor-client-core = { group = "io.ktor", name = "ktor-client-core", version.ref = "ktor" }
|
|
ktor-client-logging = { group = "io.ktor", name = "ktor-client-logging", version.ref = "ktor" }
|
|
ktor-server-content-negotiation = { group = "io.ktor", name = "ktor-server-content-negotiation", version.ref = "ktor" }
|
|
ktor-client-content-negotiation = { group = "io.ktor", name = "ktor-client-content-negotiation", version.ref = "ktor" }
|
|
ktor-serialization = { group = "io.ktor", name = "ktor-serialization-kotlinx-json", version.ref = "ktor" }
|
|
ktor-server-auth = { group = "io.ktor", name = "ktor-server-auth", version.ref = "ktor" }
|
|
ktor-server-core = { group = "io.ktor", name = "ktor-server-core", version.ref = "ktor" }
|
|
ktor-server-sse = { group = "io.ktor", name = "ktor-server-sse", version.ref = "ktor" }
|
|
ktor-server-websockets = { group = "io.ktor", name = "ktor-server-websockets", version.ref = "ktor" }
|
|
|
|
# Testing
|
|
awaitility = { group = "org.awaitility", name = "awaitility-kotlin", version.ref = "awaitility" }
|
|
kotest-assertions-core = { group = "io.kotest", name = "kotest-assertions-core", version.ref = "kotest" }
|
|
kotest-assertions-json = { group = "io.kotest", name = "kotest-assertions-json", version.ref = "kotest" }
|
|
kotest-assertions-ktor = { group = "io.kotest", name = "kotest-assertions-ktor", version.ref = "kotest" }
|
|
kotlinx-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
|
|
ktor-client-mock = { group = "io.ktor", name = "ktor-client-mock", version.ref = "ktor" }
|
|
ktor-server-test-host = { group = "io.ktor", name = "ktor-server-test-host", version.ref = "ktor" }
|
|
mockk = { module = "io.mockk:mockk", version.ref = "mockk" }
|
|
netty-bom = { group = "io.netty", name = "netty-bom", version.ref = "netty" }
|
|
slf4j-simple = { group = "org.slf4j", name = "slf4j-simple", version.ref = "slf4j" }
|
|
logback-classic = { group = "ch.qos.logback", name = "logback-classic", version.ref = "logback" }
|
|
junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit" }
|
|
|
|
# Samples
|
|
ktor-client-cio = { group = "io.ktor", name = "ktor-client-cio", version.ref = "ktor" }
|
|
ktor-server-cio = { group = "io.ktor", name = "ktor-server-cio", version.ref = "ktor" }
|
|
|
|
[plugins]
|
|
kotlinx-binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binaryCompatibilityValidatorPlugin" }
|
|
kover = { id = "org.jetbrains.kotlinx.kover", version.ref = "kover" }
|
|
ktlint = { id = "org.jlleitschuh.gradle.ktlint", version.ref = "ktlint" }
|
|
knit = { id = "org.jetbrains.kotlinx.knit", version.ref = "knit" }
|