api / org.gradle.api.file / FileCopyDetails / getRelativePath

getRelativePath

abstract fun getRelativePath(): RelativePath

Overrides FileTreeElement.getRelativePath

Returns the path of this file, relative to the root of the copy destination.

Return
The path, relative to the root of the copy destination. Never returns null.