Gradle Tool Window Dependency Organization is Flat instead of Structured?

Answered

Hi it used to be that dependencies in the Gradle tool window would be organized by module main and test. Also, top-level dependencies would be shown and show nested dependencies for things that are getting pulled in transitively. Now, it seems the default behavior is to just have all of the dependencies in a flat structure and I can't immediately tell what's being pulled in transitively and by what (and how many levels deep the transitivity lies).

Is there a way to return the gradle tool window to the old behavior, I found that much more useful.

This has happened on both of my computers independently, so I feel like it's not possible it's something I accidentally triggered unless it has to do with using a newer gradle version.

I'm using Gradle version 5.2.1 if that matters.

1
1 comment

Ok, I figured it out. In the Gradle Tool Window click settings to go to Gradle Preferences and make sure Create separate module per source set is checked. 

0

Please sign in to leave a comment.