Copy tasks I create are unable to copy files that look like ._filename


(Rob Spieldenner) #1

My project directory.

projectroot

|_ mydir

| |_ afile

| |_ .dotfile

| |_ _underscorefile

| _ ._dotunderscorefile

_ build.gradle

contents of build.gradle

task myCopy(type: Copy) {

from ‘mydir’

into ‘build/copyexample’

}

This will happily pickup every file under mydir except ._dotunderscorefile. I’ve tried various includes that reference it directly and it still won’t copy over. I’ve tried with gradle 1.9, 1.10, and 1.11