You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the task generates a set of Bazel files for a migration target, all its dependencies and the root module. Consequently, all of them can be built with Bazel.
The text was updated successfully, but these errors were encountered:
Please make sure to register Module/Feature components in the airin block. The components handle the generation of BUILD files.
Airin ships with a couple of default components for Android modules. However, in many cases, you would be required to create your own components to define a logic that generates Bazel scripts needed for your project. The components provide an API that helps you to get details about your Gradle modules. Moreover, they provide a DSL that helps you to generate corresponding Bazel scripts based on this data.
Please refer to this video for a live demo to learn more: https://youtu.be/xkGcrLn2yIs?si=guCn1Q3CfSDtX9jF&t=1608
There is a live demo at 26:48 but the rest of the video could be also helpful for more context about components.
Let me know if you have any questions.
Repository: https://github.com/federicoiosue/Omni-Notes -> Using this OSS project as a way to test migration from Gradle -> Bazel.
Problem After running
./gradlew omniNotes:migrateToBazel --no-configure-on-demand
no bazel files generated, even with task success.OUTPUT:
Change to root build.gradle
Expected
The text was updated successfully, but these errors were encountered: