Skip to content

feat: enable opt outs for AGP v9#224

Merged
cortinico merged 3 commits into
react-native-community:mainfrom
hurali97:agp/enable-optouts
Jun 8, 2026
Merged

feat: enable opt outs for AGP v9#224
cortinico merged 3 commits into
react-native-community:mainfrom
hurali97:agp/enable-optouts

Conversation

@hurali97

@hurali97 hurali97 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Summary:

This PR is part of Android Gradle Plugin v9 adoption. With this PR, we enable the opt outs for built-in kotlin and newDsl. 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:

  • CI passes
  • Template app works correctly with AGP v9 and opt outs enabled
template-optouts.mp4

@hurali97 hurali97 changed the title Agp9/enable optouts feat: enable opt outs for AGP v9 Jun 3, 2026
@hurali97 hurali97 marked this pull request as ready for review June 3, 2026 11:16
@hurali97 hurali97 force-pushed the agp/enable-optouts branch from 9ee59c5 to bcfea67 Compare June 5, 2026 07:25
@hurali97

hurali97 commented Jun 5, 2026

Copy link
Copy Markdown
Contributor Author

cc: @cortinico

@cortinico 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 hurali97 force-pushed the agp/enable-optouts branch from bcfea67 to 8e45219 Compare June 8, 2026 06:13
@cortinico cortinico merged commit 775d99a into react-native-community:main Jun 8, 2026
1 check passed
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