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
java gradle


source to share


No one has answered this question yet

Check out similar questions:

2240
How to create an executable JAR with dependencies using Maven?
2171
How to determine if an array contains a specific value in Java?
1367
Fastest way to determine if an integer square root is an integer
947
Android Studio: add jar as library?
425
How do I force gradle to re-download dependencies?
75
Android Studio build failed with "Task" not found in the root project "My Project".
7
gradle "build" task confusion
1
Gradle 1.12 - Why Tasks Don't Run
0
JaCoCo Test Coverage Failed to determine task dependencies: createDebugAndroidTestCoverageReport '
0
Jenkins cannot build apk "Could not determine task dependencies": app: compileReleaseJavaWithJavac '. "



All Articles
Loading...
X
Show
Funny
Dev
Pics