Skip to content

Commit 552aabf

Browse files
authored
fix(deps): update dependency com.facebook:ktfmt to v0.42 (#1421)
2 parents 4063e9f + 062e835 commit 552aabf

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1515
* Support `ktlint` 0.48+ ([#1432](https://github.com/diffplug/spotless/pull/1432)) fixes ([#1430](https://github.com/diffplug/spotless/issues/1430))
1616
### Changes
1717
* Bump default `ktlint` version to latest `0.47.1` -> `0.48.0` ([#1432](https://github.com/diffplug/spotless/pull/1432))
18+
* Bump default `ktfmt` version to latest `0.41` -> `0.42` ([#1421](https://github.com/diffplug/spotless/pull/1421))
1819

1920
## [2.31.0] - 2022-11-24
2021
### Added

lib/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ dependencies {
5555

5656
palantirJavaFormatCompileOnly 'com.palantir.javaformat:palantir-java-format:1.1.0' // this version needs to stay compilable against Java 8 for CI Job testNpm
5757

58-
String VER_KTFMT = '0.41'
58+
String VER_KTFMT = '0.42'
5959
ktfmtCompileOnly "com.facebook:ktfmt:$VER_KTFMT"
6060
String VER_KTLINT_GOOGLE_JAVA_FORMAT = '1.7' // for JDK 8 compatibility
6161
ktfmtCompileOnly("com.google.googlejavaformat:google-java-format") {

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 DiffPlug
2+
* Copyright 2016-2023 DiffPlug
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -39,7 +39,7 @@ public class KtfmtStep {
3939
// prevent direct instantiation
4040
private KtfmtStep() {}
4141

42-
private static final String DEFAULT_VERSION = "0.41";
42+
private static final String DEFAULT_VERSION = "0.42";
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

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
88
* Support `ktlint` 0.48+ ([#1432](https://github.com/diffplug/spotless/pull/1432)) fixes ([#1430](https://github.com/diffplug/spotless/issues/1430))
99
### Changes
1010
* Bump default `ktlint` version to latest `0.47.1` -> `0.48.0` ([#1432](https://github.com/diffplug/spotless/pull/1432))
11+
* Bump default `ktfmt` version to latest `0.41` -> `0.42` ([#1421](https://github.com/diffplug/spotless/pull/1421))
1112

1213
## [6.12.0] - 2022-11-24
1314
### Added

plugin-maven/CHANGES.md

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1010
* Support `ktlint` 0.48+ ([#1432](https://github.com/diffplug/spotless/pull/1432)) fixes ([#1430](https://github.com/diffplug/spotless/issues/1430))
1111
### Changes
1212
* Bump default `ktlint` version to latest `0.47.1` -> `0.48.0` ([#1432](https://github.com/diffplug/spotless/pull/1432))
13+
* Bump default `ktfmt` version to latest `0.41` -> `0.42` ([#1421](https://github.com/diffplug/spotless/pull/1421))
1314

1415
## [2.28.0] - 2022-11-24
1516
### Added

0 commit comments

Comments
 (0)