resolvePath

fun resolvePath(path: String, workingDirectory: File?): File

Resolves a File located in path, either relative or absolute. If the path is relative, the location is determined from the workingDirectory.

Return

a File instance of the file

Parameters

path

path of the file, either relative or absolute

workingDirectory

directory from which the file is resolved, in case the path is relative