Failed to determine task dependencies: xxx: check '
I have a project using Gradle 1.12, it plays well with gradle assemble
, but throws gradle build
an exception when executed :
* What went wrong:
Could not determine the dependencies of task ':JavaUtil:check'.
> groovy.lang.MissingMethodException: No signature of method: org.gradle.api.internal.file.DefaultSourceDirectorySet.getTaskName() is applicable for
rgument types: (java.lang.String, null) values: [findbugs, null]
Possible solutions: getName()
Having dependency settings in Gradle script of parent folder JavaUtil's
like this:
dependencies {
compile (project (':JavaUtil')) {transitive = false}
The same error occurs when I executed gradle build
in the folder JavaUtil
.
Any ideas what's going on here?
+3
source to share
No one has answered this question yet
Check out similar questions: