diff options
author | nickreid <nickreid@google.com> | 2023-10-10 09:20:55 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-10-10 09:21:32 -0700 |
commit | 369a8dab056f29c73c0da6502a15789cb61b0f4d (patch) | |
tree | c9d1d2d74bd084548f2f9b63c3b1a5a5f5d9705f | |
parent | ad516c65ed9300efbc16d2d4db4dfd83f166792b (diff) | |
download | bazelbuild-kotlin-rules-369a8dab056f29c73c0da6502a15789cb61b0f4d.tar.gz |
Expose the license target in OSS so that we can also expose package(default_applicable_license) declarations.
PiperOrigin-RevId: 572272340
Change-Id: I38d743b77b03fe301a2ed6f2827cd9cf09de2b75
-rw-r--r-- | BUILD | 11 | ||||
-rw-r--r-- | WORKSPACE | 10 | ||||
-rw-r--r-- | copy.bara.sky | 2 |
3 files changed, 22 insertions, 1 deletions
@@ -13,8 +13,13 @@ # limitations under the License. load("//bazel:stubs.bzl", "integration_test_filegroup") +load("@rules_license//rules:license.bzl", "license") load("@bazel_skylib//:bzl_library.bzl", "bzl_library") +package( + default_applicable_licenses = ["//:license"], +) + licenses(["notice"]) exports_files(["LICENSE"]) @@ -31,3 +36,9 @@ bzl_library( srcs = ["visibility.bzl"], visibility = [":internal"], ) + +license( + name = "license", + package_name = "rules_kotlin", + visibility = [":internal"], +) @@ -47,6 +47,16 @@ http_archive( ) http_archive( + name = "rules_license", + sha256 = "4531deccb913639c30e5c7512a054d5d875698daeb75d8cf90f284375fe7c360", + urls = [ + "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz", + ], +) +load("@rules_license//:deps.bzl", "rules_license_dependencies") +rules_license_dependencies() + +http_archive( name = "rules_java", urls = [ "https://mirror.bazel.build/github.com/bazelbuild/rules_java/releases/download/5.5.0/rules_java-5.5.0.tar.gz", diff --git a/copy.bara.sky b/copy.bara.sky index 6b06180..cd10621 100644 --- a/copy.bara.sky +++ b/copy.bara.sky @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -1644638401
\ No newline at end of file +-591166116
\ No newline at end of file |