Skip to content

Commit

Permalink
Add JResolve demo
Browse files Browse the repository at this point in the history
  • Loading branch information
sormuras committed May 23, 2024
1 parent 185cf27 commit 12f0c83
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .bach/src/run.bach/run/JResolveDemo.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package run;

import run.bach.*;

public class JResolveDemo {
public static void main(String... args) {
var runner = new ToolSpace(ToolSpace.Flag.SILENT);
var jresolve = Tool.of("https://github.com/bowbahdoe/jresolve-cli/releases/download/v2024.05.10/jresolve.jar#SIZE=754432");
var run =
runner.run(
jresolve,
"pkg:maven/org.junit.jupiter/junit-jupiter-engine@5.10.2",
"pkg:maven/org.junit.platform/junit-platform-console@1.10.2");
System.out.println(run.out());
}
}

0 comments on commit 12f0c83

Please sign in to comment.