simplify test min sdk

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2020-11-09 10:09:53 +01:00
parent 8dba90993d
commit 1b461d3e03
No known key found for this signature in database
GPG Key ID: 0E00D4D47D0C5AF7
2 changed files with 1 additions and 5 deletions

View File

@ -185,7 +185,6 @@ steps:
GIT_TOKEN:
from_secret: GIT_TOKEN
ORG_GRADLE_PROJECT_coverage: ''
ORG_GRADLE_PROJECT_screenshot: ''
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
@ -240,7 +239,6 @@ steps:
GIT_TOKEN:
from_secret: GIT_TOKEN
ORG_GRADLE_PROJECT_coverage: ''
ORG_GRADLE_PROJECT_screenshot: ''
commands:
- scripts/checkIfRunDrone.sh $GIT_USERNAME $GIT_TOKEN $DRONE_PULL_REQUEST || exit 0
- emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &

View File

@ -156,9 +156,6 @@ android {
buildTypes {
debug {
testCoverageEnabled (project.hasProperty('coverage'))
if (project.hasProperty('screenshot')) {
minSdkVersion 21 // remove once we use 21 globally, only needed for karumi.shot
}
}
}
@ -192,6 +189,7 @@ android {
testOptions {
unitTests.returnDefaultValues = true
animationsDisabled true
minSdkVersion 21
}
}