Use droiddriver:1.0.0-SNAPSHOT to build droiddriver-android_support_test

Change-Id: I8528969f7f7d8c64a929d5a9b295967e94eab67c
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 @@
 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'
 }