Open Bartheleway opened 10 years ago
I can also reproduce this bug using the following build file. (The source file is an empty file).
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.eriwen:gradle-js-plugin:1.12.+'
}
}
configurations {
rhino
}
dependencies {
rhino 'org.mozilla:rhino:1.7R3'
}
// Invoke the plugin
apply plugin: 'js'
jshint {
tasks.jshint.source = "javascript.js"
}
I am seeing this also. I think #15 has regressed.
A work around is to include mavenCentral
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.eriwen:gradle-js-plugin:1.12.1"
}
}
repositories {
mavenCentral()
}
apply plugin: "com.eriwen.gradle.js"
Thanks, @Scuilion. That helped me with this on Gradle 2.3.
Hi, I'm facing a problem with the jshint task.
I get the following error:
I already did some research and found the issue https://github.com/eriwen/gradle-js-plugin/issues/16 but the strange thing is that I'm not offline ...