[android] - removed unused gradle plugins
This commit is contained in:
committed by
Tobrun
parent
9c12a311f2
commit
fe6e0c360e
@@ -70,7 +70,6 @@ dependencies {
|
||||
}
|
||||
|
||||
// Testing dependencies
|
||||
androidTestCompile rootProject.ext.dep.testSpoonRunner
|
||||
androidTestCompile rootProject.ext.dep.supportAnnotations
|
||||
androidTestCompile rootProject.ext.dep.testRunner
|
||||
androidTestCompile rootProject.ext.dep.testRules
|
||||
@@ -80,8 +79,6 @@ dependencies {
|
||||
|
||||
apply from: 'gradle-make.gradle'
|
||||
apply from: 'gradle-config.gradle'
|
||||
apply from: 'gradle-device-farm.gradle'
|
||||
apply from: 'gradle-spoon.gradle'
|
||||
apply from: 'gradle-checkstyle.gradle'
|
||||
apply from: '../gradle-lint.gradle'
|
||||
|
||||
|
||||
@@ -1,43 +0,0 @@
|
||||
apply plugin: 'devicefarm'
|
||||
|
||||
def getAccessKeyDeviceFarm() {
|
||||
if (project.hasProperty('AWS_ACCESS_KEY_ID_DEVICE_FARM')) {
|
||||
return AWS_ACCESS_KEY_ID_DEVICE_FARM
|
||||
} else {
|
||||
println("Could not locate AWS_ACCESS_KEY_ID_DEVICE_FARM in gradle.properties")
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
def getSecretAccessKeyDeviceFarm() {
|
||||
if (project.hasProperty('AWS_SECRET_ACCESS_KEY_DEVICE_FARM')) {
|
||||
return AWS_SECRET_ACCESS_KEY_DEVICE_FARM
|
||||
} else {
|
||||
println("Could not locate AWS_SECRET_ACCESS_KEY_DEVICE_FARM in gradle.properties")
|
||||
return ""
|
||||
}
|
||||
}
|
||||
|
||||
devicefarm {
|
||||
|
||||
projectName "Mapbox GL Android" // required: Must already exists.
|
||||
devicePool "sanity" // optional: Defaults to "Top Devices"
|
||||
|
||||
authentication {
|
||||
accessKey getAccessKeyDeviceFarm()
|
||||
secretKey getSecretAccessKeyDeviceFarm()
|
||||
}
|
||||
|
||||
devicestate {
|
||||
wifi "on"
|
||||
bluetooth "off"
|
||||
gps "on"
|
||||
nfc "on"
|
||||
latitude 47.6204 // default
|
||||
longitude - 122.3491 // default
|
||||
}
|
||||
|
||||
instrumentation {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,8 +0,0 @@
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user