Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

[android] add spoon gradle plugin #6089

Merged
merged 1 commit into from
Aug 29, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions platform/android/MapboxGLAndroidSDKTestApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -160,3 +161,7 @@ android.applicationVariants.all { variant ->
checkstyle.exclude('**/R.java')
project.tasks.getByName("check").dependsOn checkstyle
}


apply from: 'gradle-spoon.gradle'

Original file line number Diff line number Diff line change
@@ -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
}
1 change: 1 addition & 0 deletions platform/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
}

Expand Down