Skip to content

Commit b1a9f15

Browse files
slachiewiczGoooler
andcommitted
Bump palantir-java-format for Java 21
Co-authored-by: Goooler <[email protected]>
1 parent 5ecf292 commit b1a9f15

File tree

4 files changed

+10
-1
lines changed

4 files changed

+10
-1
lines changed

CHANGES.md

+2
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 palantir-java-format for Java 21 ([#1822](https://github.com/diffplug/spotless/pull/1822))
1315

1416
## [2.43.0] - 2023-11-27
1517
### Added

lib/src/main/java/com/diffplug/spotless/java/PalantirJavaFormatStep.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ private PalantirJavaFormatStep() {}
3030
private static final String DEFAULT_STYLE = "PALANTIR";
3131
private static final String NAME = "palantir-java-format";
3232
private static final String MAVEN_COORDINATE = "com.palantir.javaformat:palantir-java-format:";
33-
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(8, "1.1.0").add(11, "2.28.0");
33+
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(8, "1.1.0").add(11, "2.28.0").add(21, "2.38.0");
3434

3535
/** Creates a step which formats everything - code, import order, and unused imports. */
3636
public static FormatterStep create(Provisioner provisioner) {

plugin-gradle/CHANGES.md

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `3.27.0`).
44

5+
6+
## [Unreleased]
7+
### Changes
8+
* Bump palantir-java-format for Java 21 ([#1822](https://github.com/diffplug/spotless/pull/1822))
9+
510
## [Unreleased]
611
### Fixed
712
* Fix a stuck mavencentral sync from `6.23.1`.

plugin-maven/CHANGES.md

+2
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 palantir-java-format for Java 21 ([#1822](https://github.com/diffplug/spotless/pull/1822))
68

79
## [2.41.0] - 2023-11-27
810
### Added

0 commit comments

Comments
 (0)