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

Refactor hybrid build classes and disabled generating intermediate android_library resources target #67

Merged
merged 1 commit into from
Mar 14, 2023

Conversation

arunkumar9t2
Copy link
Contributor

@arunkumar9t2 arunkumar9t2 commented Mar 14, 2023

Proposed Changes

  • Cleans up hybrid build classes and refactor them to use DI

  • Introduce hybrid build extension to control hybrid instead of gradle property grazel.bazelEnabled

  • For supporting hybrid builds we used to generate a android_library res target for holding resources, that is removed in this PR. A proper approach would be to write something to databinding_aar in bazel_common and use that here to simply the amount of work grazel needs to do.

  • Note: Hybrid builds does not work after variant specific Bazel targets support was added. #66 still remains open and this PR does not fix the issue. Probably needs a larger refactor to accomodate variants and to move away from doing everything in configuration phase.

@arunkumar9t2 arunkumar9t2 self-assigned this Mar 14, 2023
@arunkumar9t2 arunkumar9t2 added the enhancement New feature or request label Mar 14, 2023
@arunkumar9t2 arunkumar9t2 force-pushed the cleanup-hybrid-build branch from d3743a0 to 3341a29 Compare March 14, 2023 08:03
@arunkumar9t2 arunkumar9t2 merged commit 081331f into master Mar 14, 2023
@arunkumar9t2 arunkumar9t2 deleted the cleanup-hybrid-build branch April 5, 2023 03:31
akshay-grabtaxi pushed a commit that referenced this pull request Jun 28, 2023
…ndroid_library` resources target (#67)

Cleanup hybrid build
akshay-grabtaxi pushed a commit that referenced this pull request Jun 28, 2023
…ndroid_library` resources target (#67)

Cleanup hybrid build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants