i using gradle spring mvc project. have lots of javascript , css files. using grunt know how uglify , minify them gradle find minify , gzip.
"com.eriwen.gradle.js". gzipjs { source = minifyjs dest = file("${builddir}/all-min.js") } minifyjs { source = combinejs dest = file("${builddir}/all-min.js") sourcemap = file("${builddir}/all.sourcemap.json") closure { warninglevel = 'quiet' } }
only 2 see making files smaller. or there other way of producing same effects uglify does.
Comments
Post a Comment