[android] add spoon gradle plugin (#6089)
This commit is contained in:
@@ -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'
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user