Skip to content

Commit

Permalink
Screenshot record support in media:sample
Browse files Browse the repository at this point in the history
  • Loading branch information
rajat4064g committed Sep 24, 2024
1 parent 4993ee4 commit f069e6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions media/sample/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ plugins {
id("com.google.devtools.ksp")
id("com.google.protobuf")
kotlin("android")
alias(libs.plugins.roborazzi)
kotlin("plugin.serialization")
alias(libs.plugins.compose.compiler)
}
Expand Down Expand Up @@ -52,7 +53,11 @@ android {
testOptions {
unitTests {
isIncludeAndroidResources = true
all {
it.systemProperty("screenshot.record", findProperty("screenshot.record") ?: "false")
}
}
animationsDisabled = true
}

buildTypes {
Expand Down

0 comments on commit f069e6f

Please sign in to comment.