aboutsummaryrefslogtreecommitdiff
path: root/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 /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 'build.gradle')
-rw-r--r--build.gradle8
1 files changed, 4 insertions, 4 deletions
diff --git a/build.gradle b/build.gradle
index 4ed31c7..21ab790 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,11 +1,13 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules.
+// For android studio 2.3 and plugin 2.3.3
buildscript {
repositories {
jcenter()
+ google()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.3.3'
+ classpath 'com.android.tools.build:gradle:3.0.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -15,6 +17,7 @@ buildscript {
allprojects {
repositories {
jcenter()
+ google()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
@@ -23,6 +26,3 @@ allprojects {
}
}
-task clean(type: Delete) {
- delete rootProject.buildDir
-}