Skip to content

Commit

Permalink
Update various versions
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed Aug 25, 2024
1 parent 408df6e commit 8ede55c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
7 changes: 3 additions & 4 deletions .bach/src/run.bach/run/demo/JResolve.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
/**
* JResolve - a command line tool for resolving dependencies on the JVM.
*
* @see <a href="https://github.com/bowbahdoe/jresolve-cli/releases/tag/v2024.05.10">Release
* Notes</a>
* @see <a href="https://github.com/bowbahdoe/jresolve-cli/releases/>Releases of JResolve</a>
*/
public interface JResolve {
String ID = "bowbahdoe/jresolve@2024.05.10";
String ID = "bowbahdoe/jresolve@2024.08.23";
String URI =
"https://github.com/bowbahdoe/jresolve-cli/releases/download/v2024.05.10/jresolve.jar#SIZE=754432";
"https://github.com/bowbahdoe/jresolve-cli/releases/download/v2024.08.23/jresolve.jar#SIZE=758648";
}
14 changes: 7 additions & 7 deletions .bach/src/run.bach/run/demo/ToolVersionsDemo.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static void main(String... args) {
Tool.of("java").run("--version");

// 1-shot, tool installer
Tool.of("https://github.com/rife2/bld/releases/download/1.9.1/bld-1.9.1.jar").run("version");
Tool.of("https://github.com/rife2/bld/releases/download/2.0.1/bld-2.0.1.jar").run("version");
Tool.of(new Ant(), ToolInstaller.Mode.INSTALL_IMMEDIATE).run("-version");

// multi-shot, tool finder
Expand All @@ -21,14 +21,14 @@ public static void main(String... args) {
.with(new Ant())
.withJavaApplication(JResolve.ID, JResolve.URI)
.withJavaApplication(
"rife2/bld@1.9.1",
"https://github.com/rife2/bld/releases/download/1.9.1/bld-1.9.1.jar")
"rife2/bld@2.0.1",
"https://github.com/rife2/bld/releases/download/2.0.1/bld-2.0.1.jar")
.withJavaApplication(
"org.junit.platform/junit@1.11.0-M2",
"https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-console-standalone/1.11.0-M2/junit-platform-console-standalone-1.11.0-M2.jar")
.with("run.bach/google-java-format@1.22", new GoogleJavaFormat("1.22.0"))
"org.junit.platform/junit@1.11.0",
"https://repo.maven.apache.org/maven2/org/junit/platform/junit-platform-console-standalone/1.11.0/junit-platform-console-standalone-1.11.0.jar")
.with("run.bach/google-java-format@1.23", new GoogleJavaFormat("1.23.0"))
.with("run.bach/google-java-format@1.19", new GoogleJavaFormat("1.19.2"))
.with(new Maven());
.with(new Maven("3.9.9"));

var runner = ToolRunner.of(finder);
runner.run("ant", "-version");
Expand Down

0 comments on commit 8ede55c

Please sign in to comment.