Revert Shot to get screenshots again

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
tobiasKaminsky 2021-09-03 07:35:27 +02:00
parent 0793f23c0d
commit a35a6a3417
No known key found for this signature in database
GPG Key ID: 0E00D4D47D0C5AF7
2 changed files with 2 additions and 3 deletions

View File

@ -25,7 +25,6 @@ buildscript {
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:1.18.1"
classpath "commons-httpclient:commons-httpclient:3.1@jar" // remove after entire switch to lib v2
classpath 'com.karumi:shot:5.11.2'
classpath 'com.facebook.testing.screenshot:plugin:0.14.0'
}
}
@ -39,7 +38,6 @@ apply plugin: 'com.hiya.jacoco-android'
apply plugin: 'com.github.spotbugs'
apply plugin: 'io.gitlab.arturbosch.detekt'
apply plugin: 'shot'
apply plugin: 'com.facebook.testing.screenshot'
println "Gradle uses Java ${Jvm.current()}"
@ -378,6 +376,7 @@ dependencies {
androidTestImplementation "net.bytebuddy:byte-buddy-android:$byteBuddyVersion"
androidTestImplementation "io.mockk:mockk-android:1.10.4"
androidTestImplementation 'androidx.arch.core:core-testing:2.0.1'
androidTestImplementation "com.facebook.testing.screenshot:core:0.13.0"
// UIAutomator - for cross-app UI tests, and to grant screen is turned on in Espresso tests
// androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'

View File

@ -57,7 +57,7 @@ while read line ; do
fi
done < <(adb devices | cut -f1)
if [ ! $emulatorIsRunning ] ; then
if [ "$emulatorIsRunning" == false ] ; then
emulator -writable-system -avd uiComparison -no-snapshot -gpu swiftshader_indirect -no-audio -skin 500x833 &
fi