feat(common): set up for Compose screenshot testing

This commit is contained in:
Harsh Shandilya 2024-09-02 03:02:49 +05:30
parent 7037d55bf2
commit ed4c573ee4
3 changed files with 9 additions and 1 deletions

View file

@ -49,9 +49,12 @@ android.dependencyResolutionAtConfigurationTime.disallow=true
android.disableEarlyManifestParsing=true
# Disable warnings about unsupported features
android.suppressUnsupportedOptionWarnings=android.dependencyResolutionAtConfigurationTime.disallow,android.disableEarlyManifestParsing,android.suppressUnsupportedOptionWarnings
android.suppressUnsupportedOptionWarnings=android.dependencyResolutionAtConfigurationTime.disallow,android.disableEarlyManifestParsing,android.experimental.enableScreenshotTest,android.suppressUnsupportedOptionWarnings
android.suppressUnsupportedCompileSdk=35
# Enable screenshot tests
android.experimental.enableScreenshotTest=true
# Make Spotless default to keeping license headers years in sync
spotlessSetLicenseHeaderYearsFromGitHistory=true