feat: enable opt outs for AGP v9#224
Merged
cortinico merged 3 commits intoJun 8, 2026
Merged
Conversation
hurali97
marked this pull request as ready for review
June 3, 2026 11:16
hurali97
force-pushed
the
agp/enable-optouts
branch
from
June 5, 2026 07:25
9ee59c5 to
bcfea67
Compare
Contributor
Author
|
cc: @cortinico |
cortinico
approved these changes
Jun 5, 2026
cortinico
enabled auto-merge (squash)
June 5, 2026 13:38
auto-merge was automatically disabled
June 8, 2026 06:13
Head branch was pushed to by a user without write access
hurali97
force-pushed
the
agp/enable-optouts
branch
from
June 8, 2026 06:13
bcfea67 to
8e45219
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary:
This PR is part of Android Gradle Plugin v9 adoption. With this PR, we enable the opt outs for
built-in kotlinandnewDsl. This allows us to use AGP v9 while maintaining a temporary bridge until AGP v10. Before that, we have to remove these opt outs and have the community around react-native AGP v9 adoption stable.This PR is in combination with react/react-native#57038
Changelog:
[ANDROID] [ADDED] - add opt outs for AGP v9
Test Plan:
template-optouts.mp4