From 8995d26b31592b502142db700b76af78c4bf7989 Mon Sep 17 00:00:00 2001 From: Kevin Jin Date: Tue, 10 Mar 2015 10:19:40 -0700 Subject: Use droiddriver:1.0.0-SNAPSHOT to build droiddriver-android_support_test Change-Id: I8528969f7f7d8c64a929d5a9b295967e94eab67c --- droiddriver-android_support_test/build.gradle | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/droiddriver-android_support_test/build.gradle b/droiddriver-android_support_test/build.gradle index 8dab32a..3f6120f 100644 --- a/droiddriver-android_support_test/build.gradle +++ b/droiddriver-android_support_test/build.gradle @@ -12,13 +12,25 @@ buildscript { apply plugin: 'android-sdk-manager' apply plugin: 'com.android.library' +ext.ddSnapshot = hasProperty('ddSnapshot') + repositories { jcenter() + if (ddSnapshot) { + // For development only - droiddriver SNAPSHOTs published here + maven { url 'http://oss.jfrog.org/artifactory/oss-snapshot-local' } + } } dependencies { - // During development, this should be set to droiddriver SNAPSHOT - compile 'io.appium:droiddriver:0.9.1' + if (ddSnapshot) { + // For development only. + compile 'io.appium:droiddriver:1.0.0-SNAPSHOT' + } else { + // This is broken now b/c droiddriver-1.0.0 is not published yet + compile 'io.appium:droiddriver:1.0.0' + } + compile 'com.android.support.test:testing-support-lib:0.1' } -- cgit v1.2.3