Skip to content

Commit 8cf2738

Browse files
authored
chore(deps): update dependency com.coveo:fmt-maven-plugin to v2.12 (googleapis#773)
[![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://github.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://github.com/google/google-java-format/releases/v1.12.0) [Compare Source](https://github.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 ([https://github.com/google/google-java-format/pull/653](https://github.com/google/google-java-format/pull/653)) - Fix indentation of case statements on JDK 17 ([https://github.com/google/google-java-format/pull/654](https://github.com/google/google-java-format/pull/654)) **Full Changelog**: google/google-java-format@v1.11.0...v1.12.0 ### [`v1.11.0`](https://github.com/google/google-java-format/releases/v1.11.0) [Compare Source](https://github.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://github.com/google/google-java-format/issues/588)) - Fix handling of annotations in compact record constructors ([#&#8203;574](https://github.com/google/google-java-format/issues/574)) - Fix a crash in `instanceof` pattern handling ([#&#8203;594](https://github.com/google/google-java-format/issues/594)) - Wrap multiple values in switch expression case ([#&#8203;540](https://github.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://github.com/google/google-java-format/issues/603)) ### [`v1.10.0`](https://github.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).
1 parent ad54320 commit 8cf2738

File tree

2 files changed

+2
-18
lines changed

2 files changed

+2
-18
lines changed

bom/pom.xml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,18 +100,10 @@
100100
<plugin>
101101
<groupId>com.coveo</groupId>
102102
<artifactId>fmt-maven-plugin</artifactId>
103-
<version>2.9</version>
103+
<version>2.12</version>
104104
<configuration>
105-
<style>google</style>
106105
<verbose>true</verbose>
107106
</configuration>
108-
<dependencies>
109-
<dependency>
110-
<groupId>com.google.googlejavaformat</groupId>
111-
<artifactId>google-java-format</artifactId>
112-
<version>1.7</version>
113-
</dependency>
114-
</dependencies>
115107
</plugin>
116108
</plugins>
117109
</build>

pom.xml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -207,18 +207,10 @@
207207
<plugin>
208208
<groupId>com.coveo</groupId>
209209
<artifactId>fmt-maven-plugin</artifactId>
210-
<version>2.9</version>
210+
<version>2.12</version>
211211
<configuration>
212-
<style>google</style>
213212
<verbose>true</verbose>
214213
</configuration>
215-
<dependencies>
216-
<dependency>
217-
<groupId>com.google.googlejavaformat</groupId>
218-
<artifactId>google-java-format</artifactId>
219-
<version>1.7</version>
220-
</dependency>
221-
</dependencies>
222214
</plugin>
223215
<plugin>
224216
<groupId>org.codehaus.mojo</groupId>

0 commit comments

Comments
 (0)