open /*test*/ module com.github.sormuras.bach {
  exports com.github.sormuras.bach;
  exports com.github.sormuras.bach.module;
  exports com.github.sormuras.bach.tool;

  requires transitive java.net.http;
  requires jdk.compiler;
  requires jdk.jartool;
  requires jdk.javadoc;
  requires jdk.jdeps;
  requires jdk.jlink;
  requires org.junit.jupiter;
  requires test.base;

  uses java.util.spi.ToolProvider;
}

open /*test*/ module com.github.sormuras.bach {
  exports com.github.sormuras.bach;
  exports com.github.sormuras.bach.module;
  exports com.github.sormuras.bach.tool;

  requires transitive java.net.http;
  requires jdk.compiler;
  requires jdk.jartool;
  requires jdk.javadoc;
  requires jdk.jdeps;
  requires jdk.jlink;
  requires org.junit.jupiter;
  requires test.base;

  uses com.github.sormuras.bach.ProjectBuilder;
  uses java.util.spi.ToolProvider;
}

Update module descriptor for in-module testing