Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed Aug 25, 2024
1 parent 8ede55c commit 8bf5959
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 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.22.0").install();
var tool = new GoogleJavaFormat("1.23.0").install();
if (args.length == 0) {
tool.run(call -> call.add("--replace").addFiles("**.java"));
} else {
Expand Down
5 changes: 2 additions & 3 deletions .bach/src/run.bach/run/Project.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package run;

import java.util.Optional;

import run.bach.ModuleLocator;
import run.bach.ToolCall;
import run.bach.ToolRunner;
Expand Down Expand Up @@ -36,8 +35,8 @@ static Project ofCurrentWorkingDirectory() {
var libraries =
ModuleLocator.compose(
JUnit.modules(),
ModuleLocator.of("org.junitpioneer","pkg:maven/org.junit-pioneer/junit-pioneer@2.2.0")
);
ModuleLocator.of(
"org.junitpioneer", "pkg:maven/org.junit-pioneer/junit-pioneer@2.2.0"));
var structure = new Structure(basics, new Spaces(main, test), libraries);
var runner = ToolRunner.ofSystem();
return new Project(verbose, new Workflow(folders, structure, runner));
Expand Down
2 changes: 1 addition & 1 deletion .bach/src/run.bach/run/bach

0 comments on commit 8bf5959

Please sign in to comment.