|
| 1 | +""" |
| 2 | +Copyright (c) 2024 by ekxide IO GmbH. All rights reserved. |
| 3 | +
|
| 4 | +Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | +you may not use this file except in compliance with the License. |
| 6 | +You may obtain a copy of the License at |
| 7 | +
|
| 8 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +
|
| 10 | +Unless required by applicable law or agreed to in writing, software |
| 11 | +distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +See the License for the specific language governing permissions and |
| 14 | +limitations under the License. |
| 15 | +
|
| 16 | +SPDX-License-Identifier: Apache-2.0 |
| 17 | +
|
| 18 | +Loads dependent repositories from https://github.com/bazelbuild |
| 19 | +""" |
| 20 | + |
| 21 | +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| 22 | +load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") |
| 23 | + |
| 24 | +BAZEL_SKYLIB_VERSION = "1.7.1" |
| 25 | + |
| 26 | +def load_bazel_skylib_repositories(): |
| 27 | + maybe( |
| 28 | + name = "bazel_skylib", |
| 29 | + repo_rule = http_archive, |
| 30 | + sha256 = "bc283cdfcd526a52c3201279cda4bc298652efa898b10b4db0837dc51652756f", |
| 31 | + urls = [ |
| 32 | + "https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/releases/download/{version}/bazel-skylib-{version}.tar.gz".format(version = BAZEL_SKYLIB_VERSION), |
| 33 | + "https://github.com/bazelbuild/bazel-skylib/releases/download/{version}/bazel-skylib-{version}.tar.gz".format(version = BAZEL_SKYLIB_VERSION), |
| 34 | + ], |
| 35 | + ) |
0 commit comments