Grazel - A Gradle plugin to automate Bazel migration for Android projects
summary
Grab migrates a hundreds-module Android app to Bazel using Grazel, a Gradle plugin that programmatically generates BUILD and WORKSPACE files, performs compatibility checks, and substitutes Gradle project dependencies with Bazel-built artifacts so modules can be built with Bazel mobile install while others stay on Gradle. It uses a Kotlin-based Starlark DSL and buildifier for correct output, enables incremental migration via a single flag, and reports reduced manual work with parallel CI feedback; open source release planned Q4 2020.
AI-written summary · about
chapters (6)
- 0:00Grazel introduction
- 3:57What is Grazel
- 6:27Hybrid builds
- 9:42Bazel file generation
- 12:09Starlark DSL design
- 15:42Grazel impact
related talks
39mAutomated migration of Android apps to Bazel build system
48mBazel for Android Development
43mBoosting Bazel adoption on Android with automation
41mBazel on Android: The Good, The Bad and The Ugly
42mBazel
01h 12mBazel for Android Developers
41mDo You Need Bazel in Android Development?
31mGradle to Bazel + Q&A
