android studio use gradle to compiler android apk
gradle is a build system
so google write the plugin 'com.android.application'?
if this is ture why should a dependencies {classpath 'com.android.tools.build:gradle:2.1.3'}
and what it use for?
the 2.1.3 seems to mean the version of android studio
what is the different between
the com.android.tools.build:gradle:2.1.3 in
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.3'
}
}
and the com.android.application in
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "24.0.1"
}
dependencies {
}