Skip to content

Commit 9da6be9

Browse files
authored
chore(authenticator): Require screenshot verification as a check task (#108)
1 parent b81dce1 commit 9da6be9

16 files changed

+5
-4
lines changed

authenticator-screenshots/build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
* permissions and limitations under the License.
1414
*/
1515

16-
@Suppress("DSL_SCOPE_VIOLATION")
1716
plugins {
1817
id("amplify.android.library")
1918
alias(libs.plugins.paparazzi)
@@ -34,3 +33,8 @@ dependencies {
3433

3534
coreLibraryDesugaring(libs.android.desugar)
3635
}
36+
37+
// Verify screenshots when running the check task
38+
tasks.named("check").configure {
39+
dependsOn(tasks.first { it.name == "verifyPaparazzi" })
40+
}
-107 Bytes
Loading
Loading
89 Bytes
Loading
117 Bytes
Loading
32 Bytes
Loading
139 Bytes
Loading
-142 Bytes
Loading
-31 Bytes
Loading
-24 Bytes
Loading

0 commit comments

Comments
 (0)