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

Fix API warning task #138

Merged
merged 3 commits into from
May 6, 2024
Merged

Fix API warning task #138

merged 3 commits into from
May 6, 2024

Conversation

daymxn
Copy link
Collaborator

@daymxn daymxn commented May 3, 2024

Per b/338644141,

This fixes the warnAboutAPIChanges task that was failing when one of the projects didn't have any changes. This was due to an oversight in how Gradle propagates skipped properties. We've ran into this before, but it's easy to forget that even if a task is skipped- Gradle still considers outputs to be valid (even if they don't exist). So mapping against it doesn't provide the expected behavior. You can read more about this on their repo: /gradle/issues/7442

This PR also fixes the following:

  • b/338643118 -> Allow release tasks to work without files existing

@daymxn daymxn requested review from rlazo and davidmotson May 3, 2024 22:26
@daymxn daymxn self-assigned this May 3, 2024
@daymxn daymxn enabled auto-merge (squash) May 3, 2024 22:26
@daymxn daymxn merged commit fcb2f99 into main May 6, 2024
5 checks passed
@daymxn daymxn deleted the daymon-fix-api-warning-task branch May 6, 2024 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants