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?

Answers


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')


Need Your Help

How to decode data from base64 with utf-8 charset encoding in php

php xml base64

I have an xml file with dynamic contents like this.

How Node Js perform real time checking on database?

mysql node.js redis

In node.js how they perform database check for real time notificaion?