diff options
author | Keith Dart <keith.dart@gmail.com> | 2017-12-15 19:40:09 -0800 |
---|---|---|
committer | Ang Li <angli@google.com> | 2017-12-15 19:40:09 -0800 |
commit | aeddc8bcd123ddf6c865622464001fe0f3835b87 (patch) | |
tree | 2497bdc66fbe0df6b5990d0b71479b520eed6620 /examples/ex4_uiautomator/build.gradle | |
parent | f48f37f7a4de86306cc7193d92b464fab491b67b (diff) | |
download | mobly-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/ex4_uiautomator/build.gradle')
-rw-r--r-- | examples/ex4_uiautomator/build.gradle | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/examples/ex4_uiautomator/build.gradle b/examples/ex4_uiautomator/build.gradle index 8298d9b..1d89fdf 100644 --- a/examples/ex4_uiautomator/build.gradle +++ b/examples/ex4_uiautomator/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.example4" minSdkVersion 18 - targetSdkVersion 24 + targetSdkVersion 22 versionCode 1 - versionName "0.0.1" + versionName "0.0.2" } lintOptions { - abortOnError true + abortOnError false checkAllWarnings true warningsAsErrors true + disable 'HardwareIds','MissingApplicationIcon','GoogleAppIndexingWarning','InvalidPackage','OldTargetApi' } } @@ -23,8 +23,9 @@ dependencies { // 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.2.0' - compile project(':mobly-snippet-lib') - - compile 'com.android.support:appcompat-v7:24.2.1' - compile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2' + implementation project(':mobly-snippet-lib') + implementation 'junit:junit:4.12' + implementation 'com.android.support.test:runner:1.0.1' + implementation 'com.android.support:appcompat-v7:26.1.0' + implementation 'com.android.support.test.uiautomator:uiautomator-v18:2.1.3' } |