[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
|
||||
}
|
||||
@@ -4,8 +4,6 @@ buildscript {
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.3.1'
|
||||
classpath 'com.amazonaws:aws-devicefarm-gradle-plugin:1.2'
|
||||
classpath 'com.stanfy.spoon:spoon-gradle-plugin:1.2.1'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ ext {
|
||||
mockito : 'org.mockito:mockito-core:2.10.0',
|
||||
|
||||
// instrumentation test
|
||||
testSpoonRunner : 'com.squareup.spoon:spoon-client:1.7.1',
|
||||
testRunner : "com.android.support.test:runner:${testRunnerVersion}",
|
||||
testRules : "com.android.support.test:rules:${testRunnerVersion}",
|
||||
testEspressoCore : "com.android.support.test.espresso:espresso-core:${espressoVersion}",
|
||||
|
||||
Reference in New Issue
Block a user