blob: 9a977217a12514c4d79a1c3f0b315288f79c103f [file] [log] [blame]
# Maven style API version (e.g. '2.x-SNAPSHOT').
# Used by :api_install and :api_deploy targets
# when talking to the destination repository.
#
GERRIT_VERSION = "2.16-SNAPSHOT"
def check_version(x):
if native.bazel_version < x:
fail("\nERROR: Current Bazel version is {}, expected at least {}\n".format(native.bazel_version, x))