Gradle插件和Gradle对应表

Gradle插件build.gradle文件的buildscript Gradlegradle/wrapper/gradle-wrapper.properties文件 AndroidStudio版本
classpath 'com.android.tools.build:gradle:2.1.2'
 distributionUrl=https\://services.gradle.org/distributions/gradle-2.10-all.zip  
classpath 'com.android.tools.build:gradle:2.2.2'
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip  

 

classpath 'com.android.tools.build:gradle:2.3.3'
 或  classpath 'com.android.tools.build:gradle:2.3.2'
 或  classpath 'com.android.tools.build:gradle:2.3.1'
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip  
classpath 'com.android.tools.build:gradle:3.0.1'
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
 
classpath 'com.android.tools.build:gradle:3.2.0' distributionUrl=https\://services.gradle.org/distributions/gradle-4.6-all.zip 3.2.0
     
     
     

 

 






转载于:https://www.cnblogs.com/YangBinChina/p/11150487.html

你可能感兴趣的:(Gradle插件和Gradle对应表)