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

Commit

Permalink
[android] add spoon gradle plugin (#6089)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobrun authored Aug 29, 2016
1 parent 58f7310 commit d9f63c6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
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

0 comments on commit d9f63c6

Please sign in to comment.