From f0d4e59e66b54949937ceed725e50ba26177d667 Mon Sep 17 00:00:00 2001 From: Michael Carroll Date: Fri, 5 Apr 2024 14:27:26 -0500 Subject: [PATCH] bazel: correctly export license (#586) Signed-off-by: Michael Carroll --- BUILD.bazel | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/BUILD.bazel b/BUILD.bazel index b89cd10a..968198e9 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -11,13 +11,23 @@ load( "@gz//bazel/lint:lint.bzl", "add_lint_tests", ) +load( + "@rules_license//rules:license.bzl", + "license", +) package( + default_applicable_licenses = [GZ_ROOT + "math:license"], default_visibility = GZ_VISIBILITY, features = GZ_FEATURES, ) -licenses(["notice"]) # Apache-2.0 +license( + name = "license", + package_name = "gz-math", +) + +licenses(["notice"]) exports_files(["LICENSE"])