setExecutionSourceFrom

abstract fun setExecutionSourceFrom(classpath: FileCollection, testClassesDirs: FileCollection)

Configures values for the JvmClasspathTestRunSource.

Calling this method overwrites any already configured values in the JvmClasspathTestRunSource.

Parameters

classpath

Tests classpath

testClassesDirs

Only the classes from this FileCollection are treated as tests.