Skip to content

chore(*): remove obsolete flags from gradle.properties#2811

Open
thatfiredev wants to merge 3 commits into
masterfrom
rpf-non-transitive-R
Open

chore(*): remove obsolete flags from gradle.properties#2811
thatfiredev wants to merge 3 commits into
masterfrom
rpf-non-transitive-R

Conversation

@thatfiredev

Copy link
Copy Markdown
Member

All of these flags default to true in AGP 9.0 and are safe to remove.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates resource references to use fully qualified names across multiple instrumented tests and sets android.nonTransitiveRClass and android.nonFinalResIds to true in gradle.properties. Feedback suggests completely removing these obsolete Gradle flags from gradle.properties instead of setting them to true to keep the configuration clean.

Comment thread gradle.properties Outdated
@thatfiredev thatfiredev marked this pull request as ready for review June 19, 2026 15:55
@thatfiredev

Copy link
Copy Markdown
Member Author

/gemini review

@thatfiredev thatfiredev requested a review from marinacoelho June 19, 2026 15:56

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates several instrumented tests to use fully-qualified resource IDs from androidx.appcompat and Firebase In-App Messaging, while also removing some AndroidX and R-class configuration properties from gradle.properties. The reviewer feedback suggests improving code readability across the test files by using static imports for these long, fully-qualified resource IDs instead of referencing them inline.

withParent(allOf(withId(R.id.select_dialog_listview),
withParent(withId(R.id.contentPanel)))),
withParent(allOf(withId(androidx.appcompat.R.id.select_dialog_listview),
withParent(withId(androidx.appcompat.R.id.contentPanel)))),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we import all libraries at the beginning of the class, instead of inside the functions? (Same comment for all 3 test files in this PR).

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