IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/License

You can read about the migration, and let us know what you think.

Extensions > API reference > License

License

This API is deprecated and will be removed. Please do not depend on it. This object represents the value of a license attribute.