Closed snoopcheri closed 1 year ago
This PR uses the new copyWithTestFramework method when creating a new JvmTestExecutionSpec in the test retry executer.
copyWithTestFramework
JvmTestExecutionSpec
This ensures that we do not have to adapt again, if the execution spec gets changed again in the future.
The constructor for older Gradle versions is called via reflection. Therefore, constructors for older test-retry versions can be removed from the Gradle 8 code base.
This PR uses the new
copyWithTestFramework
method when creating a newJvmTestExecutionSpec
in the test retry executer.This ensures that we do not have to adapt again, if the execution spec gets changed again in the future.
The constructor for older Gradle versions is called via reflection. Therefore, constructors for older test-retry versions can be removed from the Gradle 8 code base.