Skip to content

Commit cbb0b22

Browse files
committed
Updated Gradle configuration
1 parent 5ee354d commit cbb0b22

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

library/build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1+
import com.android.builder.BuilderConstants
2+
13
apply plugin: 'android-library'
24

35
android {
46
compileSdkVersion 19
5-
buildToolsVersion '19.0.1'
7+
buildToolsVersion '19.0.3'
68

79
defaultConfig {
810
minSdkVersion 3
@@ -16,7 +18,7 @@ android {
1618

1719
android.libraryVariants.all { variant ->
1820
def name = variant.buildType.name
19-
if (name.equals(com.android.builder.BuilderConstants.DEBUG)) {
21+
if (name.equals(BuilderConstants.DEBUG)) {
2022
return; // Skip debug builds.
2123
}
2224
def task = project.tasks.create "android${name.capitalize()}Jar", Jar

sample/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ buildscript {
33
mavenCentral()
44
}
55
dependencies {
6-
classpath 'com.android.tools.build:gradle:0.7.+'
6+
classpath 'com.android.tools.build:gradle:0.+'
77
}
88
}
99
apply plugin: 'android'
@@ -17,7 +17,7 @@ repositories {
1717

1818
android {
1919
compileSdkVersion 19
20-
buildToolsVersion '19.0.1'
20+
buildToolsVersion '19.0.3'
2121

2222
defaultConfig {
2323
minSdkVersion 3

0 commit comments

Comments
 (0)