My build can consume dependencies from a couple of different repositories, for various reasons (that are not really relevant here) it defers the addition of those repositories until a ‘gradle.taskGraph.whenReady’ block. This works fine except for when attempting to use the new gradle support in Intellij 12.1, it results in modules that have a long list of “unresolved dependencies” in the intellij module dependencies screen.
I can see that the tooling api appears to use the same underlying resolution mechanism as the idea plugin which makes me think that it is evaluating the projects but not creating a task graph and hence my repositories are not added hence they can’t be resolved.
Is this correct? Is there a way to tell the project is being evaluated to supply the tooling api rather for running a build?