From 321d7e5f68c8433b8121d5616cce6ff231a018d0 Mon Sep 17 00:00:00 2001 From: Simon Mavi Stewart Date: Tue, 22 Oct 2024 15:55:18 +0100 Subject: [PATCH] We only need to load rules_license once --- repositories.bzl | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/repositories.bzl b/repositories.bzl index 07947951..ff20bbad 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -78,17 +78,6 @@ def contrib_rules_jvm_deps(): path = "@contrib_rules_jvm//java/private:contrib_rules_jvm_deps.zip", ) - # This is required by `rules_jvm_external` - maybe( - http_archive, - name = "rules_license", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz", - "https://github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz", - ], - sha256 = "26d4021f6898e23b82ef953078389dd49ac2b5618ac564ade4ef87cced147b38", - ) - # This is required by `rules_jvm_external` maybe( http_archive, @@ -150,16 +139,6 @@ def contrib_rules_jvm_gazelle_deps(): # We need to expand the contents of `@rules_proto//proto:repositories.bzl" here so # we can continue the two-step initialisation process - maybe( - http_archive, - name = "rules_license", - urls = [ - "https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz", - "https://github.com/bazelbuild/rules_license/releases/download/1.0.0/rules_license-1.0.0.tar.gz", - ], - sha256 = "26d4021f6898e23b82ef953078389dd49ac2b5618ac564ade4ef87cced147b38", - ) - maybe( http_archive, name = "rules_cc",