aboutsummaryrefslogtreecommitdiff
path: root/manualtest/build.gradle
blob: 5be41b871211a38fe6e6080ef47a90afbcd2542f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.3.0'
    }
}

// This is actually a test without an AUT (application under test).
apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion '21.1.2'
    defaultConfig {
        minSdkVersion 8
        targetSdkVersion 23
        testInstrumentationRunner 'io.appium.droiddriver.runner.TestRunner'
    }
    sourceSets {
        main {
            manifest.srcFile 'AndroidManifest.xml'
        }
        androidTest {
            java.srcDirs = ['src']
        }
    }
    productFlavors {
    }
}

// Building with droiddriver source. Common tests should use droiddriver from jcenter by having
// these lines instead:
// repositories {
//     jcenter()
// }
// dependencies {
//     androidTestCompile 'io.appium:droiddriver:1.0.0-BETA1' // or another version
// }
dependencies {
    androidTestCompile project(':droiddriver')
}