commit | 5fa47192c944944b40ac8e414828c3ef27903757 | [log] [tgz] |
---|---|---|
author | jhorvitz <jhorvitz@google.com> | Mon Apr 19 10:25:53 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 19 10:26:54 2021 -0700 |
tree | e85a6b47ebf7b5dd2421915a56529d55dcf37c98 | |
parent | db8a7b5c9081258ad42bdf7331b26d98a8f3f36d [diff] |
Use `ClassToInstanceMap` for serialization dependencies. Serialization deps are mappings from a class to an instance of that class. Using `ClassToInstanceMap` provides compile-time enforcement that the value is in fact an instance of the key. Also use `checkNotNull` in `getDependency` to throw when a dependency is not present, so that callers don't have to check. PiperOrigin-RevId: 369249742
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md