Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure tasks lazily with configureEach #143

Merged
merged 2 commits into from
Dec 5, 2024
Merged

Conversation

ab-gnm
Copy link
Member

@ab-gnm ab-gnm commented Dec 3, 2024

Description

Reduces Gradle configuration work by configuring tasks lazily.

  • Use configureEach after withType

https://docs.gradle.org/current/userguide/task_configuration_avoidance.html#:~:text=TaskCollection.whenTaskAdded(),DomainObjectCollection.configureEach()%20instead.

Testing notes/instructions:

Build config changes - confirm the checks pass.

Checklist

  • Changes have been checked by the developer
  • Changes have been checked by the reviewers
  • Unit tested

@ab-gnm ab-gnm added the Android Android specific PRs label Dec 3, 2024
@ab-gnm ab-gnm marked this pull request as ready for review December 4, 2024 15:10
@ab-gnm ab-gnm requested a review from a team as a code owner December 4, 2024 15:10
@ab-gnm ab-gnm enabled auto-merge December 5, 2024 19:32
@ab-gnm ab-gnm added this pull request to the merge queue Dec 5, 2024
Merged via the queue into main with commit 5bba4c3 Dec 5, 2024
6 checks passed
@ab-gnm ab-gnm deleted the ab/configure-tasks-lazily branch December 5, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Android Android specific PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants