Bumps [dev.detekt:detekt-gradle-plugin](https://github.com/detekt/detekt) from 2.0.0-alpha.5 to 2.0.0-alpha.6. <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.6</h2> <h2>2.0.0-alpha.6 - 2026-08-04</h2> <p>This is an alpha release of Detekt 2.0.0. It's built against Kotlin 2.4.10, Gradle 9.6.1, AGP 9.3.1 and is tested against JDK 25.</p> <h3>Notable Changes</h3> <ul> <li><code>detekt-rules-ktlint-wrapper</code> now targets JVM 17, in preparation for the next ktlint major release which requires JVM 17+, the rest of detekt still targets JVM 8+ - <a href="https://redirect.github.com/detekt/detekt/pull/9453">#9453</a></li> </ul> <h3>Changelog</h3> <ul> <li>feat(rules): add ignoreSealedClasses option to AbstractClassCanBeInterface - <a href="https://redirect.github.com/detekt/detekt/pull/9557">#9557</a></li> <li>docs: drop stale Android compile classpath warning note - <a href="https://redirect.github.com/detekt/detekt/pull/9550">#9550</a></li> <li>Recommend to use Locale.ROOT instead of Locale.US - <a href="https://redirect.github.com/detekt/detekt/pull/9532">#9532</a></li> <li>Recognize params swallowed by KDoc lexer in OutdatedDocumentation - <a href="https://redirect.github.com/detekt/detekt/pull/9529">#9529</a></li> <li>Fix UnusedPrivateProperty false negative for constructor properties - <a href="https://redirect.github.com/detekt/detekt/pull/9491">#9491</a></li> <li>Fix MissingSuperCall false positive when annotation is in grandparent - <a href="https://redirect.github.com/detekt/detekt/pull/9469">#9469</a></li> <li>Fix UseDataClass false positive for properties with a custom accessor - <a href="https://redirect.github.com/detekt/detekt/pull/9462">#9462</a></li> <li>Fix a potential bug on <code>Config.getListOrDefault</code> - <a href="https://redirect.github.com/detekt/detekt/pull/9461">#9461</a></li> <li>Fix <code>UnusedPrivateFunction</code> false positive for overloaded private extension functions with a Java (or generated) receiver type - <a href="https://redirect.github.com/detekt/detekt/pull/9450">#9450</a></li> <li>Fix <code>CanBeNonNullable</code> false negative on local variables - <a href="https://redirect.github.com/detekt/detekt/pull/9432">#9432</a></li> <li>Fix CognitiveComplexMethod false positive for object literal methods - <a href="https://redirect.github.com/detekt/detekt/pull/9431">#9431</a></li> <li>Fix <code>ReturnCount</code>/<code>ThrowsCount</code> false positive where a guard clause following a local variable declaration was still counted (with <code>excludeGuardClauses</code> enabled) - <a href="https://redirect.github.com/detekt/detekt/pull/9424">#9424</a></li> <li>Extend <code>PropertyUsedBeforeDeclaration</code> to follow private init calls - <a href="https://redirect.github.com/detekt/detekt/pull/9334">#9334</a></li> <li>Add configuration ignoredFullyQualifiedNames to UnnecessaryFullyQualifiedName rule - <a href="https://redirect.github.com/detekt/detekt/pull/9301">#9301</a></li> <li>Expose multiline parameter in <code>ClassSignature</code> - <a href="https://redirect.github.com/detekt/detekt/pull/9084">#9084</a></li> </ul> <h3>Dependency Updates</h3> <ul> <li>Update agp to v9.3.1 - <a href="https://redirect.github.com/detekt/detekt/pull/9538">#9538</a></li> <li>Update kotlin monorepo to v2.4.10 - <a href="https://redirect.github.com/detekt/detekt/pull/9518">#9518</a></li> <li>Update Gradle to v9.6.1 - <a href="https://redirect.github.com/detekt/detekt/pull/9444">#9444</a></li> <li>Update Gradle to v9.6.0 - <a href="https://redirect.github.com/detekt/detekt/pull/9420">#9420</a></li> </ul> <h3>Housekeeping & Refactorings</h3> <ul> <li>Reduce scope of <code>@Suppress("UNCHECKED_CAST")</code> - <a href="https://redirect.github.com/detekt/detekt/pull/9459">#9459</a></li> <li>Remove irrelevant test for YamlConfig - <a href="https://redirect.github.com/detekt/detekt/pull/9457">#9457</a></li> <li>fix: handle trailing commas in <a href="https://github.com/Configuration"><code>@Configuration</code></a> annotation parsing in JS generator - <a href="https://redirect.github.com/detekt/detekt/pull/9447">#9447</a></li> <li>Production code should not depend on fixtures - <a href="https://redirect.github.com/detekt/detekt/pull/9439">#9439</a></li> </ul> <h3>Contributors</h3> <p>We would like to thank the following contributors that made this release possible: <a href="https://github.com/3flex"><code>@3flex</code></a>, <a href="https://github.com/BraisGabin"><code>@BraisGabin</code></a>, <a href="https://github.com/ChristophyBarth"><code>@ChristophyBarth</code></a>, <a href="https://github.com/FilippoVigani"><code>@FilippoVigani</code></a>, <a href="https://github.com/Phoenix1808"><code>@Phoenix1808</code></a>, <a href="https://github.com/ShubhamWorks02"><code>@ShubhamWorks02</code></a>, <a href="https://github.com/cortinico"><code>@cortinico</code></a>, <a href="https://github.com/e5l"><code>@e5l</code></a>, <a href="https://github.com/eyupcanakman"><code>@eyupcanakman</code></a>, <a href="https://github.com/iuryeng"><code>@iuryeng</code></a>, <a href="https://github.com/loganrosen"><code>@loganrosen</code></a>, <a href="https://github.com/marpalat"><code>@marpalat</code></a>, <a href="https://github.com/roian6"><code>@roian6</code></a>, <a href="https://github.com/sahilpatel2521"><code>@sahilpatel2521</code></a>, <a href="https://github.com/tonytonycoder11"><code>@tonytonycoder11</code></a></p> <p>See all issues at: <a href="https://github.com/detekt/detekt/milestone/42">2.0.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="401c64bf23"><code>401c64b</code></a> Update github/codeql-action digest to 5595cca (<a href="https://redirect.github.com/detekt/detekt/issues/9569">#9569</a>)</li> <li><a href="7d92d70b25"><code>7d92d70</code></a> Migrate to the OSS Community Develocity Instance (<a href="https://redirect.github.com/detekt/detekt/issues/9549">#9549</a>)</li> <li><a href="7212708afb"><code>7212708</code></a> Update gradle/actions digest to 9c97196 (<a href="https://redirect.github.com/detekt/detekt/issues/9568">#9568</a>)</li> <li><a href="529f2bae7d"><code>529f2ba</code></a> Update github/codeql-action digest to d1ba80a (<a href="https://redirect.github.com/detekt/detekt/issues/9567">#9567</a>)</li> <li><a href="6df1cf12a5"><code>6df1cf1</code></a> feat(rules): add ignoreSealedClasses option to AbstractClassCanBeInterface (#...</li> <li><a href="6fa04a63c8"><code>6fa04a6</code></a> Update actions/setup-java digest to b6effb0 (<a href="https://redirect.github.com/detekt/detekt/issues/9560">#9560</a>)</li> <li><a href="d744c2fdbe"><code>d744c2f</code></a> Update plugin com.gradle.common-custom-user-data-gradle-plugin to v2.8.0 (<a href="https://redirect.github.com/detekt/detekt/issues/9561">#9561</a>)</li> <li><a href="688c42bb12"><code>688c42b</code></a> Update github/codeql-action digest to f205ea1 (<a href="https://redirect.github.com/detekt/detekt/issues/9559">#9559</a>)</li> <li><a href="a2f4740552"><code>a2f4740</code></a> fix(doc): remove mention of fixed issue (<a href="https://redirect.github.com/detekt/detekt/issues/9556">#9556</a>)</li> <li><a href="1ac699e3ec"><code>1ac699e</code></a> Fix UnusedPrivateProperty false negative (<a href="https://redirect.github.com/detekt/detekt/issues/9491">#9491</a>)</li> <li>Additional commits viewable in <a href="https://github.com/detekt/detekt/compare/v2.0.0-alpha.5...v2.0.0-alpha.6">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>
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.6"
|
|
dokka = "2.2.0"
|
|
kotlin = "2.4.10"
|
|
kover = "0.9.9"
|
|
ktlint = "14.2.0"
|
|
knit = "0.5.1"
|
|
mavenPublish = "0.37.0"
|
|
netty = "4.2.16.Final"
|
|
|
|
# libraries version
|
|
awaitility = "4.3.0"
|
|
collections-immutable = "0.5.1"
|
|
coroutines = "1.11.0"
|
|
kotest = "6.2.3"
|
|
kotlinx-io = "0.9.1"
|
|
ktor = "3.5.2"
|
|
logging = "8.0.4"
|
|
mockk = "1.14.11"
|
|
serialization = "1.11.0"
|
|
slf4j = "2.0.18"
|
|
logback = "1.6.1"
|
|
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" }
|