summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/build.gradle5
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/gradle-spoon.gradle8
-rw-r--r--platform/android/build.gradle1
3 files changed, 14 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/build.gradle b/platform/android/MapboxGLAndroidSDKTestApp/build.gradle
index 72692bc357..2b6cefb7be 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/build.gradle
+++ b/platform/android/MapboxGLAndroidSDKTestApp/build.gradle
@@ -103,6 +103,7 @@ dependencies {
androidTestCompile 'com.android.support.test:runner:0.4.1'
androidTestCompile 'com.android.support.test:rules:0.4.1'
androidTestCompile 'com.android.support.test.espresso:espresso-core:2.2.1'
+ androidTestCompile 'com.squareup.spoon:spoon-client:1.6.2'
}
checkstyle {
@@ -160,3 +161,7 @@ android.applicationVariants.all { variant ->
checkstyle.exclude('**/R.java')
project.tasks.getByName("check").dependsOn checkstyle
}
+
+
+apply from: 'gradle-spoon.gradle'
+
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/gradle-spoon.gradle b/platform/android/MapboxGLAndroidSDKTestApp/gradle-spoon.gradle
new file mode 100644
index 0000000000..1c9afaeb7c
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDKTestApp/gradle-spoon.gradle
@@ -0,0 +1,8 @@
+println "configuring spoon"
+apply plugin: 'spoon'
+spoon {
+ // Spoon: distributes instrumentation tests to all your Androids
+ // for more options see https://github.com/stanfy/spoon-gradle-plugin
+ grantAllPermissions = true
+ debug = true
+} \ No newline at end of file
diff --git a/platform/android/build.gradle b/platform/android/build.gradle
index 2cf8d66eef..644986a749 100644
--- a/platform/android/build.gradle
+++ b/platform/android/build.gradle
@@ -7,6 +7,7 @@ buildscript {
classpath 'com.android.tools.build:gradle:2.1.3'
classpath 'com.github.JakeWharton:sdk-manager-plugin:220bf7a88a7072df3ed16dc8466fb144f2817070'
classpath 'com.amazonaws:aws-devicefarm-gradle-plugin:1.2'
+ classpath 'com.stanfy.spoon:spoon-gradle-plugin:1.2.1'
}
}