File tree Expand file tree Collapse file tree 5 files changed +23
-14
lines changed Expand file tree Collapse file tree 5 files changed +23
-14
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,12 @@ language: android
2
2
3
3
android :
4
4
components :
5
- - build-tools-19.1.0
6
- - android-19
5
+ - build-tools-21.0.2
6
+ - android-21
7
7
- extra-google-google_play_services
8
8
- extra-google-m2repository
9
+ - extra-android-m2repository
10
+ - extra-android-support
9
11
10
12
script :
11
13
./gradlew build
Original file line number Diff line number Diff line change @@ -3,10 +3,10 @@ buildscript {
3
3
mavenCentral()
4
4
}
5
5
dependencies {
6
- classpath ' com.android.tools.build:gradle:0.9 .+'
6
+ classpath ' com.android.tools.build:gradle:0.13 .+'
7
7
}
8
8
}
9
- apply plugin : ' android'
9
+ apply plugin : ' com. android.application '
10
10
apply plugin : ' checkstyle'
11
11
apply plugin : " sonar-runner"
12
12
@@ -15,12 +15,12 @@ repositories {
15
15
}
16
16
17
17
android {
18
- compileSdkVersion 19
19
- buildToolsVersion " 19.1.0 "
18
+ compileSdkVersion 21
19
+ buildToolsVersion " 21.0.2 "
20
20
21
21
defaultConfig {
22
22
minSdkVersion 8
23
- targetSdkVersion 19
23
+ targetSdkVersion 21
24
24
versionCode 1
25
25
versionName " 1.0"
26
26
}
@@ -37,8 +37,8 @@ android {
37
37
38
38
dependencies {
39
39
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.+ '
42
42
compile ' javax.inject:javax.inject:1@jar'
43
43
compile ' com.squareup.dagger:dagger-compiler:1.2.+'
44
44
compile ' com.squareup.dagger:dagger:1.2.+'
Original file line number Diff line number Diff line change @@ -6,9 +6,16 @@ buildscript {
6
6
mavenLocal()
7
7
}
8
8
dependencies {
9
- classpath ' com.android.tools.build:gradle:0.9 .+'
9
+ classpath ' com.android.tools.build:gradle:0.13 .+'
10
10
}
11
11
}
12
12
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
+ }
Original file line number Diff line number Diff line change 1
- # Thu Jun 26 22:43:33 CEST 2014
1
+ # Wed Apr 10 15:27:10 PDT 2013
2
2
distributionBase =GRADLE_USER_HOME
3
3
distributionPath =wrapper/dists
4
4
zipStoreBase =GRADLE_USER_HOME
5
5
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
You can’t perform that action at this time.
0 commit comments