IMPORTANT: The Bazel docs have moved! Please update your bookmark to https://bazel.build/rules/lib/DottedVersion You can read about the migration, and let us know what you think.Extensions > API reference > DottedVersion
DottedVersionA value representing a version with multiple components, separated by periods, such as 220.127.116.11.
int DottedVersion.compare_to(other)Compares based on most signifigant (first) not-matching version component. So, for example, 1.2.3 < 1.2.4
The other dotted version.