Dependencies.gradle in Gradle source


(Nikita Salnikov-Tarnovski) #1

In Gradle source some dependencies for plugins are defined in file dependencies.gradle on the top level of the project. But some are defined directly in the gradle script for specific plugin. What is the difference between two? When should I update which?


(Peter Niederwieser) #2

As a general rule, dependencies are declared in ‘dependencies.gradle’ unless they are very specific to a particular plugin.