diff options
author | Kevin Jin <kjin@google.com> | 2015-03-10 18:41:11 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2015-03-10 18:41:11 +0000 |
commit | da796210064680bc4f2eac51a90d29cde95c757c (patch) | |
tree | 802d05464fde9b34a0a3ccacb0ca52eba1919db3 | |
parent | 4a662771b825241a670a3ba2ef6f4c877c5b92d5 (diff) | |
parent | 8995d26b31592b502142db700b76af78c4bf7989 (diff) | |
download | droiddriver-da796210064680bc4f2eac51a90d29cde95c757c.tar.gz |
Merge "Use droiddriver:1.0.0-SNAPSHOT to build droiddriver-android_support_test"
-rw-r--r-- | droiddriver-android_support_test/build.gradle | 16 |
1 files 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' } |