Gradle - Issue with aggregate goal when run from sub-module

24 views
Skip to first unread message

Piyush Mittal

unread,
Jul 28, 2017, 3:31:22 AM7/28/17
to Dependency Check
When ODC was ran with aggregate goal from sub-module in a multi-module gradle project, then it fails with following error:

Execution failed for task ':testGradleSubmodule:dependencyCheckAggregate'.
> Cannot invoke method forEach() on null object


However,  ./gradlew dependencyCheckAnalyze --info works fine. From error it seems that plugin failed because there is no further level 2 sub-modules.


Reply all
Reply to author
Forward
0 new messages