Gradlew build failed,only for grunt_default ,I have mentioned about description below

I am trying to do gradlew build in my local machine:

I am getting an error message: Running “sprite:all” (sprite) task Fatal error: Unsupported file type: .jpg :build FAILED

FAILURE: Build failed with an exception.

Where: Build file ‘D:\DL\build.gradle’ line: 52

What went wrong: Execution failed for task ‘:grunt_default’.

Process ‘command ‘cmd’’ finished with non-zero exit value 1

Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output


Total time: 21.972 secs

using code in Gruntfile.js:


all: {

src: baseDir + ‘web/sass/sprites/*’,

destImg: baseDir + ‘web/webroot/_ui/desktop/theme/images/sprites.png’,

destCSS: baseDir + ‘web/sass/sprites.scss’,

‘cssVarMap’: function (sprite) { = ‘sprite-’ +;


‘padding’: 2,

‘algorithm’: ‘alt-diagonal’,

‘imgPath’: ‘…/images/sprites.png’,


}, Tried to setup imagemagick still it wasn’t working

Hey without more details about your build.gradle file (used plugins / declared tasks / customizations) and the stacktrace (running gradle with --stacktrace) it is not possible to say what happens here.

cheers, René