aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle2
-rw-r--r--examples/ex1_standalone_app/build.gradle7
-rw-r--r--examples/ex2_espresso/build.gradle7
-rw-r--r--examples/ex3_async_event/build.gradle7
-rw-r--r--examples/ex4_uiautomator/build.gradle7
-rw-r--r--examples/ex5_schedule_rpc/build.gradle7
-rw-r--r--gradle/wrapper/gradle-wrapper.properties4
-rw-r--r--third_party/sl4a/build.gradle7
8 files changed, 39 insertions, 9 deletions
diff --git a/build.gradle b/build.gradle
index 72c29c4..bfa4ef3 100644
--- a/build.gradle
+++ b/build.gradle
@@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.2.3'
+ classpath 'com.android.tools.build:gradle:2.3.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
diff --git a/examples/ex1_standalone_app/build.gradle b/examples/ex1_standalone_app/build.gradle
index 035e331..29e61b3 100644
--- a/examples/ex1_standalone_app/build.gradle
+++ b/examples/ex1_standalone_app/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 24
- buildToolsVersion "24.0.3"
+ buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.google.android.mobly.snippet.example1"
@@ -11,6 +11,11 @@ android {
versionCode 1
versionName "0.0.1"
}
+ lintOptions {
+ abortOnError true
+ checkAllWarnings true
+ warningsAsErrors true
+ }
}
dependencies {
diff --git a/examples/ex2_espresso/build.gradle b/examples/ex2_espresso/build.gradle
index 00a4df9..a8c0c31 100644
--- a/examples/ex2_espresso/build.gradle
+++ b/examples/ex2_espresso/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 24
- buildToolsVersion "24.0.3"
+ buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.google.android.mobly.snippet.example2"
@@ -17,6 +17,11 @@ android {
main {}
snippet {}
}
+ lintOptions {
+ abortOnError true
+ checkAllWarnings true
+ warningsAsErrors true
+ }
}
dependencies {
diff --git a/examples/ex3_async_event/build.gradle b/examples/ex3_async_event/build.gradle
index 661cf2e..2fcb8f9 100644
--- a/examples/ex3_async_event/build.gradle
+++ b/examples/ex3_async_event/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 24
- buildToolsVersion "24.0.3"
+ buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.google.android.mobly.snippet.example3"
@@ -11,6 +11,11 @@ android {
versionCode 1
versionName "0.0.1"
}
+ lintOptions {
+ abortOnError true
+ checkAllWarnings true
+ warningsAsErrors true
+ }
}
dependencies {
diff --git a/examples/ex4_uiautomator/build.gradle b/examples/ex4_uiautomator/build.gradle
index 41aa43d..8298d9b 100644
--- a/examples/ex4_uiautomator/build.gradle
+++ b/examples/ex4_uiautomator/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 24
- buildToolsVersion "24.0.3"
+ buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.google.android.mobly.snippet.example4"
@@ -11,6 +11,11 @@ android {
versionCode 1
versionName "0.0.1"
}
+ lintOptions {
+ abortOnError true
+ checkAllWarnings true
+ warningsAsErrors true
+ }
}
dependencies {
diff --git a/examples/ex5_schedule_rpc/build.gradle b/examples/ex5_schedule_rpc/build.gradle
index 16f6f76..8c25983 100644
--- a/examples/ex5_schedule_rpc/build.gradle
+++ b/examples/ex5_schedule_rpc/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 24
- buildToolsVersion "24.0.3"
+ buildToolsVersion '25.0.0'
defaultConfig {
applicationId "com.google.android.mobly.snippet.example5"
@@ -11,6 +11,11 @@ android {
versionCode 1
versionName "0.0.1"
}
+ lintOptions {
+ abortOnError true
+ checkAllWarnings true
+ warningsAsErrors true
+ }
}
dependencies {
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index 04e285f..1652023 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
-#Mon Dec 28 10:00:20 PST 2015
+#Tue Jun 20 10:15:00 PDT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
diff --git a/third_party/sl4a/build.gradle b/third_party/sl4a/build.gradle
index f5c82ae..3492848 100644
--- a/third_party/sl4a/build.gradle
+++ b/third_party/sl4a/build.gradle
@@ -18,7 +18,7 @@ apply plugin: 'com.github.dcendents.android-maven'
android {
compileSdkVersion 24
- buildToolsVersion '24.0.3'
+ buildToolsVersion '25.0.0'
defaultConfig {
minSdkVersion 11
@@ -30,6 +30,11 @@ android {
project.archivesBaseName = ARTIFACT_ID
project.version = VERSION_NAME
}
+ lintOptions {
+ abortOnError true
+ checkAllWarnings true
+ warningsAsErrors true
+ }
}
dependencies {