getFile

private suspend fun getFile(file: File, sourceSetName: SourceSetName): JvmFile?(source)

Retrieves the JVM file corresponding to the given file and source set name.

Return

the JvmFile for the requested file, or null if not found

Parameters

file

the file to get the JVM file for

sourceSetName

the name of the source set to which the file belongs