Updated: 2022-02-06

Android is moving to Bazel.

Config written in Starlark, a dialect of Python

What's new

External Dependencies

It will be more like other dependency management systems (maven, npm, cargo, etc)

  • Bazel Modules
  • Bazel Central Repository (BCR)

Trouble Shooting

Error: ... undeclared inclusion(s) in rule ...

This can happen after installing or upgrading developer tools (xcode). Try

$ bazel clean --expunge


To pull Maven artifacts, use rules_jvm_external