mirror of https://github.com/nextcloud/android
Revert Shot to get screenshots again
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
0793f23c0d
commit
a35a6a3417
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue