build.gradle: get the instrument tests building

This commit is contained in:
Reece H. Dunn
2013-07-27 15:38:55 +01:00
parent 9d7ee61aad
commit db49a68f70
+12
View File
@@ -9,6 +9,14 @@ buildscript {
apply plugin: 'android'
repositories {
mavenCentral()
}
dependencies {
instrumentTestCompile 'org.hamcrest:hamcrest-all:1.3'
}
android {
buildToolsVersion '18.0'
compileSdkVersion 18
@@ -24,6 +32,10 @@ android {
java.srcDirs = ['src']
res.srcDirs = ['res']
}
instrumentTest.setRoot('eSpeakTests')
instrumentTest {
java.srcDirs = ['eSpeakTests/src']
}
}
}