package project;

import com.github.sormuras.bach.project.Project;

public class Configurator implements Project.Configurator {
  @Override
  public Project apply(Project project) {
    return project.withVersion("17-M5");
  }
}

@@ -11,16 +11,54 @@
 oject;%0A%0A
+import com.github.sormuras.bach.Main;%0A
 import c
@@ -98,16 +98,16 @@
 roject;%0A
-
 %0Apublic 
@@ -235,28 +235,168 @@
 ject
-.withVersion(%2217-M5%22
+%0A        .withTargetsJava(17)%0A        .withTargetsJava(project.spaces().test(), Runtime.version().feature())%0A        .withLauncher(Main.class.getCanonicalName()
 );%0A 

Update project configurator