scalafmt integration now has a configuration option majorScalaVersion that allows you to configure the Scala version that gets resolved from the maven artifact (#1283)
Converted scalafmt integration to use a compile-only source set (fixes #524)
Changes
Add the ktlint rule in error messages when ktlint fails to apply a fix (#1279)
Bump default scalafmt to latest 3.0.8 -> 3.5.9 (removed support for pre-3.0.0) (#1283)
[2.28.1] - 2022-08-10
Fixed
Fix Clang not knowing the filename and changing the format (#1268 fixes #1267).
Changes
Bump default diktat version to latest 1.2.1 -> 1.2.3 (#1266)
[2.28.0] - 2022-07-28
Added
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)
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.29.0.
Changelog
Sourced from spotless-maven-plugin's changelog.
... (truncated)
Commits
1dfd0ee
Published lib/2.29.0cec88e2
Bump slf4j-api from 1.7.36 to 2.0.0 (#1285)a5332a6
Bump slf4j-api from 1.7.36 to 2.0.024b8d3a
Add support for setting scala version for scalafmt, and also convert to compi...e9d3150
Fix test.a75877c
Massive speedup. FormatterFunc is instantiated lazily and is not involved in ...735c7b5
Update the tool-specific changelogs.24ca9ec
Add info about changes to scalafmt default version.872424a
Update scalafmt versions in documentation30d72d8
Add documentation for majorScalaVersionDependabot 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)