I recently read an article about Javascript, where Build Tools like Grunt and Ender were mentioned. It was briefly stated, that such tools are capable of generating sprite images from individually provided files and that these build tools can be integrated into the build process.
Unfortunately my google searches didn't unveil more information on this. Does anybody here have experience on this topic and integration into gradle? Some web resources for further reading are highly welcome!
Many thanks in advance! Sascha.
A few online tools that will generate the sprites along with the CSS code.
@Windwalker you might be interested in using the SmartSprites Maven Repositry in your gradle. It takes individual images and creates a sprite image using that along with the required CSS.
The details for the repository can be found at: http://mvnrepository.com/artifact/com.carrotsearch/smartsprites/0.2.8
To install it into your project simply put the following line in your gradle commands :
The full details about the
As the website of Smart Sprite [ http://csssprites.org/ ] says:
I hope this solves your situation.