Skip to content

Commit

Permalink
Bump palantir-java-format for Java 21
Browse files Browse the repository at this point in the history
Co-authored-by: Goooler <wangzongler@gmail.com>
  • Loading branch information
slachiewicz and Goooler committed Dec 1, 2023
1 parent 5ecf292 commit b1a9f15
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ This document is intended for Spotless developers.
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).

## [Unreleased]
### Changes
* Bump palantir-java-format for Java 21 ([#1822](https://github.com/diffplug/spotless/pull/1822))

## [2.43.0] - 2023-11-27
### Added
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ private PalantirJavaFormatStep() {}
private static final String DEFAULT_STYLE = "PALANTIR";
private static final String NAME = "palantir-java-format";
private static final String MAVEN_COORDINATE = "com.palantir.javaformat:palantir-java-format:";
private static final Jvm.Support<String> JVM_SUPPORT = Jvm.<String> support(NAME).add(8, "1.1.0").add(11, "2.28.0");
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");

/** Creates a step which formats everything - code, import order, and unused imports. */
public static FormatterStep create(Provisioner provisioner) {
Expand Down
5 changes: 5 additions & 0 deletions plugin-gradle/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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


## [Unreleased]
### Changes
* Bump palantir-java-format for Java 21 ([#1822](https://github.com/diffplug/spotless/pull/1822))

## [Unreleased]
### Fixed
* Fix a stuck mavencentral sync from `6.23.1`.
Expand Down
2 changes: 2 additions & 0 deletions plugin-maven/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (starting after version `1.27.0`).

## [Unreleased]
### Changes
* Bump palantir-java-format for Java 21 ([#1822](https://github.com/diffplug/spotless/pull/1822))

## [2.41.0] - 2023-11-27
### Added
Expand Down

0 comments on commit b1a9f15

Please sign in to comment.