Skip to content

Commit 207fe52

Browse files
committed
Upgrade google-java-format runtime to 1.36.0
1 parent c976411 commit 207fe52

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ SBT_JAVAFMT_JAVA_HOME=/path/to/jdk-17 sbt javafmt
8686
> [!NOTE]
8787
> Many projects use Java 17 as their baseline today. If that is true for your build, `ThisBuild / javafmtFormatterCompatibleJavaVersion := 17` is often the simplest setup.
8888
>
89-
> The main Java language support changes in `google-java-format` [after `v1.28.0`](https://github.com/google/google-java-format/compare/v1.28.0...v1.35.0) are:
89+
> The main Java language support changes in `google-java-format` [after `v1.28.0`](https://github.com/google/google-java-format/compare/v1.28.0...v1.36.0) are:
9090
>
9191
> - [Initial support for import module in google-java-format](https://github.com/google/google-java-format/commit/6afe380707ec16884ec2761763ccec998de403d1)
9292
> - [Support Instance Main Methods in google-java-format](https://github.com/google/google-java-format/commit/737b0032b3a18eb6e458271ea440098c166f6c2d)
@@ -124,7 +124,7 @@ Set any of them to `false` to pass the corresponding `--skip-...` flag to `googl
124124

125125
- `11` -> `google-java-format 1.24.0`
126126
- `17` -> `google-java-format 1.28.0`
127-
- `21` -> `google-java-format 1.35.0` (default)
127+
- `21` -> `google-java-format 1.36.0` (default)
128128

129129
If the selected formatter runtime is newer than the Java used to launch the formatter JVM, either:
130130

plugin/src/main/scala/com/github/sbt/JavaFormatterPlugin.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ object JavaFormatterPlugin extends AutoPlugin {
283283
compatibleJavaVersion match {
284284
case 11 => "1.24.0"
285285
case 17 => "1.28.0"
286-
case 21 => "1.35.0"
286+
case 21 => "1.36.0"
287287
case other =>
288288
throw new MessageOnlyException(
289289
s"Unsupported javafmtFormatterCompatibleJavaVersion: $other. Expected one of: 11, 17, 21.")

0 commit comments

Comments
 (0)