-
Notifications
You must be signed in to change notification settings - Fork 113
When JSHint task added there is always an error #100
Comments
Same here. It is not only source, the same is true for other properties, they are not present in JsHintExtension_Decorated. UPDATE: The same happens to me for jsdoc task, other tasks like gzipJs works. |
I am currently seeing this issue as well with Gradle 2.0 and js plugin version 1.12.1 |
I got around this issue by appending jshint {
tasks.jshint.source = javascript.source.dev.js.files
tasks.jshint.dest = file ("${buildDir}/jshint.out")
tasks.jshint.outputToStdOut = true
tasks.jshint.reporter = 'checkstyle'
jshint.options = [expr: "true", unused: "false"]
} |
I am also seeing this. Gradle v1.12 works, but v2.0 doesn't. When I do @gcoonrod's workaround of adding
This seems like a regression of #15 (also see #98), but the workaround mentioned in that ticket doesn't work. Here's the full build.gradle that makes this happen:
|
@paleozogt add mavenCentral to your build.
|
@eriwen Should Maven Central be included in the plugin or should a user be responsible for making that reference? |
@eriwen I take that back. I don't think maven central should be part of the plugin. Carry on! |
Combining all workarounds mention above, jshint finally works.
|
I using Gradle 2.14.1 and the JsHint plugin 1.12.1 and facing this issue :
If I remove the block of javascript.source to set the source then it works fine else it gives error. |
When the following task is added:
I get the following error:
A problem occurred evaluating root project 'primetime_js'.
The text was updated successfully, but these errors were encountered: