Skip to content

Commit a59e8ab

Browse files
committed
Update build system version
1 parent 150029f commit a59e8ab

File tree

6 files changed

+15
-18
lines changed

6 files changed

+15
-18
lines changed

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.7.+"
7+
classpath 'com.android.tools.build:gradle:1.5.0'
88
}
99
}
1010

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Apr 10 15:27:10 PDT 2013
1+
#Wed Jan 13 15:54:05 GMT 2016
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.9-all.zip
6+
distributionUrl=https\://services.gradle.org/distributions/gradle-2.8-all.zip

library/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
apply plugin: 'android-library'
1+
apply plugin: 'com.android.library'
22

33
android {
4-
buildToolsVersion '19.0.0'
4+
buildToolsVersion '19.1.0'
55
compileSdkVersion 19
66

77
defaultConfig {
@@ -11,7 +11,7 @@ android {
1111

1212
android.libraryVariants.all { variant ->
1313
def name = variant.buildType.name
14-
if (name.equals(com.android.builder.BuilderConstants.DEBUG)) {
14+
if (name.equals(com.android.builder.core.BuilderConstants.DEBUG)) {
1515
return; // Skip debug builds.
1616
}
1717
def task = project.tasks.create "jar${name.capitalize()}", Jar

samples/database-v1/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
apply plugin: 'android'
1+
apply plugin: 'com.android.application'
22

33
dependencies {
44
compile project(':library')
55
}
66

77
android {
8-
buildToolsVersion '19.0.0'
8+
buildToolsVersion '19.1.0'
99
compileSdkVersion 19
1010

1111
defaultConfig {
1212
minSdkVersion 8
13-
packageName 'com.example.sqliteassethelper'
13+
applicationId 'com.example.sqliteassethelper'
1414
targetSdkVersion 19
1515
versionCode 1
1616
versionName '1.0'

samples/database-v13-upgrade/build.gradle

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,16 @@ buildscript {
22
repositories {
33
mavenCentral()
44
}
5-
dependencies {
6-
classpath 'com.android.tools.build:gradle:0.7.+'
7-
}
85
}
9-
apply plugin: 'android'
6+
apply plugin: 'com.android.application'
107

118
repositories {
129
mavenCentral()
1310
}
1411

1512
android {
1613
compileSdkVersion 19
17-
buildToolsVersion "19.0.0"
14+
buildToolsVersion "19.1.0"
1815

1916
defaultConfig {
2017
minSdkVersion 8
@@ -24,7 +21,7 @@ android {
2421
}
2522
buildTypes {
2623
release {
27-
runProguard false
24+
minifyEnabled false
2825
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
2926
}
3027
}

samples/database-v2-upgrade/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
apply plugin: 'android'
1+
apply plugin: 'com.android.application'
22

33
dependencies {
44
compile project(':library')
55
}
66

77
android {
8-
buildToolsVersion '19.0.0'
8+
buildToolsVersion '19.1.0'
99
compileSdkVersion 19
1010

1111
defaultConfig {
1212
minSdkVersion 8
13-
packageName 'com.example.sqliteassethelper'
13+
applicationId 'com.example.sqliteassethelper'
1414
targetSdkVersion 19
1515
versionCode 2
1616
versionName '2.0'

0 commit comments

Comments
 (0)