UseSystemClassLoader directive for running tests?


(Jesper Thuun-Petersen) #1

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


(Peter Niederwieser) #2

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


(Jesper Thuun-Petersen) #3

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!