diff --git a/authenticator-screenshots/build.gradle.kts b/authenticator-screenshots/build.gradle.kts index 6af0e191..fcef70c7 100644 --- a/authenticator-screenshots/build.gradle.kts +++ b/authenticator-screenshots/build.gradle.kts @@ -13,7 +13,6 @@ * permissions and limitations under the License. */ -@Suppress("DSL_SCOPE_VIOLATION") plugins { id("amplify.android.library") alias(libs.plugins.paparazzi) @@ -34,3 +33,8 @@ dependencies { coreLibraryDesugaring(libs.android.desugar) } + +// Verify screenshots when running the check task +tasks.named("check").configure { + dependsOn(tasks.first { it.name == "verifyPaparazzi" }) +} diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_PasswordResetScreenshots_default_state.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_PasswordResetScreenshots_default_state.png index 10eebfd2..aef07ca8 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_PasswordResetScreenshots_default_state.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_PasswordResetScreenshots_default_state.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_PasswordResetScreenshots_username_not_found.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_PasswordResetScreenshots_username_not_found.png index 72553284..5818741c 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_PasswordResetScreenshots_username_not_found.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_PasswordResetScreenshots_username_not_found.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_default_state.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_default_state.png index faf30d27..250ed537 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_default_state.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_default_state.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_password_visible.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_password_visible.png index d19fa095..b112beb2 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_password_visible.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_password_visible.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_ready_to_submit.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_ready_to_submit.png index 3da4e150..b222f2cb 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_ready_to_submit.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_ready_to_submit.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_username_not_found.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_username_not_found.png index f008583f..8b01b424 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_username_not_found.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignInScreenshots_username_not_found.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_default_state.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_default_state.png index f8b19fa9..5ed89d46 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_default_state.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_default_state.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_invalid_email.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_invalid_email.png index c4d89eac..74388999 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_invalid_email.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_invalid_email.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_invalid_password.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_invalid_password.png index 7ae68495..f2a7ac6a 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_invalid_password.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_invalid_password.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_password_visible.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_password_visible.png index 441c3f02..e3de0769 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_password_visible.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_password_visible.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_passwords_do_not_match.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_passwords_do_not_match.png index d169e8fd..38106180 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_passwords_do_not_match.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_passwords_do_not_match.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_ready_to_submit.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_ready_to_submit.png index 97057a12..ca788dca 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_ready_to_submit.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_ready_to_submit.png differ diff --git a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_username_exists.png b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_username_exists.png index 5425ff20..94d28370 100644 Binary files a/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_username_exists.png and b/authenticator-screenshots/src/test/snapshots/images/com.amplifyframework.ui.authenticator.ui_SignUpScreenshots_username_exists.png differ diff --git a/build-logic/plugins/build.gradle.kts b/build-logic/plugins/build.gradle.kts index 95317757..d3a63c67 100644 --- a/build-logic/plugins/build.gradle.kts +++ b/build-logic/plugins/build.gradle.kts @@ -13,7 +13,6 @@ * permissions and limitations under the License. */ -@Suppress("DSL_SCOPE_VIOLATION") plugins { `kotlin-dsl` alias(libs.plugins.ktlint) diff --git a/build.gradle.kts b/build.gradle.kts index 740aac18..5891a83c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -60,8 +60,6 @@ subprojects { } } -// Plugin aliases are a warning in Gradle < 8.1, this suppress can be removed after updating -@Suppress("DSL_SCOPE_VIOLATION") plugins { alias(libs.plugins.android.application) apply false alias(libs.plugins.android.library) apply false