aboutsummaryrefslogtreecommitdiff
path: root/rules/licenses_core.bzl
diff options
context:
space:
mode:
authorTony Aiuto <aiuto@google.com>2023-02-14 00:48:19 -0500
committerTony Aiuto <aiuto@google.com>2023-02-14 00:54:45 -0500
commit88789cce44d2123f2814cea3c52c87b4d047d05b (patch)
treeae7af6a809c981abcd7ff0985d138efe40eac80d /rules/licenses_core.bzl
parent524ead2676e3144d9bfa05d5c971f189a42d2dd4 (diff)
downloadbazelbuild-rules_license-88789cce44d2123f2814cea3c52c87b4d047d05b.tar.gz
Split providers.bzl in two.
- put all the core ones that are required to declare liceneses in providers.bzl - move all the ones needed to gather licenses into private/gather_liceneses.bzl This keeps ownership and visibility clearer. Users can depend on the values in provider.bzl. The structs in gathering_providers.bzl should be considered private to the implementation. Also, make it clear that MetadataInfo is experimental by renaming it.
Diffstat (limited to 'rules/licenses_core.bzl')
-rw-r--r--rules/licenses_core.bzl3
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/licenses_core.bzl b/rules/licenses_core.bzl
index cf476a4..46b835c 100644
--- a/rules/licenses_core.bzl
+++ b/rules/licenses_core.bzl
@@ -18,6 +18,9 @@ load("@rules_license//rules:user_filtered_rule_kinds.bzl", "user_aspect_filters"
load(
"@rules_license//rules:providers.bzl",
"LicenseInfo",
+)
+load(
+ "@rules_license//rules:private/gathering_providers.bzl",
"LicensedTargetInfo",
"TransitiveLicensesInfo",
)