xref: /aosp_15_r20/external/bazelbuild-rules_license/WORKSPACE (revision f578df4fd057ffe2023728444759535685631548)
1# Copyright 2022 The Bazel Authors. All rights reserved.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#    http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15workspace(name = "rules_license")
16
17# You only need the dependencies if you intend to use any of the tools.
18load("@rules_license//:deps.bzl", "rules_license_dependencies")
19
20rules_license_dependencies()
21
22### INTERNAL ONLY - lines after this are not included in the release packaging.
23
24load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
25
26http_archive(
27    name = "rules_pkg",
28    urls = [
29        "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/0.8.0/rules_pkg-0.8.0.tar.gz",
30        "https://github.com/bazelbuild/rules_pkg/releases/download/0.8.0/rules_pkg-0.8.0.tar.gz",
31    ],
32    sha256 = "eea0f59c28a9241156a47d7a8e32db9122f3d50b505fae0f33de6ce4d9b61834",
33)
34
35load("@rules_pkg//:deps.bzl", "rules_pkg_dependencies")
36
37rules_pkg_dependencies()
38
39http_archive(
40    name = "io_bazel_stardoc",
41    sha256 = "3fd8fec4ddec3c670bd810904e2e33170bedfe12f90adf943508184be458c8bb",
42    urls = [
43        "https://mirror.bazel.build/github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
44        "https://github.com/bazelbuild/stardoc/releases/download/0.5.3/stardoc-0.5.3.tar.gz",
45    ],
46)
47
48load("@io_bazel_stardoc//:setup.bzl", "stardoc_repositories")
49
50stardoc_repositories()
51