Skip to content

Commit

Permalink
chore(deps): update dependency com.coveo:fmt-maven-plugin to v2.12 (#773
Browse files Browse the repository at this point in the history
)

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.googlejavaformat:google-java-format](https://togithub.com/google/google-java-format) | `1.7` -> `1.12.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.googlejavaformat:google-java-format/1.12.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.googlejavaformat:google-java-format/1.12.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.googlejavaformat:google-java-format/1.12.0/compatibility-slim/1.7)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.googlejavaformat:google-java-format/1.12.0/confidence-slim/1.7)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>google/google-java-format</summary>

### [`v1.12.0`](https://togithub.com/google/google-java-format/releases/v1.12.0)

[Compare Source](https://togithub.com/google/google-java-format/compare/v1.11.0...v1.12.0)

##### What's Changed

-   Format type annotation as part of the type, not part of the modifiers list ([google/google-java-format#653)
-   Fix indentation of case statements on JDK 17 ([google/google-java-format#654)

**Full Changelog**: google/google-java-format@v1.11.0...v1.12.0

### [`v1.11.0`](https://togithub.com/google/google-java-format/releases/v1.11.0)

[Compare Source](https://togithub.com/google/google-java-format/compare/v1.10.0...v1.11.0)

`google-java-format` now has improved support for running on JDK 17 early access builds.

Changes:

-   Handle `final` variables in `instanceof` patterns ([#&#8203;588](https://togithub.com/google/google-java-format/issues/588))
-   Fix handling of annotations in compact record constructors ([#&#8203;574](https://togithub.com/google/google-java-format/issues/574))
-   Fix a crash in `instanceof` pattern handling ([#&#8203;594](https://togithub.com/google/google-java-format/issues/594))
-   Wrap multiple values in switch expression case ([#&#8203;540](https://togithub.com/google/google-java-format/issues/540))
-   Fix formatting of module trees after [JDK-8255464](https://bugs.openjdk.java.net/browse/JDK-8255464)
-   Support `sealed` classes ([#&#8203;603](https://togithub.com/google/google-java-format/issues/603))

### [`v1.10.0`](https://togithub.com/google/google-java-format/releases/v1.10.0)

`google-java-format` now supports running on JDK 16. The following flags are required when running on JDK 16, due to [JEP 396: Strongly Encapsulate JDK Internals by Default](https://openjdk.java.net/jeps/396):

    java \
      --add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \
      --add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
      --add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \
      --add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
      --add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
      -jar google-java-format-1.10.0-all-deps.jar T...

Other changes:

-   Handle extra `;` in import lists (google/google-java-format@b769e81)
-   Add missing space between unary `-` and negative literals (google/google-java-format@6da736d)
-   Fix an off-by-one issue on the reflowing of string literals (google/google-java-format@b9fd8d2)

</details>

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/google-auth-library-java).
  • Loading branch information
renovate-bot committed Nov 17, 2021
1 parent ad54320 commit 8cf2738
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 18 deletions.
10 changes: 1 addition & 9 deletions bom/pom.xml
Expand Up @@ -100,18 +100,10 @@
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.9</version>
<version>2.12</version>
<configuration>
<style>google</style>
<verbose>true</verbose>
</configuration>
<dependencies>
<dependency>
<groupId>com.google.googlejavaformat</groupId>
<artifactId>google-java-format</artifactId>
<version>1.7</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
Expand Down
10 changes: 1 addition & 9 deletions pom.xml
Expand Up @@ -207,18 +207,10 @@
<plugin>
<groupId>com.coveo</groupId>
<artifactId>fmt-maven-plugin</artifactId>
<version>2.9</version>
<version>2.12</version>
<configuration>
<style>google</style>
<verbose>true</verbose>
</configuration>
<dependencies>
<dependency>
<groupId>com.google.googlejavaformat</groupId>
<artifactId>google-java-format</artifactId>
<version>1.7</version>
</dependency>
</dependencies>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
Expand Down

0 comments on commit 8cf2738

Please sign in to comment.