aboutsummaryrefslogtreecommitdiff
path: root/examples/ex5_schedule_rpc/build.gradle
diff options
context:
space:
mode:
authorKeith Dart <keith.dart@gmail.com>2017-12-15 19:40:09 -0800
committerAng Li <angli@google.com>2017-12-15 19:40:09 -0800
commitaeddc8bcd123ddf6c865622464001fe0f3835b87 (patch)
tree2497bdc66fbe0df6b5990d0b71479b520eed6620 /examples/ex5_schedule_rpc/build.gradle
parentf48f37f7a4de86306cc7193d92b464fab491b67b (diff)
downloadmobly-snippet-lib-aeddc8bcd123ddf6c865622464001fe0f3835b87.tar.gz
Update gradle, dependency versions and fix lint reported issues (#80)
* Update to latest build tools. * Fix lint issues and reformat. * Add presubmit target. * Fix IDE reported issues. * Fix test runner versions in example. * Review feedback changes. * Make getPrivateInetAddress a private method.
Diffstat (limited to 'examples/ex5_schedule_rpc/build.gradle')
-rw-r--r--examples/ex5_schedule_rpc/build.gradle13
1 files changed, 7 insertions, 6 deletions
diff --git a/examples/ex5_schedule_rpc/build.gradle b/examples/ex5_schedule_rpc/build.gradle
index 8c25983..53cd5a0 100644
--- a/examples/ex5_schedule_rpc/build.gradle
+++ b/examples/ex5_schedule_rpc/build.gradle
@@ -1,20 +1,20 @@
apply plugin: 'com.android.application'
android {
- compileSdkVersion 24
- buildToolsVersion '25.0.0'
+ compileSdkVersion 26
defaultConfig {
applicationId "com.google.android.mobly.snippet.example5"
- minSdkVersion 11
- targetSdkVersion 24
+ minSdkVersion 15
+ targetSdkVersion 22
versionCode 1
versionName "0.0.1"
}
lintOptions {
- abortOnError true
+ abortOnError false
checkAllWarnings true
warningsAsErrors true
+ disable 'HardwareIds','MissingApplicationIcon','GoogleAppIndexingWarning','InvalidPackage','OldTargetApi'
}
}
@@ -22,5 +22,6 @@ dependencies {
// The 'compile project' dep is to compile against the snippet lib source in
// this repo. For your own snippets, you'll want to use the regular 'compile' dep instead:
// compile 'com.google.android.mobly:mobly-snippet-lib:1.1.0'
- compile project(':mobly-snippet-lib')
+ implementation project(':mobly-snippet-lib')
+ implementation 'com.android.support.test:runner:1.0.1'
}