Browse Source

gradle版本降级到3.3

main 2.0.2
jiangdongguo 7 years ago
parent
commit
e07b26472a
  1. 5
      build.gradle
  2. 3
      gradle/wrapper/gradle-wrapper.properties

5
build.gradle

@ -1,18 +1,17 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
// gradle插件版本
classpath 'com.android.tools.build:gradle:2.3.3'
}
}
allprojects {
repositories {
maven { url 'http://raw.github.com/saki4510t/libcommon/master/repository/' }
google()
jcenter()
}
}

3
gradle/wrapper/gradle-wrapper.properties

@ -1,6 +1,7 @@
#Mon Dec 28 10:00:20 PST 2015
#Tue Feb 27 08:59:08 CST 2018
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
#gradle版本
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

Loading…
Cancel
Save