Skip to content

Commit

Permalink
Fix preview screenshot dependency check
Browse files Browse the repository at this point in the history
  • Loading branch information
takahirom committed Oct 2, 2024
1 parent 639f984 commit 41f519d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ fun verifyGenerateComposePreviewRobolectricTests(
androidExtension: TestedExtension,
extension: GenerateComposePreviewRobolectricTestsExtension
) {
if ((extension.enable.orNull) != true) {
return
}
val logger = project.logger
project.afterEvaluate {
if ((extension.enable.orNull) != true) {
return@afterEvaluate
}
verifyMavenRepository(project)
verifyLibraryDependencies(project)
verifyAndroidConfig(androidExtension, logger)
Expand Down

0 comments on commit 41f519d

Please sign in to comment.