Skip to content

Commit

Permalink
Update to use GoogleJavaFormat 1.25.2
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed Dec 13, 2024
1 parent bb33587 commit 49fac20
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bach/src/run.bach/run/Format.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Format {
public static void main(String... args) {
var tool = new GoogleJavaFormat("1.23.0").install();
var tool = new GoogleJavaFormat("1.25.2").install();
if (args.length == 0) {
tool.run(call -> call.add("--replace").addFiles("**.java"));
} else {
Expand Down
2 changes: 1 addition & 1 deletion .bach/src/run.bach/run/demo/GoogleJavaFormat.java
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public record GoogleJavaFormat(String version) implements ToolInstaller {
/**
* @see <a href="https://github.com/google/google-java-format/releases/latest">Latest release</a>
*/
public static final String DEFAULT_VERSION = "1.22.0";
public static final String DEFAULT_VERSION = "1.25.2";

public static void main(String... args) {
var version = System.getProperty("version", DEFAULT_VERSION);
Expand Down

0 comments on commit 49fac20

Please sign in to comment.