switch to gplay connected tests, to not run both generic and gplay on drone

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-02-07 10:03:12 +01:00
parent b13cba02c2
commit 2b3e69e80a
No known key found for this signature in database
GPG key ID: 0E00D4D47D0C5AF7

View file

@ -91,7 +91,7 @@ def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
for (TaskExecutionRequest tr : getGradle().getStartParameter().getTaskRequests()) {
for (String arg : tr.args) {
// any gplay, but only exact "build", as e.g. buildGeneric shall not apply gplay.grade
if (arg.contains("Gplay") || arg.contains("lint") || arg == "build") {
if (arg.contains("Gplay") || arg.contains("lint") || arg.contains("executeScreenshot") || arg == "build") {
apply from: 'gplay.gradle'
System.console().println("Applying gplay.gradle")
break
@ -105,7 +105,7 @@ spotbugs {
shot {
appId = 'com.nextcloud.client'
instrumentationTestTask = 'connectedGenericDebugAndroidTest'
instrumentationTestTask = 'connectedGplayDebugAndroidTest'
}
android {