When using some third-party libraries, I add a dependency to my build.gradle module.
compile 'com.android.support:appcompat-v7:24.1.1'
Or I add a plugin
apply plugin: 'com.neenbedankt.android-apt'
In some other cases, the library requires adding a dependency to my application's build.gradle file.
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
What is the difference between these dependencies and plugins?
Why can't they be installed in a single build.gradle file?
All suggestions are welcome, I am having problems finding information about this.
source share