UseSystemClassLoader directive for running tests?

What is the Gradle equivalent to Maven Surefire’s useSystemClassLoader directive?

There is no equivalent. What problem are you trying to solve?

As it turned out, none.

I have a maven script configuring the surefire plugin with the useSystemClassLoader set to false in order to run my tests. It doesn’t work without it.

I’m in the process of converting my maven build setup to a Gradle one. When I finally had everything compiling and building with Gradle, my tests ran just fine without the property!