File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 2
2
buildscript {
3
3
repositories {
4
4
jcenter()
5
+ google()
5
6
}
6
7
dependencies {
7
- classpath ' com.android.tools.build:gradle:2.3.2 '
8
+ classpath ' com.android.tools.build:gradle:3.0.1 '
8
9
9
10
// NOTE: Do not place your application dependencies here; they belong
10
11
// in the individual module build.gradle files
@@ -40,3 +41,12 @@ android {
40
41
versionName " 1.0"
41
42
}
42
43
}
44
+
45
+ dependencies {
46
+ def supportVer = " 27.0.1"
47
+ if (project. hasProperty(" supportVersion" )) {
48
+ supportVer = supportVersion
49
+ }
50
+ compileOnly " com.android.support:support-v4:$supportVer "
51
+ compileOnly " com.android.support:appcompat-v7:$supportVer "
52
+ }
Original file line number Diff line number Diff line change @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
zipStorePath =wrapper/dists
6
- distributionUrl =https\://services.gradle.org/distributions/gradle-4.0 -bin.zip
6
+ distributionUrl =https\://services.gradle.org/distributions/gradle-4.1 -bin.zip
You can’t perform that action at this time.
0 commit comments