Can i copy files outside a Gradle project using absolute file system path.
Yes.
How? I use an ANT function but can it be done with the Gradle copy task?
task (deploy) {
doLast {
ant.copy(todir: '/tmp/test) {
fileset(dir: ‘fe/dist’)
}
}
}
Yes, just use absolute paths.