Skip to content

Instantly share code, notes, and snippets.

@johnscancella
Created November 9, 2016 19:46
Show Gist options
  • Save johnscancella/0518026971f05730d6e1edd32b927e0d to your computer and use it in GitHub Desktop.
Save johnscancella/0518026971f05730d6e1edd32b927e0d to your computer and use it in GitHub Desktop.
check.dependsOn dependencyCheck
[jscancella@johns-air bagit-java (dependencyCheck)]$ gradle check
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':check'.
> Cannot convert org.owasp.dependencycheck.gradle.extension.CheckExtension_Decorated@586b3f34 to a task.
The following types/formats are supported:
- A String or CharSequence task name or path
- A TaskReference instance
- A Task instance
- A Buildable instance
- A TaskDependency instance
- A Closure instance that returns any of the above types
- A Callable instance that returns any of the above types
- An Iterable, Collection, Map or array instance that contains any of the above types
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 0.881 secs
[jscancella@johns-air bagit-java (dependencyCheck)]$ gradle --version
------------------------------------------------------------
Gradle 3.1
------------------------------------------------------------
Build time: 2016-09-19 10:53:53 UTC
Revision: 13f38ba699afd86d7cdc4ed8fd7dd3960c0b1f97
Groovy: 2.4.7
Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015
JVM: 1.8.0_112 (Oracle Corporation 25.112-b16)
OS: Mac OS X 10.12.1 x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment