aboutsummaryrefslogtreecommitdiff
path: root/manualtest/build.gradle
diff options
context:
space:
mode:
authorKevin Jin <kjin@google.com>2015-02-12 16:35:10 -0800
committerKevin Jin <kjin@google.com>2015-02-12 19:57:40 -0800
commit88e33a2cba2eb40cd5ed098d8a49b80ee7b3c6d4 (patch)
tree0c2fcc541455b95df7aace1a9cfc658e9aac23d9 /manualtest/build.gradle
parent849d98cac056f0a210017ea8b95f0417d98ad7bc (diff)
downloaddroiddriver-88e33a2cba2eb40cd5ed098d8a49b80ee7b3c6d4.tar.gz
Add Gradle files for ManualDD
Change-Id: Ic96d6d0f9d2127aabb1ca3222eea03cd17e75e27
Diffstat (limited to 'manualtest/build.gradle')
-rw-r--r--manualtest/build.gradle40
1 files changed, 40 insertions, 0 deletions
diff --git a/manualtest/build.gradle b/manualtest/build.gradle
new file mode 100644
index 0000000..407b7a8
--- /dev/null
+++ b/manualtest/build.gradle
@@ -0,0 +1,40 @@
+//TODO: figure out how to enable breakpoints in droiddriver. Breakpoints in system (e.g. InstrumentationTestRunner) work.
+
+buildscript {
+ repositories {
+ jcenter()
+ }
+ dependencies {
+ // this requires Gradle 2
+ classpath 'com.android.tools.build:gradle:1.0.1'
+ }
+}
+
+// This is actually a test without an AUT (application under test).
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 21
+ buildToolsVersion '21.1.2'
+
+ defaultConfig {
+ minSdkVersion 12
+ targetSdkVersion 21
+ // Force remove the suffix '.test'
+ testApplicationId 'com.google.android.droiddriver.manualtest'
+ testInstrumentationRunner 'com.google.android.droiddriver.runner.TestRunner'
+ }
+
+ sourceSets {
+ main {
+ manifest.srcFile 'AndroidManifest.xml'
+ }
+ androidTest {
+ java.srcDirs = ['src']
+ }
+ }
+}
+
+dependencies {
+ androidTestCompile project(':droiddriver') // TODO: use droiddriver from jcenter
+}