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 Oct 1, 2024
1 parent 75ca640 commit 270c5dd
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.roborazzi)
alias(libs.plugins.compose.compiler)
Expand Down Expand Up @@ -53,7 +54,11 @@ android {
testOptions {
unitTests {
isIncludeAndroidResources = true
all {
it.systemProperty("screenshot.record", findProperty("screenshot.record") ?: "false")
}
}
animationsDisabled = true
}

buildTypes {
Expand Down

0 comments on commit 270c5dd

Please sign in to comment.