aboutsummaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-10 16:08:02 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-05-10 16:08:02 +0000
commit1d68c72e55e7b8d667ed68d0f76a2410f3d4047c (patch)
tree39314478665e3c080e3df6fe4a97609182f089b5 /BUILD
parent8a99d2b6dff36f04be445f3c5e8f69874da57a04 (diff)
parentffc082fc7b3bc779251846c063bd127b941a3d52 (diff)
downloadbazelbuild-rules_license-aml_tz5_341510010.tar.gz
Snap for 10103804 from ffc082fc7b3bc779251846c063bd127b941a3d52 to mainline-tzdata5-releaseaml_tz5_341510070aml_tz5_341510050aml_tz5_341510010aml_tz5_341510010
Change-Id: Ieb8a9f24f0e3ef156a6c3b87a4fd089823f3df61
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD16
1 files changed, 14 insertions, 2 deletions
diff --git a/BUILD b/BUILD
index a763238..31520c4 100644
--- a/BUILD
+++ b/BUILD
@@ -13,12 +13,16 @@
# limitations under the License.
load("@rules_license//rules:license.bzl", "license")
+load("@rules_license//rules:package_info.bzl", "package_info")
+load("@rules_license//:version.bzl", "version")
package(
- default_applicable_licenses = [":license"],
+ default_applicable_licenses = [":license", ":package_info"],
default_visibility = ["//visibility:public"],
)
+licenses(["notice"])
+
license(
name = "license",
license_kinds = [
@@ -27,8 +31,14 @@ license(
license_text = "LICENSE",
)
+package_info(
+ name = "package_info",
+ package_name = "rules_license",
+ package_version = version,
+)
+
exports_files(
- ["WORKSPACE"],
+ ["LICENSE", "WORKSPACE"],
visibility = ["//visibility:public"],
)
@@ -45,8 +55,10 @@ filegroup(
"*.bzl",
"*.md",
]) + [
+ "MODULE.bazel",
"BUILD",
"LICENSE",
+ "WORKSPACE.bzlmod",
],
visibility = ["//distro:__pkg__"],
)