© 2020

Beginning Bazel

Building and Testing for Java, Go, and More


Table of contents

  1. Front Matter
    Pages i-xi
  2. P. J. McNerney
    Pages 1-6
  3. P. J. McNerney
    Pages 7-21
  4. P. J. McNerney
    Pages 23-41
  5. P. J. McNerney
    Pages 43-56
  6. P. J. McNerney
    Pages 57-74
  7. P. J. McNerney
    Pages 75-95
  8. P. J. McNerney
    Pages 97-113
  9. P. J. McNerney
    Pages 115-134
  10. P. J. McNerney
    Pages 135-163
  11. P. J. McNerney
    Pages 165-188
  12. Back Matter
    Pages 189-192

About this book


Discover Bazel, a new build and software test set of tools for today's programmers and developers.  This book shows you how to speed up your builds and tests, and how to use Bazel in the context of your favorite programming language. You'll see that the languages and SDKs supported include Java, C++, Android, iOS, and Go.  

Beginning Bazel also shows you how scalable Bazel is for organizations, codebases, and continuous integration systems. It handles codebases of any size as well as multiple repos or a huge monorepo. Lastly, this book discusses how extensible Bazel is. You can easily add support for new languages and platforms with Bazel's extension language. As such, you'll be able to share and re-use language rules as they evolve in the Bazel community. 

You will:
  • Use Bazel as a build tool
  • Test software with Bazel 
  • Work with Java, C++, Android, iOS, Go, and other programming languages
  • Run Bazel on Linux, macOS, and Windows
  • Scale and extend Bazel to other languages and platforms


Bazel build test tool Java C++ Android macOS Linux code source software programming

Authors and affiliations

  1. 1.BlackhawkUSA

About the authors

P.J. McNerney is a software developer and programmer with the Major League Baseball online games group building and testing commercial quality software and game applications. He has experience with Eclipse, Bazel, Java, C++, and more.  

Bibliographic information

Industry Sectors
IT & Software
Consumer Packaged Goods
Finance, Business & Banking
Oil, Gas & Geosciences