Skip to content

Commit 0d53eec

Browse files
committed
Update for latest gradle versions
1 parent bc9664d commit 0d53eec

File tree

4 files changed

+6
-11
lines changed

4 files changed

+6
-11
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ POM_LICENCE_DIST=repo
1313
POM_DEVELOPER_ID=amlcurran
1414
POM_DEVELOPER_NAME=Alex Curran
1515

16-
BUILD_TOOLS_VERSION=19.0.3
16+
BUILD_TOOLS_VERSION=19.1.0
1717
COMPILE_SDK=19
1818
MIN_SDK=11
1919
TARGET_SDK=19

library/build.gradle

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,17 @@ buildscript {
44
}
55

66
dependencies {
7-
classpath 'com.android.tools.build:gradle:0.9.0'
8-
classpath 'org.robolectric.gradle:gradle-android-test-plugin:0.9.4'
7+
classpath 'com.android.tools.build:gradle:0.12.+'
98
}
109
}
1110

12-
apply plugin: 'android-library'
13-
apply plugin: 'android-test'
11+
apply plugin: 'com.android.library'
1412
apply plugin: 'maven'
1513

1614
dependencies {
1715
repositories {
1816
mavenCentral()
1917
}
20-
androidTestCompile 'junit:junit:4.11'
21-
androidTestCompile 'org.mockito:mockito-all:1.9.5'
22-
androidTestCompile 'org.robolectric:robolectric:2.2'
2318
}
2419

2520
android {

library/gradle-mvn-push.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ afterEvaluate { project ->
105105
}
106106

107107
task androidJavadocs(type: Javadoc) {
108-
source = android.sourceSets.main.allJava
108+
source = android.sourceSets.main.java.getSrcDirs()
109109
}
110110

111111
task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
@@ -115,7 +115,7 @@ afterEvaluate { project ->
115115

116116
task androidSourcesJar(type: Jar) {
117117
classifier = 'sources'
118-
from android.sourceSets.main.allSource
118+
from android.sourceSets.main.java.getSrcDirs()
119119
}
120120

121121
artifacts {

sample/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildscript {
44
}
55

66
dependencies {
7-
classpath 'com.android.tools.build:gradle:0.9.0'
7+
classpath 'com.android.tools.build:gradle:0.12.+'
88
}
99
}
1010

0 commit comments

Comments
 (0)