Skip to content

Commit 496208d

Browse files
authored
Merge pull request #304 from mkurz/google-java-format_1.36.1
google-java-format 1.36.1
2 parents 1d451a5 + 204f978 commit 496208d

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.36.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.1) 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)
@@ -125,7 +125,7 @@ Set any of them to `false` to pass the corresponding `--skip-...` flag to `googl
125125

126126
- `11` -> `google-java-format 1.24.0`
127127
- `17` -> `google-java-format 1.28.0`
128-
- `21` -> `google-java-format 1.36.0` (default)
128+
- `21` -> `google-java-format 1.36.1` (default)
129129

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

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

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

0 commit comments

Comments
 (0)