Metalava can be downloaded from the
metalava-master manifest branch via
repo as explained below
repo(Repo is a tool that makes it easier to download multiple Git repositories at once. For more information about Repo, see the Repo Command Reference)
mkdir ~/bin PATH=~/bin:$PATH curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
git config --global user.name "Your Name" git config --global user.email "email@example.com"
mkdir metalava-master cd metalava-master
repocommand to initialize the repository.
repo init -u https://android.googlesource.com/platform/manifest -b metalava-master
repo sync -j8 -c
For anyone that is already working in the
aosp/master branch, you can use that repo checkout instead. For small changes to metalava, this is not recommended - it is a very large checkout, with many dependencies not used by metalava.
See also README.md for details about building and running Metalava after you have checked out the code.