1buildscript { 2 repositories { 3 jcenter() 4 } 5 dependencies { 6 classpath 'com.android.tools.build:gradle:1.3.0' 7 } 8} 9 10// This is actually a test without an AUT (application under test). 11apply plugin: 'com.android.application' 12 13android { 14 compileSdkVersion 23 15 buildToolsVersion '21.1.2' 16 defaultConfig { 17 minSdkVersion 8 18 targetSdkVersion 23 19 testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' 20 } 21 sourceSets { 22 main { 23 manifest.srcFile 'AndroidManifest.xml' 24 } 25 androidTest { 26 java.srcDirs = ['src'] 27 } 28 } 29 productFlavors { 30 } 31} 32 33// Building with droiddriver source. Common tests should use droiddriver from jcenter by having 34// these lines instead: 35// repositories { 36// jcenter() 37// } 38// dependencies { 39// androidTestCompile 'io.appium:droiddriver:1.0.0-BETA1' // or another version 40// } 41dependencies { 42 androidTestCompile project(':droiddriver') 43} 44