gradle-js-plugin
gradle-js-plugin copied to clipboard
JSHint properties source dest collision
Gradle 2.1 'com.eriwen:gradle-js-plugin:1.12.1'
As Peter Niederwieser pointed " the jshint extension doesn't have a source or reporter property. Probably it's a name collision between the jshint extension and the jshint task, and you'll have to use tasks.jshint { ... }."
Solution: tasks.jshint.source = appJsFiles tasks.jshint.dest = file ("${buildDir}/jshint.out") tasks.jshint.outputToStdOut = true tasks.jshint.reporter = 'checkstyle'
OPTIONS jshint.options = [ <-------------------- how do I specify the jshintrc file as Gulp, Grunt , etc ]