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:
8.9
->8.12
v2
->v3
1.1.1
->1.5.0
1.0.0
->1.2.0
1.1.3
->1.4.4
6.24.0
->6.25.0
1.4.0-rc01
->1.5.1
1.4.0-rc01
->1.5.1
1.4.0-rc01
->1.5.1
1.4.0-rc01
->1.5.1
1.4.0-rc01
->1.5.1
2.0.0-1.0.21
->2.1.0-1.0.29
2.0.0
->2.1.0
2.0.0
->2.1.0
2.0.0
->2.1.0
2.49
->2.54
2.49
->2.54
2.49
->2.54
2024.11.00
->2024.12.01
2.4.0
->2.7.0
2.4.0
->2.7.0
1.4.0
->1.4.1
1.4.0
->1.4.1
1.4.0
->1.4.1
1.4.0
->1.4.1
1.4.0
->1.4.1
0.32.0
->0.37.0
0.32.0
->0.37.0
Release Notes
gradle/gradle (gradle)
v8.12
Compare Source
v8.11.1
: 8.11.1Compare Source
This is a patch release for Gradle 8.11. We recommend users upgrade to 8.11.1 instead of 8.11.
It fixes the following issues:
Read the Release Notes
Upgrade instructions
Switch your build to use Gradle 8.11.1 by updating your wrapper:
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
v8.11
: 8.11Compare Source
The Gradle team is excited to announce Gradle 8.11.
Read the Release Notes
We would like to thank the following community members for their contributions to this release of Gradle:
Adam,
alyssoncs,
Bilel MEDIMEGH,
Björn Kautler,
Chuck Thomas,
Daniel Lacasse,
Finn Petersen,
JK,
Jérémie Bresson,
luozexuan,
Mahdi Hosseinzadeh,
Markus Gaisbauer,
Matthew Haughton,
Matthew Von-Maszewski,
ploober,
Siarhei,
Titus James,
vrp0211
Upgrade instructions
Switch your build to use Gradle 8.11 by updating your wrapper:
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
v8.10.2
: 8.10.2Compare Source
This is a patch release for 8.10. We recommend using 8.10.2 instead of 8.10
It fixes the following issues:
Issues fixed in the first patch release:
Read the Release Notes
Upgrade instructions
Switch your build to use Gradle 8.10.2 by updating your wrapper:
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
v8.10.1
: 8.10.1Compare Source
This is a patch release for 8.10. We recommend using 8.10.1 instead of 8.10
It fixes the following issues:
Read the Release Notes
Upgrade instructions
Switch your build to use Gradle 8.10.1 by updating your wrapper:
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
v8.10
: 8.10Compare Source
The Gradle team is excited to announce Gradle 8.10.
Read the Release Notes
We would like to thank the following community members for their contributions to this release of Gradle:
Björn Kautler,
Craig Andrews,
gotovsky,
Jeff,
Kirill Gavrilov,
Madalin Valceleanu,
Sergei Vorobev,
Thach Le,
Thad Guidry
Upgrade instructions
Switch your build to use Gradle 8.10 by updating your wrapper:
See the Gradle 8.x upgrade guide to learn about deprecations, breaking changes and other considerations when upgrading.
For Java, Groovy, Kotlin and Android compatibility, see the full compatibility notes.
Reporting problems
If you find a problem with this release, please file a bug on GitHub Issues adhering to our issue guidelines.
If you're not sure you're encountering a bug, please use the forum.
We hope you will build happiness with Gradle, and we look forward to your feedback via Twitter or on GitHub.
gradle/wrapper-validation-action (gradle/wrapper-validation-action)
v3
Compare Source
pinterest/ktlint (com.pinterest.ktlint:ktlint-cli)
v1.5.0
Compare Source
The release of Kotlin 2.1 is the primary reason for publishing this release earlier than planned. Because of the removal of some language elements in Kotlin 2.1, the embedded Kotlin compiler in KtLint blocked Kotlinter users from upgrading to Kotlin 2.1.
🆕 Features
Add missing space between
fun
keyword and identifier when latter is wrapped between backticks - #2890, by @paul-dingemansAdd configuration setting for constant names in
property-naming
rule - #2893, by @paul-dingemansAllow backing property to be defined in the companion object (
backing-property-naming
) - #2895, by @paul-dingemans🔧 Fixes
Ignore multi dollar string interpolation prefix in
string-template-indent
rule - #2888, by @paul-dingemansWrap the expression body in case
.editorconfig
propertyktlint_function_signature_body_expression_wrapping
is set toalways
- #2873, by @paul-dingemansFix false positive when empty parameter list is in between trailing lambda's of a nested call expression - #2891, by @paul-dingemans
Do not wrap a context receiver in a function parameter type reference - #2892, by @paul-dingemans
Allow comment before parameter list in function literal (
function-literal
) - #2894, by @paul-dingemans📦 Dependencies
chore(deps): update plugin com.gradle.develocity to v3.18.2 - #2865, by @renovate[bot]
chore(deps): update dependency gradle to v8.11.1 - #2875, by @renovate[bot]
fix(deps): update dependency io.github.hakky54:logcaptor to v2.10.0 - #2874, by @renovate[bot]
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-rc2 - #2871, by @renovate[bot]
fix(deps): update dependency io.github.oshai:kotlin-logging-jvm to v7.0.3 - #2883, by @renovate[bot]
fix(deps): update kotlin monorepo to v2.1.0 - #2880, by @renovate[bot]
fix(deps): update dependency com.github.ajalt.clikt:clikt to v5.0.2 - #2886, by @renovate[bot]
chore(deps): update plugin org.gradle.toolchains.foojay-resolver-convention to v0.9.0 - #2887, by @renovate[bot]
fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.18.0 - #2889, by @renovate[bot]
v1.4.1
Compare Source
🔧 Fixes
📦 Dependencies
v1.4.0
Compare Source
🆕 Features
Suppress
backing-property-naming
on@Suppress("PropertyName")
- #2741, by @paul-dingemansCheck that code can still be parsed after a format - #2742, by @paul-dingemans
Support suppressing backing-property-naming via ObjectPropertyName - #2751, by @Goooler
Ignore properties starting with
_
inbacking-property-naming
rule - #2753, by @paul-dingemansSuppress
backing-property-naming
rule with@Suppress("LocalVariableName")
- #2785, by @paul-dingemansDo not repeat formatting if file is unchanged - #2805, by @paul-dingemans
Add new rule
when-entry-bracing
- #2829, by @paul-dingemansAdd
.editorconfig
propertyij_kotlin_indent_before_arrow_on_new_line
- #2838, by @paul-dingemansAdd CLI option
--stdin-path
to provide a virtual file location for stdin - #2836, by @adecker89Add property
.editorconfig
propertyktlint_enum_entry_name_casing
- #2839, by @paul-dingemans🔧 Fixes
Prevent line separators to be changed from CRLF to LF - #2752, by @paul-dingemans
fix: don't remove arrow from lambdas that are when/if leaf nodes - #2758, by @tKe
Fix false positive in
no-semi
rule for enum class without enum entries - #2774, by @paul-dingemansPrevent conflict between
multiline-expression-wrapping
andfunction-signature
- #2775, by @paul-dingemansIgnore
max_line_length
property unlessmax-line-length
rule is enabled - #2783, by @paul-dingemansFix false positive in
class-signature
when EOL comment is between a class annotation and other class modifier - #2786, by @paul-dingemansFix globs ending with
**
- #2787, by @paul-dingemansReturn exit code 1 in case violations have been found but file is unchanged - #2803, by @paul-dingemans
Ignore missing whitespace after trailing comma in single line parameter value list - #2806, by @paul-dingemans
Remove HEADER_KEYWORD & IMPL_KEYWORD - #2810, by @3flex
Function signature rule ignores context receiver when on separate line - #2814, by @paul-dingemans
Do not remove imports for which the fully qualified path is identical to the package name - #2822, by @paul-dingemans
Fix indentation of a multiline parameter list inside a function literal for code style
ktlint_official
- #2823, by @paul-dingemansDo not insert a trailing comma in a multiline when-entry containing a guard - #2825, by @paul-dingemans
Fix wrapping of expression body when
max_line_length
not set - #2833, by @paul-dingemans📦 Dependencies
Update dependency io.github.oshai:kotlin-logging-jvm to v7 - #2701, by @renovate[bot]
Update dependency org.assertj:assertj-core to v3.26.3 - #2738, by @renovate[bot]
Update mikepenz/release-changelog-builder-action action to v5 - #2756, by @renovate[bot]
chore(deps): update plugin kotlinx-binary-compatibiltiy-validator to v0.16.3 - #2759, by @renovate[bot]
fix(deps): update dependency org.slf4j:slf4j-simple to v2.0.16 - #2764, by @renovate[bot]
Migrate to com.gradleup.shadow - #2763, by @Goooler
chore(deps): update gradle/actions action to v4 - #2760, by @renovate[bot]
chore(deps): update plugin com.gradle.develocity to v3.18.1 - #2792, by @renovate[bot]
chore(deps): update dependency gradle to v8.10.2 - #2812, by @renovate[bot]
chore(deps): update plugin shadow to v8.3.3 - #2820, by @renovate[bot]
fix(deps): update dependency com.github.ajalt.clikt:clikt to v5.0.1 - #2828, by @renovate[bot]
chore(deps): update kotlin monorepo to v2.0.21 - #2831, by @renovate[bot]
fix(deps): update dependency org.ec4j.core:ec4j-core to v1.1.0 - #2832, by @renovate[bot]
fix(deps): update dependency org.jetbrains.kotlin:kotlin-gradle-plugin to v2.1.0-beta2 - #2834, by @renovate[bot]
fix(deps): update dependency dev.drewhamilton.poko:poko-gradle-plugin to v0.17.2 - #2837, by @renovate[bot]
fix(deps): update dependency org.junit.jupiter:junit-jupiter to v5.11.3 - #2840, by @renovate[bot]
chore(deps): update actions/checkout digest to
11bd719
- #2841, by @renovate[bot]v1.3.1
Compare Source
🔧 Fixes
no-unused-imports
- #2725, by @paul-dingemansFormat was not able to resolve all violations which (theoretically) can be autocorrected
- #2727, by @paul-dingemans📦 Dependencies
692973e
- #2699, by @renovate[bot]💬 Other
v1.3.0
Compare Source
🆕 Features
Support partial formatting - #2631, by @paul-dingemans
Suppress
property-name
rule forObjectPropertyName
orPrivatePropertyName
- #2643, by @paul-dingemansLet API Consumer decide whether a LintError has to be autocorrected, or not - #2671, by @paul-dingemans
Promote experimental rules to non-experimental - #2674, by @paul-dingemans
🔧 Fixes
Do not wrap operation reference after multiline string template - #2591, by @paul-dingemans
Ignore max line length in case the line contains only a string template followed by a comma - #2598, by @paul-dingemans
Ignore nested reference expressions in
chain-method-continuation
- #2606, by @paul-dingemansPrevent exception in
binary-expression-wrapping
rule - #2607, by @paul-dingemansDo not merge opening quotes of multiline string template with (single line) function signature - #2609, by @paul-dingemans
Fix replacement of redundant curly braces - #2617, by @paul-dingemans
Set and reset Locale to pass test for non-english contributor. - #2622, by @Jaehwa-Noh
Fix unwanted whitespace between super class constructor and its argument list - #2630, by @tKe
Fix typo's - #2641, by @paul-dingemans
Handle trailing space on preceding line in call to
lineLengthWithoutNewlinePrefix
- #2644, by @paul-dingemansFix KDoc for RuleSetProviderV3 - #2645, by @gumimin
Fix not checking for spacing around binary operators inside unary expression - #2653, by @cflee
Fix
blank line before declarations
rule code example - #2657, by @k-taro56Fixed [{ }] notation for issue #2675 - #2677, by @Jolanrensen
Simplify default properties loading - #2679, by @Goooler
📦 Dependencies
Update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.9.20 - #2590, by @renovate[bot]
Update softprops/action-gh-release action to v2 - #2600, by @renovate[bot]
Update dependency io.github.detekt.sa
Configuration
📅 Schedule: Branch creation - "* 0-3 * * *" (UTC), 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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.