Clang and Black no longer break the build when the binary is unavailable, if they will not be run during that build (#1257).
License header support for Kotlin files without package or @file but do at least have import (#1263).
[2.27.0] - 2022-06-30
Added
Support for MAC_CLASSIC (\r) line ending (#1243 fixes #1196)
Changes
Bump default ktlint version to latest 0.45.2 -> 0.46.1 (#1239)
Minimum supported version also bumped to 0.46.0 (we have abandoned strong backward compatibility for ktlint, from here on out Spotless will only support the most-recent breaking change).
Bump default diktat version to latest 1.1.0 -> 1.2.1 (#1246)
Minimum supported version also bumped to 1.2.1 (diktat is based on ktlint and has the same backward compatibility issues).
Bump default ktfmt version to latest 0.37 -> 0.39 (#1240)
[2.26.2] - 2022-06-11
Fixed
PalantirJavaFormatStep no longer needs the --add-exports calls in the org.gradle.jvmargs property in gradle.properties. (#1233)
[2.26.1] - 2022-06-10
Fixed
(Second try) googleJavaFormat and removeUnusedImports works on JDK16+ without jvm args workaround. (#1228)
[2.26.0] - 2022-06-05
Added
Support for editorConfigOverride in ktlint. (#1218 fixes #1193)
Fixed
google-java-format and RemoveUnusedImportsStep works on JDK16+ without jvm args workaround. (#1224 fixes #834)
[2.25.3] - 2022-05-10
Fixed
Update the black version regex to fix 19.10b0 and earlier. (fixes #1195, regression introduced in 2.25.0)
GitAttributesLineEndings$RelocatablePolicy and FormatterStepImpl now null-out their initialization lambdas after their state has been calculated, which allows GC to collect variables which were incidentally captured but not needed in the calculated state. (#1198)
Changes
Bump default ktfmt version to latest 0.36 -> 0.37. (#1200)
[2.25.2] - 2022-05-03
Changes
Bump default diktat version to latest 1.0.1 -> 1.1.0. (#1190)
Converted diktat integration to use a compile-only source set. (fixes #524)
Use the full path to a file in diktat integration. (fixes #1189)
[2.25.1] - 2022-04-27
Changes
Bump default ktfmt version to latest 0.35 -> 0.36. (#1183)
Bump default google-java-format version to latest 1.13.0 -> 1.15.0.
This means it is no longer necessary to use the --add-exports workaround (fixes #834).--add-exports workaround is still needed.
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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 spotless-maven-plugin from 2.27.2 to 2.28.0.
Changelog
Sourced from spotless-maven-plugin's changelog.
... (truncated)
Commits
a474435
Published lib/2.28.0d6e767a
Adapt gradle plugin publishing for the new 1.0 plugin-publish plugin.c229c19
Support adding license header for kotlin files without package name (#1263)6d6b09d
spotlessApply8715f50
Update changelogs.efc0225
Merge branch 'main' into kotlin-default-license-header-delimiter92ff11b
Declare build service usages to fix Gradle 8.0 warning (#1262 fixes #1260)f6b8590
The standard tests need the fix for the new Groovy too.9831c59
Support adding license header for classes without package name6a786a2
Fix GradleVersion forced-upgrade for minimum required JRE.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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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)