import com.github.sormuras.bach.Bach;
import com.github.sormuras.bach.external.JUnit;
import com.github.sormuras.bach.external.MultiExternalModuleLocator;
import com.github.sormuras.bach.simple.SimpleSpace;
import java.util.Map;

class build {
  public static void main(String... args) {
    try (var bach = new Bach(args)) {
      var grabber =
          bach.grabber(
              JUnit.version("5.8.1"),
              new MultiExternalModuleLocator(
                  Map.of(
                      "net.jqwik.api",
                      "https://oss.sonatype.org/content/repositories/snapshots/net/jqwik/jqwik-api/1.6.0-SNAPSHOT/jqwik-api-1.6.0-20211028.081012-29.jar",
                      "net.jqwik.engine",
                      "https://oss.sonatype.org/content/repositories/snapshots/net/jqwik/jqwik-engine/1.6.0-SNAPSHOT/jqwik-engine-1.6.0-20211028.081012-27.jar")));

      var test = SimpleSpace.of(bach, "test").withModule("bar").withModule("foo");

      test.grab(
          grabber,
          "org.junit.platform.console",
          "org.junit.platform.jfr",
          "org.junit.jupiter",
          "net.jqwik.engine");

      test.compile();
      test.runAllTests();
    }
  }
}

@@ -79,16 +79,64 @@
 .JUnit;%0A
+import com.github.sormuras.bach.external.Maven;%0A
 import c
@@ -586,100 +586,36 @@
     
-%22https://oss.sonatype.org/content/repositories/snapshots/net/
+Maven.central(%22net.
 jqwik
-/jqwik-api/1.6.0-SNAPSHOT/
+%22, %22
 jqwi
@@ -623,38 +623,19 @@
 -api
--
+%22, %22
 1.6.0
--20211028.081012-29.jar
 %22
+)
 ,%0A  
@@ -700,103 +700,36 @@
     
-%22https://oss.sonatype.org/content/repositories/snapshots/net/jqwik/jqwik-engine/1.6.0-SNAPSHOT/
+Maven.central(%22net.jqwik%22, %22
 jqwi
@@ -740,38 +740,19 @@
 gine
--
+%22, %22
 1.6.0
--20211028.081012-27.jar
 %22
+)
 )));

Upgrade jqwik to `1.6.0`