In the build script below, the ZIP includes files with a .css extension, but NOT with a .CSS extension.
It is possible to make this case insensitive? I can add include ‘*.CSS’ to get this to copy as expected, but wanted to know if there was a better solution. Setting caseSensitive=false on the Zip task does not have any affect.
sourceSets {
styleSheet {
resources {
srcDirs = [
src/style
]
include ‘**/*.css’
}
} }
task webFrontEndArtifact(type: Zip) {
into(‘style’) { from sourceSets.styleSheet.resources } }