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

Add compose support for android_instrumentation_binary #126

Conversation

minkuan88
Copy link
Contributor

Proposed Changes

Following changes in grab/grab-bazel-common/pull/158, this PR will enable compose support for instrumentation binary

Testing

Issues Fixed

@@ -61,14 +62,16 @@ internal class AndroidInstrumentationBinaryTargetBuilder
matchedVariant = matchedVariant,
sourceSetType = SourceSetType.JAVA_KOTLIN,
)
add(androidInstrumentationBinData.toTarget())
add(androidInstrumentationBinData.toTarget(project))
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we move this to extractor instead of directly mapping the value here?

Later we can make extractors cacheable and source of truth for migration data.

So androidInstrumentationBinData itself will contain compose field

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Moved it to extractor 🙇🏻‍♂️

@minkuanlim-grabtaxi minkuanlim-grabtaxi merged commit 90ef85b into grab:master Mar 29, 2024
8 checks passed
@minkuanlim-grabtaxi minkuanlim-grabtaxi deleted the instrumentation-binary-compose-support branch March 29, 2024 15:03
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.

3 participants