Hi again Marc,
We would love to include JUnit Platform support in Gradle core.
All of the JVM testing functionality is encapsulated in the
testing-jvm module, so that’s where we should focus our efforts. In particular, working with or refactoring the
Test task may be interesting.
It seems that JUnit Platform only supports Java 8 and higher. We will need to keep in mind that Gradle 3.x still supports Java 7. That’s ok, we fork a new JVM for tests and can enforce Java8+ semantics at runtime. That just means that we cannot introduce compile-time dependencies to Gradle that don’t compile on Java 7.
Typically, we go through a design phase for new features in Gradle Core. I’ve had a look at your plugin, and it doesn’t look like too much code. Still, I think it would be prudent to produce minimal design doc for this in order to ensure our design can scale to future upgrades in Gradle and the JUnit Platform. More on that in a moment.
I am happy to guide you through this process. In my mind, the best way to get started is:
How does that sound? If that’s acceptable, is there anything else I can provide to help with Step 1?