What is the difference in declaring a dependency in a top level build.gradle
file vs a module's build.gradle
?
I see many projects that have dependencies declared in both the top level and also within the specific modules.
Which method is seen as optimal?