Skip to content

Commit f97952d

Browse files
author
plamen5kov
committed
updated gradle tools
1 parent f04670f commit f97952d

2 files changed

Lines changed: 10 additions & 26 deletions

File tree

src/build.gradle

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ buildscript {
2727
}
2828

2929
dependencies {
30-
classpath 'com.android.tools.build:gradle:1.3.0'
30+
classpath 'com.android.tools.build:gradle:1.5.0'
3131
}
3232
}
3333

@@ -37,36 +37,28 @@ def compiteCompileSdkVersion () {
3737
if(project.hasProperty("compileSdk")) {
3838
return compileSdk
3939
}
40-
else {
41-
return 22
42-
}
40+
return 22
4341
}
4442

4543
def computeBuildToolsVersion() {
4644
if(project.hasProperty("buildToolsVersion")) {
4745
return buildToolsVersion
4846
}
49-
else {
50-
return "22.0.1"
51-
}
47+
return "22.0.1"
5248
}
5349

5450
def computeMinSdkVersion() {
5551
if(project.hasProperty("minSdk")) {
5652
return targetSdk
5753
}
58-
else {
59-
return 19
60-
}
54+
return 19
6155
}
6256

6357
def computeTargetSdkVersion() {
6458
if(project.hasProperty("targetSdk")) {
6559
return targetSdk
6660
}
67-
else {
68-
return 22
69-
}
61+
return 22
7062
}
7163

7264
def computeSupportVersion() {

test-app/build.gradle

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ buildscript {
2121
}
2222

2323
dependencies {
24-
classpath 'com.android.tools.build:gradle:1.3.0'
24+
classpath 'com.android.tools.build:gradle:1.5.0'
2525
}
2626
}
2727

@@ -32,36 +32,28 @@ def compiteCompileSdkVersion () {
3232
if(project.hasProperty("compileSdk")) {
3333
return compileSdk
3434
}
35-
else {
36-
return 22
37-
}
35+
return 22
3836
}
3937

4038
def computeBuildToolsVersion() {
4139
if(project.hasProperty("buildToolsVersion")) {
4240
return buildToolsVersion
4341
}
44-
else {
45-
return "22.0.1"
46-
}
42+
return "22.0.1"
4743
}
4844

4945
def computeMinSdkVersion() {
5046
if(project.hasProperty("minSdk")) {
5147
return targetSdk
5248
}
53-
else {
54-
return 17
55-
}
49+
return 17
5650
}
5751

5852
def computeTargetSdkVersion() {
5953
if(project.hasProperty("targetSdk")) {
6054
return targetSdk
6155
}
62-
else {
63-
return 22
64-
}
56+
return 22
6557
}
6658

6759
def computeSupportVersion() {

0 commit comments

Comments
 (0)