Skip to content

Commit 77928a5

Browse files
authored
Update dependency com.facebook:ktfmt to v0.59 (#2681)
2 parents 36f27ab + 5f88d4d commit 77928a5

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This document is intended for Spotless developers.
1010
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
1111

1212
## [Unreleased]
13+
### Changes
14+
* Bump default `ktfmt` version to latest `0.58` -> `0.59`. ([#2681](https://github.com/diffplug/spotless/pull/2681)
1315
### Fixed
1416
- palantirJavaFormat is no longer arbitrarily set to outdated versions on Java 17, latest available version is always used ([#2686](https://github.com/diffplug/spotless/pull/2686) fixes [#2685](https://github.com/diffplug/spotless/issues/2685))
1517

lib/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ dependencies {
104104
jacksonCompileOnly "com.fasterxml.jackson.core:jackson-databind:$VER_JACKSON"
105105
jacksonCompileOnly "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:$VER_JACKSON"
106106
// ktfmt
107-
ktfmtCompileOnly "com.facebook:ktfmt:0.58"
107+
ktfmtCompileOnly "com.facebook:ktfmt:0.59"
108108
ktfmtCompileOnly("com.google.googlejavaformat:google-java-format") {
109109
version {
110110
strictly '1.7' // for JDK 8 compatibility

lib/src/main/java/com/diffplug/spotless/kotlin/KtfmtStep.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
public final class KtfmtStep implements Serializable {
4242
@Serial
4343
private static final long serialVersionUID = 1L;
44-
private static final String DEFAULT_VERSION = "0.58";
44+
private static final String DEFAULT_VERSION = "0.59";
4545
private static final String NAME = "ktfmt";
4646
private static final String MAVEN_COORDINATE = "com.facebook:ktfmt:";
4747

plugin-gradle/CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
44

55
## [Unreleased]
6+
### Changes
7+
* Bump default `ktfmt` version to latest `0.58` -> `0.59`. ([#2681](https://github.com/diffplug/spotless/pull/2681)
68
### Fixed
79
- palantirJavaFormat is no longer arbitrarily set to outdated versions on Java 17, latest available version is always used ([#2686](https://github.com/diffplug/spotless/pull/2686) fixes [#2685](https://github.com/diffplug/spotless/issues/2685))
810

plugin-maven/CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).
44

55
## [Unreleased]
6+
### Changes
7+
* Bump default `ktfmt` version to latest `0.58` -> `0.59`. ([#2681](https://github.com/diffplug/spotless/pull/2681)
68
### Fixed
79
- palantirJavaFormat is no longer arbitrarily set to outdated versions on Java 17, latest available version is always used ([#2686](https://github.com/diffplug/spotless/pull/2686) fixes [#2685](https://github.com/diffplug/spotless/issues/2685))
810

0 commit comments

Comments
 (0)