Skip to content

Commit dbfeffa

Browse files
authored
Update dependency com.facebook:ktfmt to v0.43 (#1561)
2 parents 4ed7074 + 4f92a67 commit dbfeffa

File tree

5 files changed

+8
-2
lines changed

5 files changed

+8
-2
lines changed

CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1616
### Fixed
1717
* Allow multiple instances of the same npm-based formatter to be used by separating their `node_modules` directories. ([#1565](https://github.com/diffplug/spotless/pull/1565))
1818
* `ktfmt` default style uses correct continuation indent. ([#1562](https://github.com/diffplug/spotless/pull/1562))
19+
### Changes
20+
* Bump default `ktfmt` version to latest `0.42` -> `0.43` ([#1561](https://github.com/diffplug/spotless/pull/1561))
1921

2022
## [2.34.1] - 2023-02-05
2123
### Changes

lib/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies {
7272
jacksonCompileOnly 'com.fasterxml.jackson.core:jackson-databind:2.14.1'
7373
jacksonCompileOnly 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.14.1'
7474

75-
String VER_KTFMT = '0.42'
75+
String VER_KTFMT = '0.43'
7676
ktfmtCompileOnly "com.facebook:ktfmt:$VER_KTFMT"
7777
String VER_KTLINT_GOOGLE_JAVA_FORMAT = '1.7' // for JDK 8 compatibility
7878
ktfmtCompileOnly("com.google.googlejavaformat:google-java-format") {

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class KtfmtStep {
3939
// prevent direct instantiation
4040
private KtfmtStep() {}
4141

42-
private static final String DEFAULT_VERSION = "0.42";
42+
private static final String DEFAULT_VERSION = "0.43";
4343
static final String NAME = "ktfmt";
4444
static final String PACKAGE = "com.facebook";
4545
static final String MAVEN_COORDINATE = PACKAGE + ":ktfmt:";

plugin-gradle/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
99
* Allow multiple instances of the same npm-based formatter to be used simultaneously. E.g. use prettier for typescript
1010
*and* Java (using the community prettier-plugin-java) without messing up their respective `node_module` dependencies. ([#1565](https://github.com/diffplug/spotless/pull/1565))
1111
* `ktfmt` default style uses correct continuation indent. ([#1562](https://github.com/diffplug/spotless/pull/1562))
12+
### Changes
13+
* Bump default `ktfmt` version to latest `0.42` -> `0.43` ([#1561](https://github.com/diffplug/spotless/pull/1561))
1214

1315
## [6.14.1] - 2023-02-05
1416
### Fixed

plugin-maven/CHANGES.md

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
99
* Allow multiple instances of the same npm-based formatter to be used simultaneously. E.g. use prettier for typescript
1010
*and* Java (using the community prettier-plugin-java) without messing up their respective `node_module` dependencies. ([#1565](https://github.com/diffplug/spotless/pull/1565))
1111
* `ktfmt` default style uses correct continuation indent. ([#1562](https://github.com/diffplug/spotless/pull/1562))
12+
### Changes
13+
* Bump default `ktfmt` version to latest `0.42` -> `0.43` ([#1561](https://github.com/diffplug/spotless/pull/1561))
1214

1315
## [2.32.0] - 2023-02-05
1416
### Added

0 commit comments

Comments
 (0)