插件版本和Gradle版本
dependencies {
classpath 'com.android.tools.build:gradle:3.4.0//插件版本
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
gradle版本在文件gradle-wrapper.properties文件中:
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip
对应关系
官方地址:
https://developer.android.google.cn/studio/releases/gradle-plugin#updating-plugin