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

Workaround disallow changes by splitting configuration file setup #138

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

alexvanyo
Copy link
Contributor

@alexvanyo alexvanyo commented Feb 25, 2024

This adds a potential workaround for #135 by taking advantage of the configuration split for disableTestProguardFiles.

I don't think the main configuration has to wait for afterEvaluate - it wasn't in afterEvaluate prior to #117, so maybe we can move that part out of afterEvaluate to avoid running into the disallowChanges issue.

If disableTestProguardFiles is not true, then the new disallowChanges() will still cause the #135 issue, but on the latest AGP versions not specifying disableTestProguardFiles won't work anyway.

I validated this change locally against alexvanyo/composelife#1500 updating 8.4.0-alpha04 to 8.4.0-alpha11.

@ZacSweers ZacSweers merged commit d44f1ac into slackhq:main Apr 18, 2024
1 check passed
@ZacSweers
Copy link
Collaborator

Thanks! Sorry for the delay, I didn't see this

@carlonzo
Copy link

any plans on getting this one released anytime soon? or are there snapshots we can use to test the fix?

@iliaskomp
Copy link

It would also be really great for us if we there would be a release with this fix, thanks!

@ZacSweers
Copy link
Collaborator

The fix no longer appears to work #141. Sorry but I'm not sure what can be done about it at this point. In the meantime, please be respectful of OSS maintainers and don't nag for releases of something you could build yourself: https://www.zacsweers.dev/you-are-not-blocked/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants