I am logging in Copy task like:
[...]
from ("some/source/") {
include "*.*"
into "some/destination"
eachFile { file ->
logger.info("Copied ${file.sourcePath} -> ${file.path}" )
}
}
file.sourcePath
will just give me the files name. How can I get the absolute path? I am not getting warm with Gradle documentation yet.