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 basic bzlmod example #148

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

keith
Copy link
Member

@keith keith commented Sep 20, 2023

No description provided.

This adds a way to setup the androidsdk repo in a bzlmod compatible way.
@keith
Copy link
Member Author

keith commented Sep 20, 2023

The first commit is #147, second one duplicates basicapp and makes it bzlmod compatible


# Disabled to avoid //external:android deps in bazel itself
common --android_sdk=@androidsdk//:sdk
common --optimizing_dexer=//:optimizing_dexer
Copy link
Member Author

Choose a reason for hiding this comment

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

this is a workaround to avoid having this target in bazel reference //external:android

@keith
Copy link
Member Author

keith commented Sep 20, 2023

Using this bazel bazelbuild/bazel#19575 you can almost get a working build of the sample app added here, in general this gives an idea of what needs to be fixed

@keith keith changed the title Improve bzlmod support for downstream users Add basic bzlmod example Sep 20, 2023
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.

None yet

1 participant