Revert "Gradle no longer keeps resolved dependency graph in memory (new model). Instead, we provide a hook so that users can get notified with the resolution result, when the configuration is resolved."

We want to solve this problem slightly differently.

This reverts commit 2e3befb22f4506653d44d00637a2df0892348fb9.