Hi All,
I have a multi-project build and I'm looking to find the version of a
dependency declared in a sibling project.
To access a dependency in the current project I can simply use:
configurations.default.allDependencies
And loop through until I find the one I want.
But to access the list of dependencies in the sibling project I was
trying to use:
project.parent.childProjects.get('my_sibling_project').configurations.de
fault.allDependencies
But this is returning 'null'.
Can anyone tell me why calling 'allDependencies' on the default
configuration for the sibling project is null? My theory is that this
has something to do with how Gradle initialises the build but I just
don't get it.
Thanks,
Donal.