Gradle during building to WAR losts pictures data
I've just migrated my app from Maven to Gradle 2.5 (2.9 too) WAR build tool and noticed that some resources like jpeg, gif, bmp lost their data - my computer is unable to read them or reads them but they're scratched. Do you know if this is connected to Gradle compression system and if yes, how to solve this?
It's rather not connected to Gradle compression but the way gradle copies files to created war. Those files that can't be filtered should be copied separately, or try exclude them using filesMatching('**/*.someFormat')