Open avirtual opened 6 years ago
I have the same issue. The code looks like this:
tasks.create(name: "minify$extension$index", type: MinifyJsTask) {
source = srcFile
dest = targetFile
}.execute()
and I get:
Could not get unknown property 'closure' for task ':idp.frontend:minifyjs0' of type com.eriwen.gradle.js.tasks.MinifyJsTask
Similar work works with no issue for MinifyCssTask
.
When I downgraded to 1.12.0 it works.
I have the same isssue, somebody have find how to fix it ?
I'm in a world of pain, trying to get some js files to get minified.
If i used GZipTask, it works, on MinifyJsTask it complains about closure. Caused by: groovy.lang.MissingPropertyException: Could not get unknown property 'closure' for task ':appframework:minJs' of type
com.eriwen.gradle.js.tasks.MinifyJsTask.
I would appreciate any suggestions.