diff --git a/.bach/src/run.bach/run/Versions.java b/.bach/src/run.bach/run/Versions.java index f64a85ad6..83446c30c 100644 --- a/.bach/src/run.bach/run/Versions.java +++ b/.bach/src/run.bach/run/Versions.java @@ -11,14 +11,12 @@ public static void main(String... args) { Tool.of("java").run("--version"); // 1-shot, tool installer - Tool.of(new Ant()).run("-version"); - Tool.of(new GoogleJavaFormat()).run("--version"); - Tool.of(new Maven()).run("--version"); Tool.of("https://github.com/rife2/bld/releases/download/1.9.0/bld-1.9.0.jar").run("version"); + Tool.of(new Ant(), ToolInstaller.Mode.INSTALL_IMMEDIATE).run("-version"); // multi-shot, tool finder var finder = - ToolFinder.ofInstaller() + ToolFinder.ofInstaller(ToolInstaller.Mode.INSTALL_IMMEDIATE) .with(new Ant()) .withJavaApplication( "rife2/bld@1.9.0", @@ -26,8 +24,8 @@ public static void main(String... args) { .withJavaApplication( "org.junit.platform/junit@1.10.2", "https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-console-standalone/1.10.2/junit-platform-console-standalone-1.10.2.jar") - .with("run/google-java-format@1.22", new GoogleJavaFormat("1.22.0")) - .with("run/google-java-format@1.19", new GoogleJavaFormat("1.19.2")) + .with("run.bach/google-java-format@1.22", new GoogleJavaFormat("1.22.0")) + .with("run.bach/google-java-format@1.19", new GoogleJavaFormat("1.19.2")) .with(new Maven()); var runner = ToolRunner.of(finder); diff --git a/.bach/src/run.bach/run/bach b/.bach/src/run.bach/run/bach index 54d18917e..280b69727 160000 --- a/.bach/src/run.bach/run/bach +++ b/.bach/src/run.bach/run/bach @@ -1 +1 @@ -Subproject commit 54d18917ef690ae9d438151f9e39f8cacc7a8643 +Subproject commit 280b6972742dcb6850342b3236ec3c648b9ac769