In a multi-project build is there a way to test if one project has a dependency on another project? The scenario is that the parent build file sets up general configuration and tasks but some of the behaviour is driven by specific project dependencies which are set in the child build file. I have tried something like
project.configurations.compile.dependencies.contains(project(’:projA’))
but that always returns false.