Update dependency io.gitlab.arturbosch.detekt:detekt-gradle-plugin to v1.21.0 #40
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.19.0
->1.21.0
⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.
Release Notes
detekt/detekt
v1.21.0
We're delighted to announce the next upcoming stable release of Detekt:
1.21.0
🎉This release is coming with 6 new rules, new API and functionalities and several stability improvements.
We want to thank you very much our Sponsors for the support in those last months. The work behind Detekt is all happening on a voluntary basis, and we're more than grateful for all the support we get from the Open Source Ecosystem.
We're also excited to announce that we're now having an Open Source Gradle Enterprise instance. When building the Detekt projects, you'll benefit from the Gradle Remote Cache that this instance is providing!
Finally, we want to take the opportunity to thank our contributors for testing, bug reporting and helping
us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).
Notable Changes
NullableBooleanCheck
- #4872CouldBeSequence
- #4855UnnecessaryBackticks
- #4764ForbiddenSuppress
- #4899MaxChainedCallsOnSameLine
- #4985CascadingCallWrapping
- #4979NestedScopeFunctions
- #47881.22.0
.Migration
We fixed a bug related to function with KDocs and how their location in the source code was calculated (see #4961 and #4887).
Because of this, some users might have to recreate their baseline as the location of such functions are not matched anymore against the baseline. You can do so by deleting your old baseline and invoking the
detektBaseline
task (or the corresponding task, based on your configuration).Changelog
3f62b75
- #5007this
references - #4884detekt-gradle-plugin
anddetekt-utils
- #4748VarCouldBeVal
: Add configuration flagignoreLateinitVar
- #47451.21
- #4643Dependency Updates
Housekeeping & Refactorings
ComplexMethod
debt and refactor code - #5029runWithArgsFile
failing locally - #4718See all issues at: 1.21.0
v1.20.0
We're extremely excited to share with you all the next upcoming stable release of Detekt:
1.20.0
🎉This release is coming with 16 new rules, new API and functionalities and several stability improvements.
First, much thanks to our sponsors ❤️ as we were able to buy a domain and move our website to https://detekt.dev/.
As for the feature shipped, we work a lot on the Reporting side: we added a new type of reporting, improved the styling of the existing one and
generally reduced the unnecessary warnings of run with type resolution.
For rules like
ForbiddenMethod
where you can configure a signature of a method you want to use in your rule, we added a new syntaxthat allows to reference generic methods & extension functions.
We update a lot of the libraries we depend on bringing Detekt up to the ecosystem: KtLint 0.45.2, Kotlin 1.6.20 and Gradle 7.4.2 to name a few.
Finally, we also migrated all of our tests from Spek to JUnit. This was a huge effort that will hopefully make easier for contributors
to be involved with Detekt.
As always, we want to take the opportunity to thank our contributors for testing, bug reporting and helping
us release this new version of Detekt. You're more than welcome to join our community on the #detekt channel on KotlinLang's Slack (you can get an invite here).
Notable Changes
formatting
ruleset provided by Detekt is updated to use this new mechanism - #4352LiteFindingsReport
(which is more compact reporting and similar to other tools in the ecosystem. You can see an example here) - #4449.FindingsReport
andFileBasedFindingsReporter
- #44641.19.0
for users usingignoreAnnotated
running without type resolution - #4570ForbiddenMethod
where you can specify a method name in the config file, now we added support for:v7.4.2
, AGP7.1.3
and Kotlin1.6.20
(see #4530 #4573 #4133 #4277 #4665)0.45.2
(see #4227 #4630 #4645 #4690)Changelog
AnnotationExcluder
- #4518formatting
- #4473Suppressor
s - #4440UnnecessaryAbstractClass
- #4399inner
classes - #4344Dependency Updates
Housekeeping & Refactorings
setReportOutputConventions
- #4546AnnotationExcluder
tests - #4368See all issues at: 1.20.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.