[android] add spoon gradle plugin (#6089)

This commit is contained in:
Tobrun
2016-08-29 15:23:01 +02:00
committed by GitHub
parent 58f7310749
commit d9f63c6d76
3 changed files with 14 additions and 0 deletions

View File

@@ -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'

View File

@@ -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
}

View File

@@ -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'
}
}