Affects Version/s: 1.2
Fix Version/s: 1.5-rc-1
If a dependency resolution trigger another dependency resolution, the org.gradle.initialization.DependencyResolutionLogger class throw an IllegalStateException.
This happen for instance with the following script
Mainly the directories of a flatDir repository are resolved as dependencies.
Running gradle foo throws an IllegalStateException
If the fragments configuration is resolved "a-priori", it works correctly. For instance by adding to the script: