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?
As a general rule, dependencies are declared in ‘dependencies.gradle’ unless they are very specific to a particular plugin.