Skip to content

Bump dev.detekt from 2.0.0-alpha.1 to 2.0.0-alpha.2#512

Merged
kpavlov merged 2 commits intomainfrom
dependabot/gradle/dev.detekt-2.0.0-alpha.2
Feb 13, 2026
Merged

Bump dev.detekt from 2.0.0-alpha.1 to 2.0.0-alpha.2#512
kpavlov merged 2 commits intomainfrom
dependabot/gradle/dev.detekt-2.0.0-alpha.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 9, 2026

Bumps dev.detekt from 2.0.0-alpha.1 to 2.0.0-alpha.2.

Release notes

Sourced from dev.detekt's releases.

v2.0.0-alpha.2

2.0.0-alpha.2 - 2026-01-27

This is an alpha release of Detekt 2.0.0. It's built against Kotlin 2.3.0, Gradle 9.3.0, AGP 9.0.0 and is tested against JDK 25.

Please note that in order for this alpha of Detekt to run in an AGP 9.0.0 project, you will need to disable the new DSL and built-in Kotlin by adding these properties to gradle.properties:

android.newDsl=false
android.builtInKotlin=false

Further updates on builtInKotlin support in Detekt Gradle Plugin will be available here.

Notable Changes

  • Bump Kotlin to 2.3.0 - #8743
  • Bump Gradle to 9.3.0 - #8982
  • Bump AGP to 9 - #8553
  • Bump minimum AGP to 8.2.2 - #8931
  • Enable rules by default that are now standard in ktlint 1.8.0 - #8849
  • Bump KtLint to v1.8.0 - #8843
  • New ktlint Rule: ThenSpacingRule - #8850
  • New Rule: UnnecessaryInitOnArray - #8784
  • New Rule: UnnecessaryFullyQualifiedName - #8917

Breaking Changes

  • Rename documentation to comments - #8889
  • Rename empty to emptyblocks - #8888
  • Rename bugs rules to potentialbugs - #8887
  • Remove UnnecessaryAnnotationUseSiteTarget rule - #8861
  • Rename RuleSet.Id to RuleSetId - #8810
  • Rename rule CommentOverPrivateMethod to DocumentationOverPrivateMethod - #8778
  • Refactor AbsentOrWrongFileLicense - #8969
  • Compile DGP against kotlin-plugin-api only not KGP itself - #8756
  • Change configuration options for ForbiddenImport rule - #8747

Changelog

  • fix(UnusedImport): detect named companion objects correctly - #9005
  • Remove unnecessary tests - #8985
  • Pass the correct type to TestConfig - #8984
  • Remove special case for active at TestConfig - #8983
  • TestConfig over yamlConfigFromContent - #8974
  • Skip underscore placeholders for unused variables on NonNameShadowing rule (#8962) - #8965
  • docs: clarify function type handling in ForbiddenMethodCall - #8964
  • Check if there suspend function in try block before reporting - #8950
  • Fix SubpluginArtifact coordinates for dev.detekt:detekt-compiler-plugin - #8938
  • Handle case when inner is required as parent is inner - #8927

... (truncated)

Commits
  • 7508295 fix(UnusedImport): detect named companion objects correctly (#9005)
  • 7bad50d Don't execute binding phase on light mode (#9004)
  • 0f41086 The rules shouldn't have an empty config as default value (#8992)
  • 3cf1bdb Remove unnecessary interface (#9002)
  • 9e3f0c6 chore(deps): update github/codeql-action digest to 19b2f06 (#8999)
  • 6a6f950 fix(deps): update dependency org.assertj:assertj-core to v3.27.7 (#9000)
  • 08d0f88 chore(deps): update actions/setup-java digest to be666c2 (#8998)
  • 364c843 fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-core...
  • 0297a22 Update Gradle in sample-extensions to v9.3.0 (#8995)
  • e9ba65b Don't iterate the list twice (#8990)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file kotlin labels Feb 9, 2026
@dependabot dependabot bot force-pushed the dependabot/gradle/dev.detekt-2.0.0-alpha.2 branch 3 times, most recently from d19057d to a2c9695 Compare February 13, 2026 11:09
dependabot bot and others added 2 commits February 13, 2026 17:22
Bumps [dev.detekt](https://github.com/detekt/detekt) from 2.0.0-alpha.1 to 2.0.0-alpha.2.
- [Release notes](https://github.com/detekt/detekt/releases)
- [Commits](detekt/detekt@v2.0.0-alpha.1...v2.0.0-alpha.2)

---
updated-dependencies:
- dependency-name: dev.detekt
  dependency-version: 2.0.0-alpha.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Some rules have changed after upgrading to `2.0.0-alpha.2`.
Removed explicit (generated default) settings in `detekt.yml` as config is built upon default config.

- Keeping defaults in config makes configuration fragile.
- Deviations from default settings are not visible amid full configuration.
@kpavlov kpavlov force-pushed the dependabot/gradle/dev.detekt-2.0.0-alpha.2 branch from c4f6902 to 28c7c1d Compare February 13, 2026 15:22
@kpavlov kpavlov requested review from devcrocod and e5l February 13, 2026 15:41
@e5l
Copy link
Contributor

e5l commented Feb 13, 2026

no need for dependabot review

@kpavlov kpavlov merged commit 4501f14 into main Feb 13, 2026
13 checks passed
@kpavlov kpavlov deleted the dependabot/gradle/dev.detekt-2.0.0-alpha.2 branch February 13, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file kotlin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants