Skip to content

Bump detekt from 2.0.0-alpha.1 to 2.0.0-alpha.2#73

Open
dependabot[bot] wants to merge 1 commit intofeature/composefrom
dependabot/gradle/detekt-2.0.0-alpha.2
Open

Bump detekt from 2.0.0-alpha.1 to 2.0.0-alpha.2#73
dependabot[bot] wants to merge 1 commit intofeature/composefrom
dependabot/gradle/detekt-2.0.0-alpha.2

Conversation

@dependabot
Copy link

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

Bumps detekt from 2.0.0-alpha.1 to 2.0.0-alpha.2.
Updates dev.detekt:detekt-rules-ktlint-wrapper from 2.0.0-alpha.1 to 2.0.0-alpha.2

Release notes

Sourced from dev.detekt:detekt-rules-ktlint-wrapper'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

Updates 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 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)

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

Updates `dev.detekt:detekt-rules-ktlint-wrapper` 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)

Updates `dev.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:detekt-rules-ktlint-wrapper
  dependency-version: 2.0.0-alpha.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
- 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>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Feb 23, 2026
@sonarqubecloud
Copy link

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 java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants