Skip to content

Commit dcba352

Browse files
committed
Merge pull request #3 from Guardiola31337/master
Update project to Lollipop
2 parents 821fe92 + d396373 commit dcba352

File tree

5 files changed

+23
-14
lines changed

5 files changed

+23
-14
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@ language: android
22

33
android:
44
components:
5-
- build-tools-19.1.0
6-
- android-19
5+
- build-tools-21.0.2
6+
- android-21
77
- extra-google-google_play_services
88
- extra-google-m2repository
9+
- extra-android-m2repository
10+
- extra-android-support
911

1012
script:
1113
./gradlew build

app/build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:0.9.+'
6+
classpath 'com.android.tools.build:gradle:0.13.+'
77
}
88
}
9-
apply plugin: 'android'
9+
apply plugin: 'com.android.application'
1010
apply plugin: 'checkstyle'
1111
apply plugin: "sonar-runner"
1212

@@ -15,12 +15,12 @@ repositories {
1515
}
1616

1717
android {
18-
compileSdkVersion 19
19-
buildToolsVersion "19.1.0"
18+
compileSdkVersion 21
19+
buildToolsVersion "21.0.2"
2020

2121
defaultConfig {
2222
minSdkVersion 8
23-
targetSdkVersion 19
23+
targetSdkVersion 21
2424
versionCode 1
2525
versionName "1.0"
2626
}
@@ -37,8 +37,8 @@ android {
3737

3838
dependencies {
3939
compile fileTree(dir: 'libs', include: ['*.jar'])
40-
compile 'com.android.support:appcompat-v7:19.1.0'
41-
compile 'com.android.support:support-v4:19.1.0'
40+
compile 'com.android.support:appcompat-v7:21.+'
41+
compile 'com.android.support:support-v4:21.+'
4242
compile 'javax.inject:javax.inject:1@jar'
4343
compile 'com.squareup.dagger:dagger-compiler:1.2.+'
4444
compile 'com.squareup.dagger:dagger:1.2.+'

build.gradle

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,16 @@ buildscript {
66
mavenLocal()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:0.9.+'
9+
classpath 'com.android.tools.build:gradle:0.13.+'
1010
}
1111
}
1212

13-
14-
13+
allprojects {
14+
repositories {
15+
// Work around https://code.google.com/p/android/issues/detail?id=69270.
16+
def androidHome = System.getenv("ANDROID_HOME")
17+
maven {
18+
url "$androidHome/extras/android/m2repository/"
19+
}
20+
}
21+
}

gradle/wrapper/gradle-wrapper.jar

-1.18 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Thu Jun 26 22:43:33 CEST 2014
1+
#Wed Apr 10 15:27:10 PDT 2013
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
6+
distributionUrl=http\://services.gradle.org/distributions/gradle-2.1-all.zip

0 commit comments

Comments
 (0)