From dc556a2f96e55dc5f13d91c1b634227ee93db84e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20G=C5=82uszak?= Date: Fri, 5 Dec 2025 13:50:13 +0100 Subject: [PATCH 1/4] Migrate create_jar to use rules_pkg instead of custom CreateJar binary - Replace create_jar macro implementation with pkg_zip from rules_pkg - Update JavadocJarMaker to output a directory (tree artifact) instead of JAR - Use Bazel's builtin zipper to package javadoc output into JAR - Add rules_pkg 1.1.0 dependency to MODULE.bazel and repositories.bzl - Remove unused CreateJar.java and its test Fixes #1460 --- MODULE.bazel | 1 + private/rules/jar.bzl | 22 +++-- private/rules/javadoc.bzl | 37 +++++++- .../bazelbuild/rules_jvm_external/jar/BUILD | 24 ----- .../rules_jvm_external/jar/CreateJar.java | 89 ------------------- .../rules_jvm_external/javadoc/BUILD | 2 - .../javadoc/JavadocJarMaker.java | 34 +++++-- repositories.bzl | 10 +++ .../rules_jvm_external/ZipUtils.java | 25 ++++++ .../bazelbuild/rules_jvm_external/jar/BUILD | 15 ---- .../rules_jvm_external/jar/CreateJarTest.java | 48 ---------- .../javadoc/ExclusionTest.java | 22 ++--- .../javadoc/ResourceTest.java | 8 +- 13 files changed, 128 insertions(+), 209 deletions(-) delete mode 100644 private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/CreateJar.java delete mode 100644 tests/com/github/bazelbuild/rules_jvm_external/jar/CreateJarTest.java diff --git a/MODULE.bazel b/MODULE.bazel index 047da5780..8036e5b13 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -12,6 +12,7 @@ bazel_dep(name = "platforms", version = "0.0.11") bazel_dep(name = "rules_license", version = "1.0.0") bazel_dep(name = "rules_java", version = "8.13.0") bazel_dep(name = "rules_kotlin", version = "1.9.6") +bazel_dep(name = "rules_pkg", version = "1.1.0") bazel_dep(name = "rules_shell", version = "0.4.1") bazel_dep(name = "aspect_bazel_lib", version = "2.20.0", dev_dependency = True) diff --git a/private/rules/jar.bzl b/private/rules/jar.bzl index 4fdfd3570..527788a93 100644 --- a/private/rules/jar.bzl +++ b/private/rules/jar.bzl @@ -1,15 +1,25 @@ -load("@bazel_skylib//rules:run_binary.bzl", "run_binary") +load("@rules_pkg//pkg:zip.bzl", "pkg_zip") -def create_jar(name, inputs, out = None): +def create_jar(name, inputs, out = None, **kwargs): + """Creates a JAR file from the given inputs. + + This macro uses rules_pkg's pkg_zip to create a JAR file (which is just a ZIP + file with a .jar extension) from the provided input files. + + Args: + name: The name of the target. + inputs: A list of files or labels to include in the JAR. + out: Optional output file name. Defaults to "{name}.jar". + **kwargs: Additional arguments passed to pkg_zip. + """ if out == None: out = name + ".jar" elif not out.endswith(".jar"): out = out + ".jar" - run_binary( + pkg_zip( name = name, srcs = inputs, - outs = [out], - tool = "@rules_jvm_external//private/tools/java/com/github/bazelbuild/rules_jvm_external/jar:CreateJar", - args = ["$(location %s)" % out] + ["$(location %s)" % i for i in inputs], + out = out, + **kwargs ) diff --git a/private/rules/javadoc.bzl b/private/rules/javadoc.bzl index cad7629ea..74ed0eb36 100644 --- a/private/rules/javadoc.bzl +++ b/private/rules/javadoc.bzl @@ -20,6 +20,7 @@ _DEFAULT_JAVADOCOPTS = [ def generate_javadoc( ctx, javadoc, + zipper, source_jars, classpath, javadocopts, @@ -32,7 +33,10 @@ def generate_javadoc( transitive_inputs = [] args = ctx.actions.args() - args.add("--out", output) + # Declare a tree artifact (directory) for javadoc output + javadoc_dir = ctx.actions.declare_directory("%s_javadoc_files" % ctx.attr.name) + + args.add("--out", javadoc_dir.path) args.add("--element-list", element_list) args.add_all(source_jars, before_each = "--in") @@ -60,13 +64,36 @@ def generate_javadoc( ] args.add_all(javadocopts) + # Run JavadocJarMaker to generate documentation to a directory ctx.actions.run( executable = javadoc, - outputs = [output, element_list], + outputs = [javadoc_dir, element_list], inputs = depset(inputs, transitive = transitive_inputs), arguments = [args], ) + # Use zipper to create a JAR from the directory. + # We need to use a param file approach since tree artifacts don't provide + # a file listing directly. + zipper_args = ctx.actions.args() + zipper_args.add("c") + zipper_args.add(output) + zipper_args.add_all([javadoc_dir], map_each = _zipper_tree_artifact_args, expand_directories = True) + + ctx.actions.run( + executable = zipper, + outputs = [output], + inputs = [javadoc_dir], + arguments = [zipper_args], + mnemonic = "Javadoc", + progress_message = "Creating javadoc jar %s" % output.short_path, + ) + +def _zipper_tree_artifact_args(f): + # Format: zip_path=file_path + # We need to strip the tree artifact prefix to get the relative path + return "{}={}".format(f.tree_relative_path, f.path) + def _javadoc_impl(ctx): sources = [] for dep in ctx.attr.deps: @@ -93,6 +120,7 @@ def _javadoc_impl(ctx): generate_javadoc( ctx, ctx.executable._javadoc, + ctx.executable._zipper, sources, classpath, ctx.attr.javadocopts, @@ -193,5 +221,10 @@ javadoc = rule( cfg = "exec", executable = True, ), + "_zipper": attr.label( + default = "@bazel_tools//tools/zip:zipper", + cfg = "exec", + executable = True, + ), }, ) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/BUILD index ec8106f6a..e77a30690 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/BUILD @@ -60,27 +60,3 @@ java_binary( ], ) -java_library( - name = "create_jar_lib", - srcs = ["CreateJar.java"], - visibility = [ - "//private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc:__pkg__", - "//tests/com/github/bazelbuild/rules_jvm_external/jar:__pkg__", - "//tests/com/github/bazelbuild/rules_jvm_external/javadoc:__pkg__", - ], - deps = [ - "//private/tools/java/com/github/bazelbuild/rules_jvm_external", - "//private/tools/java/com/github/bazelbuild/rules_jvm_external/zip", - ], -) - -java_binary( - name = "CreateJar", - main_class = "com.github.bazelbuild.rules_jvm_external.jar.CreateJar", - visibility = [ - "//visibility:public", - ], - runtime_deps = [ - ":create_jar_lib", - ], -) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/CreateJar.java b/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/CreateJar.java deleted file mode 100644 index 733f76691..000000000 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/CreateJar.java +++ /dev/null @@ -1,89 +0,0 @@ -package com.github.bazelbuild.rules_jvm_external.jar; - -import com.github.bazelbuild.rules_jvm_external.zip.StableZipEntry; -import java.io.File; -import java.io.IOException; -import java.io.InputStream; -import java.io.OutputStream; -import java.io.UncheckedIOException; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; -import java.nio.file.StandardCopyOption; -import java.util.Comparator; -import java.util.Set; -import java.util.stream.Collectors; -import java.util.stream.Stream; -import java.util.zip.ZipEntry; -import java.util.zip.ZipOutputStream; - -public class CreateJar { - - public static void main(String[] args) throws IOException { - Path out = Paths.get(args[0]); - Set inputs = Stream.of(args).skip(1).map(Paths::get).collect(Collectors.toSet()); - - Path tmpDir = Files.createTempDirectory("create-jar-temp"); - tmpDir.toFile().deleteOnExit(); - - for (Path input : inputs) { - if (!Files.isDirectory(input)) { - Files.copy(input, tmpDir.resolve(input.getFileName()), StandardCopyOption.REPLACE_EXISTING); - continue; - } - - Files.walk(input) - .forEachOrdered( - source -> { - try { - Path target = tmpDir.resolve(input.relativize(source)); - if (Files.isDirectory(source)) { - Files.createDirectories(target); - } else { - Files.createDirectories(target.getParent()); - Files.copy(source, target); - } - } catch (IOException e) { - throw new UncheckedIOException(e); - } - }); - } - - createJar(out, tmpDir); - } - - public static void createJar(Path out, Path inputDir) throws IOException { - try (OutputStream os = Files.newOutputStream(out); - ZipOutputStream zos = new ZipOutputStream(os); - Stream walk = Files.walk(inputDir)) { - - walk.sorted(Comparator.naturalOrder()) - .forEachOrdered( - path -> { - if (path.equals(inputDir)) { - return; - } - - try { - String name = - inputDir.relativize(path).toString().replace(File.separatorChar, '/'); - if (Files.isDirectory(path)) { - name += "/"; - ZipEntry entry = new StableZipEntry(name); - zos.putNextEntry(entry); - zos.closeEntry(); - } else { - ZipEntry entry = new StableZipEntry(name); - zos.putNextEntry(entry); - try (InputStream is = Files.newInputStream(path)) { - com.github.bazelbuild.rules_jvm_external.ByteStreams.copy(is, zos); - } - zos.closeEntry(); - } - } catch (IOException e) { - throw new UncheckedIOException(e); - } - }); - } - } -} diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/BUILD index a37519573..517bec09e 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/BUILD @@ -8,8 +8,6 @@ java_library( ], deps = [ "//private/tools/java/com/github/bazelbuild/rules_jvm_external", - "//private/tools/java/com/github/bazelbuild/rules_jvm_external/jar:create_jar_lib", - "//private/tools/java/com/github/bazelbuild/rules_jvm_external/zip", ], ) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/JavadocJarMaker.java b/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/JavadocJarMaker.java index 16a1fb12b..d89c768f7 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/JavadocJarMaker.java +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/JavadocJarMaker.java @@ -21,7 +21,6 @@ import static java.nio.charset.StandardCharsets.UTF_8; import com.github.bazelbuild.rules_jvm_external.ByteStreams; -import com.github.bazelbuild.rules_jvm_external.jar.CreateJar; import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; @@ -47,7 +46,6 @@ import java.util.stream.Collectors; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; -import java.util.zip.ZipOutputStream; import javax.tools.DocumentationTool; import javax.tools.JavaFileObject; import javax.tools.StandardJavaFileManager; @@ -121,9 +119,12 @@ public static void main(String[] args) throws IOException { if (out == null) { throw new IllegalArgumentException( - "The output jar location must be specified via the --out flag"); + "The output directory location must be specified via the --out flag"); } + // Ensure output directory exists + Files.createDirectories(out); + Path dir = Files.createTempDirectory("javadocs"); Set tempDirs = new HashSet<>(); tempDirs.add(dir); @@ -149,10 +150,10 @@ public static void main(String[] args) throws IOException { // True if we're just exporting a set of modules if (sources.isEmpty()) { - try (OutputStream os = Files.newOutputStream(out); - ZipOutputStream zos = new ZipOutputStream(os)) { - // It's enough to just create the thing - } + // Create a placeholder file so zipper has something to package. + // An empty jar is valid and expected in this case. + Path placeholder = out.resolve(".empty"); + Files.write(placeholder, "".getBytes(UTF_8)); // We need to create the element list file so that the bazel rule calling us has the file // be created. @@ -243,11 +244,28 @@ public static void main(String[] args) throws IOException { Files.createFile(generatedElementList); } - CreateJar.createJar(out, outputTo); + // Copy all generated files to the output directory + copyDirectory(outputTo, out); } tempDirs.forEach(JavadocJarMaker::delete); } + private static void copyDirectory(Path source, Path target) throws IOException { + Files.walk(source).forEach(sourcePath -> { + try { + Path targetPath = target.resolve(source.relativize(sourcePath)); + if (Files.isDirectory(sourcePath)) { + Files.createDirectories(targetPath); + } else { + Files.createDirectories(targetPath.getParent()); + Files.copy(sourcePath, targetPath); + } + } catch (IOException e) { + throw new UncheckedIOException(e); + } + }); + } + private static void delete(Path toDelete) { try { Files.walk(toDelete) diff --git a/repositories.bzl b/repositories.bzl index 893e2009a..3e07888ca 100644 --- a/repositories.bzl +++ b/repositories.bzl @@ -122,6 +122,16 @@ def rules_jvm_external_deps( url = "https://github.com/bazel-contrib/bazel_features/releases/download/v1.19.0/bazel_features-v1.19.0.tar.gz", ) + maybe( + http_archive, + name = "rules_pkg", + urls = [ + "https://mirror.bazel.build/github.com/bazelbuild/rules_pkg/releases/download/1.1.0/rules_pkg-1.1.0.tar.gz", + "https://github.com/bazelbuild/rules_pkg/releases/download/1.1.0/rules_pkg-1.1.0.tar.gz", + ], + sha256 = "b7215c636f22c1849f1c3142c72f4b954bb12bb8dcf3cbe229ae6e69cc6479db", + ) + maven_install( name = "rules_jvm_external_deps", artifacts = [ diff --git a/tests/com/github/bazelbuild/rules_jvm_external/ZipUtils.java b/tests/com/github/bazelbuild/rules_jvm_external/ZipUtils.java index 480c99495..8d416d52d 100644 --- a/tests/com/github/bazelbuild/rules_jvm_external/ZipUtils.java +++ b/tests/com/github/bazelbuild/rules_jvm_external/ZipUtils.java @@ -49,4 +49,29 @@ public static Map readJar(Path jar) throws IOException { return builder.build(); } + + public static Map readDirectory(Path dir) throws IOException { + ImmutableMap.Builder builder = ImmutableMap.builder(); + + Files.walk(dir).forEach(path -> { + if (Files.isRegularFile(path)) { + try { + String relativePath = dir.relativize(path).toString().replace('\\', '/'); + // Try to read as UTF-8, fall back to empty string for binary files + String content; + try { + content = Files.readString(path, UTF_8); + } catch (java.nio.charset.MalformedInputException e) { + // Binary file, just store an empty string as we mostly care about file existence + content = ""; + } + builder.put(relativePath, content); + } catch (IOException e) { + throw new RuntimeException(e); + } + } + }); + + return builder.build(); + } } diff --git a/tests/com/github/bazelbuild/rules_jvm_external/jar/BUILD b/tests/com/github/bazelbuild/rules_jvm_external/jar/BUILD index d7d12421a..6d17b53b6 100644 --- a/tests/com/github/bazelbuild/rules_jvm_external/jar/BUILD +++ b/tests/com/github/bazelbuild/rules_jvm_external/jar/BUILD @@ -58,18 +58,3 @@ java_test( ], ) -java_test( - name = "CreateJarTest", - srcs = ["CreateJarTest.java"], - test_class = "com.github.bazelbuild.rules_jvm_external.jar.CreateJarTest", - deps = [ - "//private/tools/java/com/github/bazelbuild/rules_jvm_external", - "//private/tools/java/com/github/bazelbuild/rules_jvm_external/jar:create_jar_lib", - "//tests/com/github/bazelbuild/rules_jvm_external:zip_utils", - artifact("com.google.guava:guava"), - artifact( - "junit:junit", - repository_name = "regression_testing_coursier", - ), - ], -) diff --git a/tests/com/github/bazelbuild/rules_jvm_external/jar/CreateJarTest.java b/tests/com/github/bazelbuild/rules_jvm_external/jar/CreateJarTest.java deleted file mode 100644 index cd015f3bd..000000000 --- a/tests/com/github/bazelbuild/rules_jvm_external/jar/CreateJarTest.java +++ /dev/null @@ -1,48 +0,0 @@ -package com.github.bazelbuild.rules_jvm_external.jar; - -import static com.github.bazelbuild.rules_jvm_external.ZipUtils.readJar; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertTrue; - -import java.io.File; -import java.nio.file.Files; -import java.nio.file.Path; -import java.util.Map; -import org.junit.Rule; -import org.junit.Test; -import org.junit.rules.TemporaryFolder; - -public class CreateJarTest { - - @Rule public TemporaryFolder temp = new TemporaryFolder(); - - @Test - public void testCreateJar() throws Exception { - // Create temporary directory for test files - File tempDirFile = temp.newFolder("jar-test-input"); - Path tempDir = tempDirFile.toPath(); - - // Create test files with known content - Path file1 = tempDir.resolve("file1.txt"); - Files.writeString(file1, "content1"); - Path subDir = tempDir.resolve("subdir"); - Files.createDirectory(subDir); - Path file2 = subDir.resolve("file2.txt"); - Files.writeString(file2, "content2"); - - // Create output jar path - Path outputJar = temp.newFile("output.jar").toPath(); - Files.delete(outputJar); // Delete so createJar can create it - - CreateJar.main( - new String[] {outputJar.toAbsolutePath().toString(), tempDir.toAbsolutePath().toString()}); - - // Verify jar was created - assertTrue(Files.exists(outputJar)); - - // Verify jar contents - Map jarContents = readJar(outputJar); - assertEquals("content1", jarContents.get("file1.txt")); - assertEquals("content2", jarContents.get("subdir/file2.txt")); - } -} diff --git a/tests/com/github/bazelbuild/rules_jvm_external/javadoc/ExclusionTest.java b/tests/com/github/bazelbuild/rules_jvm_external/javadoc/ExclusionTest.java index 8b41e9fc0..bf71bdf43 100644 --- a/tests/com/github/bazelbuild/rules_jvm_external/javadoc/ExclusionTest.java +++ b/tests/com/github/bazelbuild/rules_jvm_external/javadoc/ExclusionTest.java @@ -1,7 +1,7 @@ package com.github.bazelbuild.rules_jvm_external.javadoc; import static com.github.bazelbuild.rules_jvm_external.ZipUtils.createJar; -import static com.github.bazelbuild.rules_jvm_external.ZipUtils.readJar; +import static com.github.bazelbuild.rules_jvm_external.ZipUtils.readDirectory; import static org.junit.Assert.assertFalse; import static org.junit.Assert.assertTrue; @@ -17,7 +17,7 @@ public class ExclusionTest { private Path inputJar; - private Path outputJar; + private Path outputDir; private Path elementList; @Rule public TemporaryFolder temp = new TemporaryFolder(); @@ -25,7 +25,7 @@ public class ExclusionTest { @Before public void setUp() throws IOException { this.inputJar = temp.newFile("in.jar").toPath(); - this.outputJar = temp.newFile("out.jar").toPath(); + this.outputDir = temp.newFolder("out").toPath(); this.elementList = temp.newFile("element-list").toPath(); // deleting the file since JavadocJarMaker fails on existing files, we just need to supply the // path. @@ -57,7 +57,7 @@ public void testJavadocPackageExclusion() throws IOException { "--in", inputJar.toAbsolutePath().toString(), "--out", - outputJar.toAbsolutePath().toString(), + outputDir.toAbsolutePath().toString(), "--exclude-packages", "com.example.processor.internal", "--exclude-packages", @@ -68,7 +68,7 @@ public void testJavadocPackageExclusion() throws IOException { elementList.toAbsolutePath().toString() }); - Map contents = readJar(outputJar); + Map contents = readDirectory(outputDir); assertTrue(contents.containsKey("com/example/Main.html")); @@ -101,14 +101,14 @@ public void testJavadocPackageExclusionWithAsterisk() throws IOException { "--in", inputJar.toAbsolutePath().toString(), "--out", - outputJar.toAbsolutePath().toString(), + outputDir.toAbsolutePath().toString(), "--exclude-packages", "com.example.processor.internal.*", "--element-list", elementList.toAbsolutePath().toString() }); - Map contents = readJar(outputJar); + Map contents = readDirectory(outputDir); // With asterisk, the "other" subpackage should be excluded as well. assertTrue(contents.containsKey("com/example/Main.html")); @@ -133,14 +133,14 @@ public void testJavadocPackageToplevelExcluded() throws IOException { "--in", inputJar.toAbsolutePath().toString(), "--out", - outputJar.toAbsolutePath().toString(), + outputDir.toAbsolutePath().toString(), "--exclude-packages", "io.example.*", "--element-list", elementList.toAbsolutePath().toString() }); - Map contents = readJar(outputJar); + Map contents = readDirectory(outputDir); // Checking that the toplevel package "io" is excluded. If it wasn't, the javadoc command // would throw an error for -subpackage containing a package that doesn't exist. @@ -165,7 +165,7 @@ public void testIncludeCombinedWithExclude() throws IOException { "--in", inputJar.toAbsolutePath().toString(), "--out", - outputJar.toAbsolutePath().toString(), + outputDir.toAbsolutePath().toString(), "--exclude-packages", "com.example.internal", "--include-packages", @@ -174,7 +174,7 @@ public void testIncludeCombinedWithExclude() throws IOException { elementList.toAbsolutePath().toString() }); - Map contents = readJar(outputJar); + Map contents = readDirectory(outputDir); // The include gets applied before the exclude. // io.example is not explicitely excluded, but its not in the include list, so it should not diff --git a/tests/com/github/bazelbuild/rules_jvm_external/javadoc/ResourceTest.java b/tests/com/github/bazelbuild/rules_jvm_external/javadoc/ResourceTest.java index d62304f75..b23a38eed 100644 --- a/tests/com/github/bazelbuild/rules_jvm_external/javadoc/ResourceTest.java +++ b/tests/com/github/bazelbuild/rules_jvm_external/javadoc/ResourceTest.java @@ -1,7 +1,7 @@ package com.github.bazelbuild.rules_jvm_external.javadoc; import static com.github.bazelbuild.rules_jvm_external.ZipUtils.createJar; -import static com.github.bazelbuild.rules_jvm_external.ZipUtils.readJar; +import static com.github.bazelbuild.rules_jvm_external.ZipUtils.readDirectory; import static java.nio.charset.StandardCharsets.UTF_8; import static org.junit.Assert.assertEquals; @@ -20,7 +20,7 @@ public class ResourceTest { @Test public void shouldIncludeResourceFiles() throws Exception { Path inputJar = temp.newFile("in.jar").toPath(); - Path outputJar = temp.newFile("out.jar").toPath(); + Path outputDir = temp.newFolder("out").toPath(); Path elementList = temp.newFile("element-list").toPath(); // deleting the file since JavadocJarMaker fails on existing files, we just need to supply the // path. @@ -42,12 +42,12 @@ public void shouldIncludeResourceFiles() throws Exception { "--in", inputJar.toAbsolutePath().toString(), "--out", - outputJar.toAbsolutePath().toString(), + outputDir.toAbsolutePath().toString(), "--element-list", elementList.toAbsolutePath().toString() }); - Map contents = readJar(outputJar); + Map contents = readDirectory(outputDir); assertEquals("Apache License 2.0".strip(), contents.get("LICENSE").strip()); } } From 627b6db9505fdc5338ca33bc0283b82d3a3944e7 Mon Sep 17 00:00:00 2001 From: Yun Peng Date: Tue, 16 Dec 2025 13:51:09 +0000 Subject: [PATCH 2/4] Fix build with Bazel 9 --- .bazelci/examples.yml | 42 +++++++++---------- .bazelci/presubmit.yml | 2 +- private/rules/coursier.bzl | 2 +- .../resolver/gradle/BUILD.bazel | 1 + .../rules_jvm_external/resolver/maven/BUILD | 1 + scripts/BUILD | 1 + .../duplicates_in_java_export/BUILD | 2 + tests/integration/java_export/BUILD | 6 ++- tests/integration/kt_jvm_export/BUILD | 1 + tests/integration/override_targets/BUILD | 1 + tests/integration/pom_file/BUILD | 2 +- 11 files changed, 36 insertions(+), 25 deletions(-) diff --git a/.bazelci/examples.yml b/.bazelci/examples.yml index 638d13360..1a7e49280 100644 --- a/.bazelci/examples.yml +++ b/.bazelci/examples.yml @@ -2,13 +2,13 @@ tasks: android-kotlin-linux: name: "Android Kotlin example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/android_kotlin_app build_targets: - "//:app" android-kotlin-macos: name: "Android Kotlin example" - platform: macos + platform: macos_arm64 working_directory: examples/android_kotlin_app build_targets: - "//:app" @@ -20,13 +20,13 @@ tasks: - "//:app" android-local-test-linux: name: "Android Robolectric test example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/android_local_test test_targets: - "//..." android-local-test-macos: name: "Android Robolectric test example" - platform: macos + platform: macos_arm64 working_directory: examples/android_local_test test_targets: - "//..." @@ -38,13 +38,13 @@ tasks: - "//..." bzlmod-linux: name: "bzlmod example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/bzlmod build_targets: - "//..." bzlmod-macos: name: "bzlmod example" - platform: macos + platform: macos_arm64 working_directory: examples/bzlmod build_targets: - "//..." @@ -56,13 +56,13 @@ tasks: - "//..." java-export-linux: name: "java-export example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/java-export build_targets: - "//..." java-export-macos: name: "java-export example" - platform: macos + platform: macos_arm64 working_directory: examples/java-export build_targets: - "//..." @@ -74,7 +74,7 @@ tasks: - "//..." kotlin-android-local-test-linux: name: "Kotlin Android Robolectric test example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/kt_android_local_test test_targets: - "//..." @@ -92,13 +92,13 @@ tasks: - "//..." kotlin-jvm-export-linux: name: "kt_jvm_export example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/kt_jvm_export build_targets: - "//..." kotlin-jvm-export-macos: name: "kt_jvm_export example" - platform: macos + platform: macos_arm64 working_directory: examples/kt_jvm_export build_targets: - "//..." @@ -112,13 +112,13 @@ tasks: # - "//..." pom-file-generation-linux: name: "POM file generation example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/pom_file_generation build_targets: - "//..." pom-file-generation-macos: name: "POM file generation example" - platform: macos + platform: macos_arm64 working_directory: examples/pom_file_generation build_targets: - "//..." @@ -130,13 +130,13 @@ tasks: - "//..." protobuf-java-linux: name: "Protobuf Java example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/protobuf-java test_targets: - "//..." protobuf-java-macos: name: "Protobuf Java example" - platform: macos + platform: macos_arm64 working_directory: examples/protobuf-java test_targets: - "//..." @@ -150,7 +150,7 @@ tasks: - "//..." scala-akka-linux: name: "Scala example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/scala_akka build_targets: - "//..." @@ -158,7 +158,7 @@ tasks: - "//..." scala-akka-macos: name: "Scala example" - platform: macos + platform: macos_arm64 working_directory: examples/scala_akka build_targets: - "//..." @@ -175,7 +175,7 @@ tasks: # - "//..." simple-linux: name: "Simple example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/simple shell_command: - "bazel run @maven//:pin" @@ -183,7 +183,7 @@ tasks: - "//..." simple-macos: name: "Simple example" - platform: macos + platform: macos_arm64 working_directory: examples/simple shell_command: - "bazel run @maven//:pin" @@ -197,7 +197,7 @@ tasks: - "//..." spring-boot-linux: name: "Spring boot example" - platform: ubuntu1804 + platform: ubuntu2204 working_directory: examples/spring_boot build_targets: - "//..." @@ -205,7 +205,7 @@ tasks: - "//..." spring-boot-macos: name: "Spring boot example" - platform: macos + platform: macos_arm64 working_directory: examples/spring_boot build_targets: - "//..." diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index c69362066..ac559866b 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -67,7 +67,7 @@ tasks: test_targets: - "--" - "//..." - macos: + macos_arm64: environment: # This tests custom cache locations. # https://github.com/bazelbuild/rules_jvm_external/pull/316 diff --git a/private/rules/coursier.bzl b/private/rules/coursier.bzl index 3d74e635d..e002d1465 100644 --- a/private/rules/coursier.bzl +++ b/private/rules/coursier.bzl @@ -1014,7 +1014,7 @@ def filter_dependencies_if_necessary(repository_ctx, dep_tree): if _is_verbose(repository_ctx): print("Removing source artifact with no file: %s" % dep["coord"]) else: - amended_deps.append(dep) + amended_deps.append(dep) continue # You'd think we could use skylib here to do the heavy lifting, but diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/BUILD.bazel b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/BUILD.bazel index 0974c0e02..af0442b71 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/BUILD.bazel +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/BUILD.bazel @@ -1,4 +1,5 @@ load("@rules_java//java:defs.bzl", "java_library") +load("@rules_java//java:java_binary.bzl", "java_binary") load("@rules_jvm_external//:defs.bzl", "artifact") java_library( diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven/BUILD index d23974aac..5a5caf210 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven/BUILD @@ -1,4 +1,5 @@ load("@rules_java//java:defs.bzl", "java_library") +load("@rules_java//java:java_binary.bzl", "java_binary") load("@rules_jvm_external//:defs.bzl", "artifact") java_library( diff --git a/scripts/BUILD b/scripts/BUILD index bb26c864d..221404e66 100644 --- a/scripts/BUILD +++ b/scripts/BUILD @@ -1,4 +1,5 @@ load("@rules_java//java:defs.bzl", "java_binary") +load("@rules_shell//shell:sh_binary.bzl", "sh_binary") load("//private:versions.bzl", "COURSIER_CLI_HTTP_FILE_NAME") load("//private/rules:artifact.bzl", "artifact") diff --git a/tests/integration/duplicates_in_java_export/BUILD b/tests/integration/duplicates_in_java_export/BUILD index 778166f55..07717f53a 100644 --- a/tests/integration/duplicates_in_java_export/BUILD +++ b/tests/integration/duplicates_in_java_export/BUILD @@ -1,3 +1,5 @@ +load("@protobuf//bazel:java_proto_library.bzl", "java_proto_library") +load("@protobuf//bazel:proto_library.bzl", "proto_library") load("@rules_java//java:defs.bzl", "java_library", "java_test") load("//:defs.bzl", "artifact", "java_export") diff --git a/tests/integration/java_export/BUILD b/tests/integration/java_export/BUILD index f1c01c75c..b3ca18a23 100644 --- a/tests/integration/java_export/BUILD +++ b/tests/integration/java_export/BUILD @@ -1,5 +1,9 @@ load("@aspect_bazel_lib//lib:diff_test.bzl", "diff_test") +load("@protobuf//bazel:java_proto_library.bzl", "java_proto_library") +load("@protobuf//bazel:proto_library.bzl", "proto_library") load("@rules_java//java:defs.bzl", "java_library") +load("@rules_java//java:java_test.bzl", "java_test") +load("@rules_shell//shell:sh_test.bzl", "sh_test") load("//:defs.bzl", "artifact", "java_export") load("//private/rules:maven_project_jar.bzl", "maven_project_jar") @@ -164,7 +168,7 @@ proto_library( name = "example_proto", srcs = ["example.proto"], deps = [ - # It's important that we pull our dep from `@com_google_protobuf` + # It's important that we pull our dep from `@protobuf` "@protobuf//:wrappers_proto", ], ) diff --git a/tests/integration/kt_jvm_export/BUILD b/tests/integration/kt_jvm_export/BUILD index 6fa02f588..d9c473bef 100644 --- a/tests/integration/kt_jvm_export/BUILD +++ b/tests/integration/kt_jvm_export/BUILD @@ -1,3 +1,4 @@ +load("@rules_shell//shell:sh_test.bzl", "sh_test") load("//:kt_defs.bzl", "kt_jvm_export") kt_jvm_export( diff --git a/tests/integration/override_targets/BUILD b/tests/integration/override_targets/BUILD index db096358a..c0ad093a7 100644 --- a/tests/integration/override_targets/BUILD +++ b/tests/integration/override_targets/BUILD @@ -3,6 +3,7 @@ load("@bazel_skylib//rules:build_test.bzl", "build_test") load("@bazel_skylib//rules:diff_test.bzl", "diff_test") load("@rules_android//android:rules.bzl", "aar_import") load("@rules_java//java:defs.bzl", "java_library") +load("@rules_shell//shell:sh_test.bzl", "sh_test") load("//tests/integration:is_bzlmod_enabled.bzl", "is_bzlmod_enabled") aar_import( diff --git a/tests/integration/pom_file/BUILD b/tests/integration/pom_file/BUILD index 6c3e81c00..c5629c7f0 100644 --- a/tests/integration/pom_file/BUILD +++ b/tests/integration/pom_file/BUILD @@ -1,5 +1,5 @@ -load("@rules_java//java:defs.bzl", "java_library") load("@aspect_bazel_lib//lib:diff_test.bzl", "diff_test") +load("@rules_java//java:defs.bzl", "java_library") load("//:defs.bzl", "artifact", "java_export") java_export( From 8b06252a399387aede6bd117d6ccc41310b50677 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20G=C5=82uszak?= Date: Tue, 27 Jan 2026 17:57:20 +0100 Subject: [PATCH 3/4] Fixes --- .bazelrc | 3 + .bazelversion | 2 +- MODULE.bazel | 17 +++-- docs/BUILD | 3 +- docs/defs_docs.bzl | 25 +++++++ maven_install.json | 65 ++----------------- ...java_export_exclusion_testing_install.json | 15 +++-- 7 files changed, 56 insertions(+), 74 deletions(-) create mode 100644 docs/defs_docs.bzl diff --git a/.bazelrc b/.bazelrc index 6db16c3b9..c8996f210 100644 --- a/.bazelrc +++ b/.bazelrc @@ -45,5 +45,8 @@ build:windows --legacy_external_runfiles build --sandbox_tmpfs_path=/tmp +common --incompatible_enable_proto_toolchain_resolution +common --@protobuf//bazel/toolchains:prefer_prebuilt_protoc=true + # Allows the examples to extend the default bazelrc try-import %workspace%/.bazelrc.example diff --git a/.bazelversion b/.bazelversion index 18bb4182d..512e4c889 100644 --- a/.bazelversion +++ b/.bazelversion @@ -1 +1 @@ -7.5.0 +9.x diff --git a/MODULE.bazel b/MODULE.bazel index b07a37453..e74878832 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -4,19 +4,19 @@ module( bazel_compatibility = [">=7.0.0"], ) -bazel_dep(name = "rules_android", version = "0.6.6") +bazel_dep(name = "rules_android", version = "0.7.1") bazel_dep(name = "bazel_features", version = "1.30.0") bazel_dep(name = "bazel_skylib", version = "1.7.1") bazel_dep(name = "package_metadata", version = "0.0.3") bazel_dep(name = "platforms", version = "0.0.11") bazel_dep(name = "rules_license", version = "1.0.0") bazel_dep(name = "rules_java", version = "8.13.0") -bazel_dep(name = "rules_kotlin", version = "2.1.3") -bazel_dep(name = "rules_pkg", version = "1.1.0") +bazel_dep(name = "rules_kotlin", version = "2.2.2") +bazel_dep(name = "rules_pkg", version = "1.2.0") bazel_dep(name = "rules_shell", version = "0.4.1") bazel_dep(name = "aspect_bazel_lib", version = "2.20.0", dev_dependency = True) -bazel_dep(name = "stardoc", version = "0.7.2", dev_dependency = True, repo_name = "io_bazel_stardoc") +bazel_dep(name = "stardoc", version = "0.8.0", dev_dependency = True, repo_name = "io_bazel_stardoc") # Remove this once rules_android has rolled out official Bzlmod support remote_android_extensions = use_extension("@bazel_tools//tools/android:android_extensions.bzl", "remote_android_tools_extensions") @@ -174,7 +174,7 @@ dev_maven = use_extension( dev_maven.install( artifacts = [ "com.google.guava:guava:33.5.0-jre", - "com.google.protobuf:protobuf-java:4.31.0", + "com.google.protobuf:protobuf-java:4.33.4", "org.hamcrest:hamcrest-core:2.1", "io.netty:netty-tcnative-boringssl-static:2.0.61.Final", ], @@ -185,6 +185,11 @@ dev_maven.install( lock_file = "@rules_jvm_external//:maven_install.json", resolver = "coursier", ) +dev_maven.override( + name = "protobuf_java_override", + coordinates = "com.google.protobuf:protobuf-java", + target = "@protobuf//java:core", +) dev_maven.install( name = "duplicate_version_warning", artifacts = [ @@ -304,7 +309,7 @@ dev_maven.install( dev_maven.install( name = "java_export_exclusion_testing", artifacts = [ - "com.google.protobuf:protobuf-java:4.31.1", + "com.google.protobuf:protobuf-java:4.33.4", ], lock_file = "//tests/custom_maven_install:java_export_exclusion_testing_install.json", ) diff --git a/docs/BUILD b/docs/BUILD index d03e0f1d4..0a6ae6e18 100644 --- a/docs/BUILD +++ b/docs/BUILD @@ -11,7 +11,7 @@ exports_files( stardoc( name = "defs", out = "defs.md", - input = "//:defs.bzl", + input = ":defs_docs.bzl", symbol_names = [ "javadoc", "java_export", @@ -24,6 +24,7 @@ stardoc( "@bazel_skylib//lib:structs", "@bazel_skylib//rules:run_binary", "@rules_java//java/private:proto_support", + "@rules_pkg//pkg:zip.bzl", ], ) diff --git a/docs/defs_docs.bzl b/docs/defs_docs.bzl new file mode 100644 index 000000000..6a65aef42 --- /dev/null +++ b/docs/defs_docs.bzl @@ -0,0 +1,25 @@ +# Copyright 2019 The Bazel Authors. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +"""Documentation-only re-exports to keep stardoc deps minimal.""" + +load("//private/rules:java_export.bzl", _java_export = "java_export") +load("//private/rules:javadoc.bzl", _javadoc = "javadoc") +load("//private/rules:maven_bom.bzl", _maven_bom = "maven_bom") +load("//private/rules:maven_install.bzl", _maven_install = "maven_install") + +javadoc = _javadoc +java_export = _java_export +maven_bom = _maven_bom +maven_install = _maven_install diff --git a/maven_install.json b/maven_install.json index 31717d8f7..437a5e4d9 100644 --- a/maven_install.json +++ b/maven_install.json @@ -1,25 +1,19 @@ { "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", "__INPUT_ARTIFACTS_HASH": { - "com.google.code.gson:gson": -1146526807, - "com.google.errorprone:error_prone_annotations": -571311395, "com.google.guava:guava": -1756621521, - "com.google.protobuf:protobuf-java": -154599721, - "com.google.protobuf:protobuf-java-util": -1033086717, + "com.google.protobuf:protobuf-java": 1906581597, "io.netty:netty-tcnative-boringssl-static": -1979050407, "org.hamcrest:hamcrest-core": 466791695, "repositories": -1949687017 }, "__RESOLVED_ARTIFACTS_HASH": { - "com.google.code.findbugs:jsr305": 870839855, - "com.google.code.gson:gson": 50257904, "com.google.errorprone:error_prone_annotations": 1527418394, "com.google.guava:failureaccess": 1715931538, "com.google.guava:guava": -1587873388, "com.google.guava:listenablefuture": 1079558157, "com.google.j2objc:j2objc-annotations": -1008747351, - "com.google.protobuf:protobuf-java": 657144169, - "com.google.protobuf:protobuf-java-util": 291568724, + "com.google.protobuf:protobuf-java": 1957269082, "io.netty:netty-tcnative-boringssl-static": 786460467, "io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64": -151974322, "io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64": -1831640381, @@ -31,22 +25,7 @@ "org.hamcrest:hamcrest-core": 511008887, "org.jspecify:jspecify": 117231129 }, - "conflict_resolution": { - "com.google.errorprone:error_prone_annotations:2.23.0": "com.google.errorprone:error_prone_annotations:2.41.0" - }, "artifacts": { - "com.google.code.findbugs:jsr305": { - "shasums": { - "jar": "766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7" - }, - "version": "3.0.2" - }, - "com.google.code.gson:gson": { - "shasums": { - "jar": "4241c14a7727c34feea6507ec801318a3d4a90f070e4525681079fb94ee4c593" - }, - "version": "2.10.1" - }, "com.google.errorprone:error_prone_annotations": { "shasums": { "jar": "a56e782b5b50811ac204073a355a21d915a2107fce13ec711331ad036f660fcc" @@ -79,15 +58,9 @@ }, "com.google.protobuf:protobuf-java": { "shasums": { - "jar": "68773dccd6cc5835af7a748759cecf5ea20ff083136e3847fbe94572b8e0ed6a" + "jar": "3ca892fd6ea8b37d01bb6917dbc0bf2637548b756753f65a28d4f1d4d982347f" }, - "version": "4.31.0" - }, - "com.google.protobuf:protobuf-java-util": { - "shasums": { - "jar": "a2665294d3e4675482bde593df8283f8c965f0207785e8e9b223f790644f5b08" - }, - "version": "4.27.2" + "version": "4.33.4" }, "io.netty:netty-tcnative-boringssl-static": { "shasums": { @@ -133,14 +106,6 @@ "com.google.j2objc:j2objc-annotations", "org.jspecify:jspecify" ], - "com.google.protobuf:protobuf-java-util": [ - "com.google.code.findbugs:jsr305", - "com.google.code.gson:gson", - "com.google.errorprone:error_prone_annotations", - "com.google.guava:guava", - "com.google.j2objc:j2objc-annotations", - "com.google.protobuf:protobuf-java" - ], "io.netty:netty-tcnative-boringssl-static": [ "io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64", "io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64", @@ -189,22 +154,6 @@ ] }, "packages": { - "com.google.code.findbugs:jsr305": [ - "javax.annotation", - "javax.annotation.concurrent", - "javax.annotation.meta" - ], - "com.google.code.gson:gson": [ - "com.google.gson", - "com.google.gson.annotations", - "com.google.gson.internal", - "com.google.gson.internal.bind", - "com.google.gson.internal.bind.util", - "com.google.gson.internal.reflect", - "com.google.gson.internal.sql", - "com.google.gson.reflect", - "com.google.gson.stream" - ], "com.google.errorprone:error_prone_annotations": [ "com.google.errorprone.annotations", "com.google.errorprone.annotations.concurrent" @@ -239,9 +188,6 @@ "com.google.protobuf", "com.google.protobuf.compiler" ], - "com.google.protobuf:protobuf-java-util": [ - "com.google.protobuf.util" - ], "io.netty:netty-tcnative-classes": [ "io.netty.internal.tcnative" ], @@ -267,15 +213,12 @@ }, "repositories": { "https://repo1.maven.org/maven2/": [ - "com.google.code.findbugs:jsr305", - "com.google.code.gson:gson", "com.google.errorprone:error_prone_annotations", "com.google.guava:failureaccess", "com.google.guava:guava", "com.google.guava:listenablefuture", "com.google.j2objc:j2objc-annotations", "com.google.protobuf:protobuf-java", - "com.google.protobuf:protobuf-java-util", "io.netty:netty-tcnative-boringssl-static", "io.netty:netty-tcnative-boringssl-static:jar:linux-aarch_64", "io.netty:netty-tcnative-boringssl-static:jar:linux-x86_64", diff --git a/tests/custom_maven_install/java_export_exclusion_testing_install.json b/tests/custom_maven_install/java_export_exclusion_testing_install.json index 34dbd85d6..b5aad1bb1 100644 --- a/tests/custom_maven_install/java_export_exclusion_testing_install.json +++ b/tests/custom_maven_install/java_export_exclusion_testing_install.json @@ -1,13 +1,18 @@ { "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", - "__INPUT_ARTIFACTS_HASH": -382709041, - "__RESOLVED_ARTIFACTS_HASH": -2016706042, + "__INPUT_ARTIFACTS_HASH": { + "com.google.protobuf:protobuf-java": 1906581597, + "repositories": -1949687017 + }, + "__RESOLVED_ARTIFACTS_HASH": { + "com.google.protobuf:protobuf-java": 1957269082 + }, "artifacts": { "com.google.protobuf:protobuf-java": { "shasums": { - "jar": "d60dfe7c68a0d38a248cca96924f289dc7e1966a887ee7cae397701af08575ae" + "jar": "3ca892fd6ea8b37d01bb6917dbc0bf2637548b756753f65a28d4f1d4d982347f" }, - "version": "4.31.1" + "version": "4.33.4" } }, "dependencies": {}, @@ -23,5 +28,5 @@ ] }, "services": {}, - "version": "2" + "version": "3" } From 59f6abb2616a88fe95ecada5ba9df3ea0ab75300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20G=C5=82uszak?= Date: Wed, 28 Jan 2026 01:12:56 +0100 Subject: [PATCH 4/4] Use examples as integration tests --- .bazelci/examples.yml | 221 -- .bazelci/presubmit.yml | 145 +- .bazelignore | 1 - .bazelrc | 5 + BUILD | 32 + MODULE.bazel | 19 + examples/BUILD | 58 + examples/android_kotlin_app/MODULE.bazel | 37 +- examples/android_kotlin_app/MODULE.bazel.lock | 2212 ++--------------- examples/android_local_test/MODULE.bazel | 37 +- examples/android_local_test/src/main/BUILD | 1 + examples/android_local_test/src/test/BUILD | 2 + examples/bzlmod/.bazelrc | 11 +- examples/bzlmod/maven_install.json | 201 +- examples/integration.bzl | 89 + examples/java-export/.bazelrc | 7 + examples/java-export/MODULE.bazel | 3 +- examples/java-export/maven_install.json | 117 +- .../rulesjvmexternal/example/export/BUILD | 1 + examples/java-export/src/main/proto/BUILD | 2 + examples/kt_android_local_test/MODULE.bazel | 36 +- examples/kt_jvm_export/MODULE.bazel | 5 +- examples/pom_file_generation/BUILD | 10 +- examples/pom_file_generation/MODULE.bazel | 22 + examples/pom_file_generation/pom_template.xml | 14 +- examples/protobuf-java/.bazelrc | 4 + examples/protobuf-java/MODULE.bazel | 6 +- examples/protobuf-java/MODULE.bazel.lock | 150 +- examples/protobuf-java/maven_install.json | 203 ++ examples/protobuf-java/src/main/BUILD | 2 + examples/scala_akka/.bazelrc | 2 + examples/scala_akka/MODULE.bazel | 50 + examples/scala_akka/maven_install.json | 276 +- examples/simple/BUILD | 2 +- examples/simple/MODULE.bazel | 30 + examples/spring_boot/.bazelrc | 2 + examples/spring_boot/MODULE.bazel | 34 + examples/spring_boot/maven_install.json | 279 ++- .../spring_boot/src/main/java/hello/BUILD | 3 + .../spring_boot/src/test/java/hello/BUILD | 2 + private/BUILD | 12 + private/extensions/BUILD | 6 + private/lib/BUILD | 6 + private/rules/BUILD | 6 + private/templates/BUILD | 6 + private/tools/BUILD | 9 + .../bazelbuild/rules_jvm_external/BUILD | 13 + .../rules_jvm_external/coursier/BUILD | 6 + .../bazelbuild/rules_jvm_external/jar/BUILD | 6 + .../rules_jvm_external/javadoc/BUILD | 6 + .../javadoc/JavadocJarMaker.java | 13 +- .../bazelbuild/rules_jvm_external/maven/BUILD | 6 + .../rules_jvm_external/resolver/BUILD | 15 + .../rules_jvm_external/resolver/cmd/BUILD | 6 + .../rules_jvm_external/resolver/events/BUILD | 6 + .../rules_jvm_external/resolver/gradle/BUILD | 10 + .../resolver/gradle/data/BUILD | 6 + .../resolver/gradle/models/BUILD | 6 + .../resolver/gradle/plugin/BUILD | 6 + .../resolver/lockfile/BUILD | 6 + .../rules_jvm_external/resolver/maven/BUILD | 6 + .../rules_jvm_external/resolver/netrc/BUILD | 6 + .../rules_jvm_external/resolver/remote/BUILD | 6 + .../rules_jvm_external/resolver/ui/BUILD | 6 + .../bazelbuild/rules_jvm_external/zip/BUILD | 6 + private/tools/prebuilt/BUILD | 6 + settings/BUILD | 6 + 67 files changed, 2004 insertions(+), 2527 deletions(-) delete mode 100644 .bazelci/examples.yml create mode 100644 examples/BUILD create mode 100644 examples/integration.bzl create mode 100644 examples/pom_file_generation/MODULE.bazel create mode 100755 examples/protobuf-java/maven_install.json create mode 100644 examples/scala_akka/.bazelrc create mode 100644 examples/scala_akka/MODULE.bazel create mode 100644 examples/simple/MODULE.bazel create mode 100644 examples/spring_boot/.bazelrc create mode 100644 examples/spring_boot/MODULE.bazel diff --git a/.bazelci/examples.yml b/.bazelci/examples.yml deleted file mode 100644 index 1a7e49280..000000000 --- a/.bazelci/examples.yml +++ /dev/null @@ -1,221 +0,0 @@ ---- -tasks: - android-kotlin-linux: - name: "Android Kotlin example" - platform: ubuntu2204 - working_directory: examples/android_kotlin_app - build_targets: - - "//:app" - android-kotlin-macos: - name: "Android Kotlin example" - platform: macos_arm64 - working_directory: examples/android_kotlin_app - build_targets: - - "//:app" - android-kotlin-windows: - name: "Android Kotlin example" - platform: windows - working_directory: examples/android_kotlin_app - build_targets: - - "//:app" - android-local-test-linux: - name: "Android Robolectric test example" - platform: ubuntu2204 - working_directory: examples/android_local_test - test_targets: - - "//..." - android-local-test-macos: - name: "Android Robolectric test example" - platform: macos_arm64 - working_directory: examples/android_local_test - test_targets: - - "//..." - android-local-test-windows: - name: "Android Robolectric test example" - platform: windows - working_directory: examples/android_local_test - build_targets: - - "//..." - bzlmod-linux: - name: "bzlmod example" - platform: ubuntu2204 - working_directory: examples/bzlmod - build_targets: - - "//..." - bzlmod-macos: - name: "bzlmod example" - platform: macos_arm64 - working_directory: examples/bzlmod - build_targets: - - "//..." - bzlmod-windows: - name: "bzlmod example" - platform: windows - working_directory: examples/bzlmod - build_targets: - - "//..." - java-export-linux: - name: "java-export example" - platform: ubuntu2204 - working_directory: examples/java-export - build_targets: - - "//..." - java-export-macos: - name: "java-export example" - platform: macos_arm64 - working_directory: examples/java-export - build_targets: - - "//..." - java-export-windows: - name: "java-export example" - platform: windows - working_directory: examples/java-export - build_targets: - - "//..." - kotlin-android-local-test-linux: - name: "Kotlin Android Robolectric test example" - platform: ubuntu2204 - working_directory: examples/kt_android_local_test - test_targets: - - "//..." - # kotlin-android-local-test-macos: - # name: "Kotlin Android Robolectric test example" - # platform: macos - # working_directory: examples/kt_android_local_test - # test_targets: - # - "//..." - kotlin-android-local-test-windows: - name: "Kotlin Android Robolectric test example" - platform: windows - working_directory: examples/kt_android_local_test - build_targets: - - "//..." - kotlin-jvm-export-linux: - name: "kt_jvm_export example" - platform: ubuntu2204 - working_directory: examples/kt_jvm_export - build_targets: - - "//..." - kotlin-jvm-export-macos: - name: "kt_jvm_export example" - platform: macos_arm64 - working_directory: examples/kt_jvm_export - build_targets: - - "//..." - # Ignored because none of the rje team have access to a Windows - # machine to properly investigate the issue - # kotlin-jvm-export-windows: - # name: "kt_jvm_export example" - # platform: windows - # working_directory: examples/kt_jvm_export - # build_targets: - # - "//..." - pom-file-generation-linux: - name: "POM file generation example" - platform: ubuntu2204 - working_directory: examples/pom_file_generation - build_targets: - - "//..." - pom-file-generation-macos: - name: "POM file generation example" - platform: macos_arm64 - working_directory: examples/pom_file_generation - build_targets: - - "//..." - pom-file-generation-windows: - name: "POM file generation example" - platform: windows - working_directory: examples/pom_file_generation - build_targets: - - "//..." - protobuf-java-linux: - name: "Protobuf Java example" - platform: ubuntu2204 - working_directory: examples/protobuf-java - test_targets: - - "//..." - protobuf-java-macos: - name: "Protobuf Java example" - platform: macos_arm64 - working_directory: examples/protobuf-java - test_targets: - - "//..." - protobuf-java-windows: - name: "Protobuf Java example" - platform: windows - working_directory: examples/protobuf-java - # //src/test:diff_json_test / diff_test does not ignore line endings - # correctly on Windows. - build_targets: - - "//..." - scala-akka-linux: - name: "Scala example" - platform: ubuntu2204 - working_directory: examples/scala_akka - build_targets: - - "//..." - test_targets: - - "//..." - scala-akka-macos: - name: "Scala example" - platform: macos_arm64 - working_directory: examples/scala_akka - build_targets: - - "//..." - test_targets: - - "//..." - scala-akka-windows: - name: "Scala example" - platform: windows - working_directory: examples/scala_akka - build_targets: - - "//..." - # test_targets: - # https://github.com/bazelbuild/rules_jvm_external/issues/103 - # - "//..." - simple-linux: - name: "Simple example" - platform: ubuntu2204 - working_directory: examples/simple - shell_command: - - "bazel run @maven//:pin" - build_targets: - - "//..." - simple-macos: - name: "Simple example" - platform: macos_arm64 - working_directory: examples/simple - shell_command: - - "bazel run @maven//:pin" - build_targets: - - "//..." - simple-windows: - name: "Simple example" - platform: windows - working_directory: examples/simple - build_targets: - - "//..." - spring-boot-linux: - name: "Spring boot example" - platform: ubuntu2204 - working_directory: examples/spring_boot - build_targets: - - "//..." - test_targets: - - "//..." - spring-boot-macos: - name: "Spring boot example" - platform: macos_arm64 - working_directory: examples/spring_boot - build_targets: - - "//..." - test_targets: - - "//..." - spring-boot-windows: - name: "Spring boot example" - platform: windows - working_directory: examples/spring_boot - build_targets: - - "//..." - test_targets: - - "//..." diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 114a9446e..d4bfb7f48 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -1,91 +1,74 @@ --- +# Common platform configurations +.ubuntu2204: &ubuntu2204 + platform: ubuntu2204 + +.macos_arm64: &macos_arm64 + platform: macos_arm64 + +.windows: &windows + platform: windows + +# Common environment +.common_env: &common_env + environment: + # This tests custom cache locations. + # https://github.com/bazelbuild/rules_jvm_external/pull/316 + COURSIER_CACHE: /tmp/custom_coursier_cache + REPIN: 1 + +# Common task configurations +.main_test: &main_test + <<: *common_env + bazel: ${{ bazel_version }} + shell_commands: + - bazel run @regression_testing_coursier//:pin + - bazel run @regression_testing_gradle//:pin + - bazel run @regression_testing_maven//:pin + - bazel run @maven_install_in_custom_location//:pin + - bazel run @same_override_target//:pin + - tests/bazel_run_tests.sh + test_targets: + - "--" + - "//..." + +.examples_test: &examples_test + test_flags: ${{ shard_flags }} + test_targets: + - "//examples/..." + +# Matrix for test expansion +matrix: + bazel_version: + - latest + - 8.x + - 9.x + shard_flags: + - ["--test_tag_filters=shard_0"] + - ["--test_tag_filters=shard_1"] + - ["--test_tag_filters=shard_2"] + tasks: - ubuntu2204: - environment: - # This tests custom cache locations. - # https://github.com/bazelbuild/rules_jvm_external/pull/316 - COURSIER_CACHE: /tmp/custom_coursier_cache - REPIN: 1 - build_targets: - - "//..." - shell_commands: - - bazel run @regression_testing_coursier//:pin - - bazel run @regression_testing_gradle//:pin - - bazel run @regression_testing_maven//:pin - - bazel run @maven_install_in_custom_location//:pin - - bazel run @same_override_target//:pin - - tests/bazel_run_tests.sh - test_targets: - - "--" - - "//..." - ubuntu2204_7_x: - platform: ubuntu2204 - bazel: 7.x - environment: - REPIN: 1 - shell_commands: - - bazel run @regression_testing_coursier//:pin - - bazel run @regression_testing_gradle//:pin - - bazel run @regression_testing_maven//:pin - - bazel run @maven_install_in_custom_location//:pin - - bazel run @same_override_target//:pin - - tests/bazel_run_tests.sh - test_targets: - - "--" - - "//..." - ubuntu2204_8_x: - platform: ubuntu2204 - bazel: 8.x - environment: - # This tests custom cache locations. - # https://github.com/bazelbuild/rules_jvm_external/pull/316 - COURSIER_CACHE: /tmp/custom_coursier_cache - REPIN: 1 - shell_commands: - - bazel run @regression_testing_coursier//:pin - - bazel run @regression_testing_gradle//:pin - - bazel run @regression_testing_maven//:pin - - bazel run @maven_install_in_custom_location//:pin - - bazel run @same_override_target//:pin - - tests/bazel_run_tests.sh - test_targets: - - "--" - - "//..." - macos_arm64: - environment: - # This tests custom cache locations. - # https://github.com/bazelbuild/rules_jvm_external/pull/316 - COURSIER_CACHE: /tmp/custom_coursier_cache - REPIN: 1 - shell_commands: - - bazel run @regression_testing_coursier//:pin - - bazel run @regression_testing_gradle//:pin - - bazel run @regression_testing_maven//:pin - - bazel run @maven_install_in_custom_location//:pin - - bazel run @same_override_target//:pin - - tests/bazel_run_tests.sh - test_targets: - - "//..." - # manual tests - windows: - environment: - # This tests custom cache locations. - # https://github.com/bazelbuild/rules_jvm_external/pull/316 - COURSIER_CACHE: /tmp/custom_coursier_cache - REPIN: 1 - shell_commands: - - bazel run @regression_testing_coursier//:pin - - bazel run @regression_testing_gradle//:pin - - bazel run @regression_testing_maven//:pin - - bazel run @maven_install_in_custom_location//:pin - - bazel run @same_override_target//:pin - - tests/bazel_run_tests.sh + # Main tests (3 platforms × 3 bazel versions = 9 tasks) + ubuntu2204_main: + <<: [*ubuntu2204, *main_test] + macos_arm64_main: + <<: [*macos_arm64, *main_test] + windows_main: + <<: [*windows, *main_test] test_targets: - "--" - "//..." # rules_kotlin is not tested / does not work on Windows. # https://github.com/bazelbuild/rules_kotlin/issues/179 - # https://github.com/bazelbuild/rules_kotlin/blob/master/.bazelci/presubmit.yml - "-//tests/unit/kotlin/..." # https://github.com/bazelbuild/rules_jvm_external/issues/586 - "-//tests/unit/manifest_stamp:diff_signed_manifest_test" + + # Example integration tests (3 platforms × 3 shards = 9 tasks) + ubuntu2204_examples: + <<: [*ubuntu2204, *examples_test] + macos_arm64_examples: + <<: [*macos_arm64, *examples_test] + windows_examples: + <<: [*windows, *examples_test] diff --git a/.bazelignore b/.bazelignore index bfea92ea2..2767ef558 100644 --- a/.bazelignore +++ b/.bazelignore @@ -1,3 +1,2 @@ -examples/ scripts/node_modules/ third_party/bazel_json/test diff --git a/.bazelrc b/.bazelrc index c8996f210..e773d5b29 100644 --- a/.bazelrc +++ b/.bazelrc @@ -48,5 +48,10 @@ build --sandbox_tmpfs_path=/tmp common --incompatible_enable_proto_toolchain_resolution common --@protobuf//bazel/toolchains:prefer_prebuilt_protoc=true +# Exclude example workspaces from main build (they have their own MODULE.bazel) +# Run `bazel run @rules_bazel_integration_test//tools:update_deleted_packages` to update +build --deleted_packages=examples/android_kotlin_app,examples/android_kotlin_app/src,examples/android_local_test,examples/android_local_test/src/main,examples/android_local_test/src/test,examples/bzlmod,examples/bzlmod/java/src/com/github/rules_jvm_external/examples/bzlmod,examples/java-export,examples/java-export/src/main/java/com/github/bazelbuild/rulesjvmexternal/example/export,examples/java-export/src/main/java/com/github/bazelbuild/rulesjvmexternal/example/io,examples/java-export/src/main/proto,examples/kt_android_local_test,examples/kt_android_local_test/src/main,examples/kt_android_local_test/src/test,examples/kt_jvm_export,examples/kt_jvm_export/src/main/kotlin/com/github/bazelbuild/rulesjvmexternal/example/export,examples/pom_file_generation,examples/protobuf-java/src/main,examples/protobuf-java/src/test,examples/scala_akka,examples/simple,examples/spring_boot,examples/spring_boot/src/main/java/hello,examples/spring_boot/src/test/java/hello,tests/integration/bzlmod_lock_files,tests/integration/override_targets/module +query --deleted_packages=examples/android_kotlin_app,examples/android_kotlin_app/src,examples/android_local_test,examples/android_local_test/src/main,examples/android_local_test/src/test,examples/bzlmod,examples/bzlmod/java/src/com/github/rules_jvm_external/examples/bzlmod,examples/java-export,examples/java-export/src/main/java/com/github/bazelbuild/rulesjvmexternal/example/export,examples/java-export/src/main/java/com/github/bazelbuild/rulesjvmexternal/example/io,examples/java-export/src/main/proto,examples/kt_android_local_test,examples/kt_android_local_test/src/main,examples/kt_android_local_test/src/test,examples/kt_jvm_export,examples/kt_jvm_export/src/main/kotlin/com/github/bazelbuild/rulesjvmexternal/example/export,examples/pom_file_generation,examples/protobuf-java/src/main,examples/protobuf-java/src/test,examples/scala_akka,examples/simple,examples/spring_boot,examples/spring_boot/src/main/java/hello,examples/spring_boot/src/test/java/hello,tests/integration/bzlmod_lock_files,tests/integration/override_targets/module + # Allows the examples to extend the default bazelrc try-import %workspace%/.bazelrc.example diff --git a/BUILD b/BUILD index e6492367a..17122503d 100644 --- a/BUILD +++ b/BUILD @@ -9,6 +9,38 @@ exports_files([ "maven_install.json", ]) +# Filegroup for integration tests - includes all files needed when examples +# use local_path_override(path = "../../") to reference this repository +filegroup( + name = "local_repository_files", + srcs = glob( + [ + # Core module files + "BUILD", + "MODULE.bazel", + "MODULE.bazel.lock", + "REPO.bazel", + "WORKSPACE", + "WORKSPACE.bzlmod", + # Configuration + ".bazelrc", + ".bazelversion", + ".bazelignore", + # Bzl extension files + "*.bzl", + "*.BUILD.bazel", + # Lock files + "*.json", + ], + allow_empty = True, + ) + [ + # Source directories needed by rules_jvm_external (recursive filegroups) + "//private:all_files", + "//settings:all_files", + ], + visibility = ["//examples:__pkg__"], +) + licenses(["notice"]) # Apache 2.0 package_metadata( diff --git a/MODULE.bazel b/MODULE.bazel index e74878832..bb09779eb 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -1145,3 +1145,22 @@ http_file( "https://repo1.maven.org/maven2/org/projectlombok/lombok/1.18.22/lombok-1.18.22.jar", ], ) + +############# Integration testing (examples) + +bazel_dep(name = "rules_bazel_integration_test", version = "0.36.0", dev_dependency = True) + +bazel_binaries = use_extension( + "@rules_bazel_integration_test//:extensions.bzl", + "bazel_binaries", + dev_dependency = True, +) +bazel_binaries.download(version = "8.x") +bazel_binaries.download(version = "9.x") +use_repo( + bazel_binaries, + "bazel_binaries", + "bazel_binaries_bazelisk", + "build_bazel_bazel_8_x", + "build_bazel_bazel_9_x", +) diff --git a/examples/BUILD b/examples/BUILD new file mode 100644 index 000000000..e74cbd15e --- /dev/null +++ b/examples/BUILD @@ -0,0 +1,58 @@ +load(":integration.bzl", "derive_example_metadata", "example_integration_test_suite") + +# Number of shards for parallel CI execution +SHARD_COUNT = 3 + +# Generate integration tests for all examples +[ + example_integration_test_suite( + name = example, + metadata = metadata, + tags = ["shard_%s" % (idx % SHARD_COUNT)], + ) + for ( + idx, + (example, metadata), + ) in enumerate({ + example: derive_example_metadata( + directory = example, + ) + for example in { + # Extract directory names from files, de-duplicate via dict + file.partition("/")[0]: True + for file in glob( + ["**/*"], + # Exclude files directly in examples/ and specific problematic examples + exclude = [ + "*", # Exclude files directly in examples/ + ], + ) + } + }.items()) +] + +# Test suites for running all examples +test_suite( + name = "all_examples", + tags = ["examples", "-manual"], +) + +# Per-version test suites +test_suite( + name = "all_examples_8_x", + tags = ["examples", "8.x", "-manual"], +) + +test_suite( + name = "all_examples_9_x", + tags = ["examples", ".bazelversion", "-manual"], +) + +# Shard-based test suites for CI +[ + test_suite( + name = "shard_%s" % shard, + tags = ["shard_%s" % shard, "-manual"], + ) + for shard in range(SHARD_COUNT) +] diff --git a/examples/android_kotlin_app/MODULE.bazel b/examples/android_kotlin_app/MODULE.bazel index aee22b7c8..f86491add 100644 --- a/examples/android_kotlin_app/MODULE.bazel +++ b/examples/android_kotlin_app/MODULE.bazel @@ -1,8 +1,29 @@ -############################################################################### -# Bazel now uses Bzlmod by default to manage external dependencies. -# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. -# -# For more details, please check https://github.com/bazelbuild/bazel/issues/18958 -############################################################################### - -bazel_dep(name = "rules_kotlin", version = "1.9.0") +module(name = "rules_jvm_external_example_android_kotlin_app") + +bazel_dep(name = "rules_android", version = "0.7.1") +bazel_dep(name = "rules_jvm_external", version = "ignored") +bazel_dep(name = "rules_kotlin", version = "2.2.2") + +local_path_override( + module_name = "rules_jvm_external", + path = "../../", +) + +# Android SDK setup for bzlmod +android_sdk_repository_extension = use_extension("@rules_android//rules/android_sdk_repository:rule.bzl", "android_sdk_repository_extension") +use_repo(android_sdk_repository_extension, "androidsdk") + +register_toolchains("@androidsdk//:sdk-toolchain", "@androidsdk//:all") + +maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") +maven.install( + artifacts = [ + "androidx.appcompat:appcompat:1.0.2", + "androidx.core:core-ktx:1.0.1", + ], + repositories = [ + "https://maven.google.com", + "https://repo1.maven.org/maven2", + ], +) +use_repo(maven, "maven") diff --git a/examples/android_kotlin_app/MODULE.bazel.lock b/examples/android_kotlin_app/MODULE.bazel.lock index 66b3a3cb7..10927e807 100644 --- a/examples/android_kotlin_app/MODULE.bazel.lock +++ b/examples/android_kotlin_app/MODULE.bazel.lock @@ -1,1988 +1,230 @@ { - "lockFileVersion": 3, - "moduleFileHash": "b0d4f1792d060fef980323033d2de65a95380e8685db78ff1bdd41ea5856ee1f", - "flags": { - "cmdRegistries": [ - "https://bcr.bazel.build/" - ], - "cmdModuleOverrides": {}, - "allowedYankedVersions": [], - "envVarAllowedYankedVersions": "", - "ignoreDevDependency": false, - "directDependenciesMode": "WARNING", - "compatibilityMode": "ERROR" + "lockFileVersion": 13, + "registryFileHashes": { + "https://bcr.bazel.build/bazel_registry.json": "8a28e4aff06ee60aed2a8c281907fb8bcbf3b753c91fb5a5c57da3215d5b3497", + "https://bcr.bazel.build/modules/abseil-cpp/20210324.2/MODULE.bazel": "7cd0312e064fde87c8d1cd79ba06c876bd23630c83466e9500321be55c96ace2", + "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/MODULE.bazel": "70390338f7a5106231d20620712f7cccb659cd0e9d073d1991c038eb9fc57589", + "https://bcr.bazel.build/modules/abseil-cpp/20230125.1/MODULE.bazel": "89047429cb0207707b2dface14ba7f8df85273d484c2572755be4bab7ce9c3a0", + "https://bcr.bazel.build/modules/abseil-cpp/20230802.0.bcr.1/MODULE.bazel": "1c8cec495288dccd14fdae6e3f95f772c1c91857047a098fad772034264cc8cb", + "https://bcr.bazel.build/modules/abseil-cpp/20230802.0/MODULE.bazel": "d253ae36a8bd9ee3c5955384096ccb6baf16a1b1e93e858370da0a3b94f77c16", + "https://bcr.bazel.build/modules/abseil-cpp/20230802.1/MODULE.bazel": "fa92e2eb41a04df73cdabeec37107316f7e5272650f81d6cc096418fe647b915", + "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/MODULE.bazel": "37bcdb4440fbb61df6a1c296ae01b327f19e9bb521f9b8e26ec854b6f97309ed", + "https://bcr.bazel.build/modules/abseil-cpp/20240116.2/MODULE.bazel": "73939767a4686cd9a520d16af5ab440071ed75cec1a876bf2fcfaf1f71987a16", + "https://bcr.bazel.build/modules/abseil-cpp/20250127.0/MODULE.bazel": "d1086e248cda6576862b4b3fe9ad76a214e08c189af5b42557a6e1888812c5d5", + "https://bcr.bazel.build/modules/abseil-cpp/20250127.1/MODULE.bazel": "c4a89e7ceb9bf1e25cf84a9f830ff6b817b72874088bf5141b314726e46a57c1", + "https://bcr.bazel.build/modules/abseil-cpp/20250512.1/MODULE.bazel": "d209fdb6f36ffaf61c509fcc81b19e81b411a999a934a032e10cd009a0226215", + "https://bcr.bazel.build/modules/abseil-cpp/20250814.1/MODULE.bazel": "51f2312901470cdab0dbdf3b88c40cd21c62a7ed58a3de45b365ddc5b11bcab2", + "https://bcr.bazel.build/modules/abseil-cpp/20250814.1/source.json": "cea3901d7e299da7320700abbaafe57a65d039f10d0d7ea601c4a66938ea4b0c", + "https://bcr.bazel.build/modules/abseil-py/2.1.0/MODULE.bazel": "5ebe5bf853769c65707e5c28f216798f7a4b1042015e6a36e6d03094d94bec8a", + "https://bcr.bazel.build/modules/abseil-py/2.1.0/source.json": "0e8fc4f088ce07099c1cd6594c20c7ddbb48b4b3c0849b7d94ba94be88ff042b", + "https://bcr.bazel.build/modules/apple_support/1.11.1/MODULE.bazel": "1843d7cd8a58369a444fc6000e7304425fba600ff641592161d9f15b179fb896", + "https://bcr.bazel.build/modules/apple_support/1.15.1/MODULE.bazel": "a0556fefca0b1bb2de8567b8827518f94db6a6e7e7d632b4c48dc5f865bc7c85", + "https://bcr.bazel.build/modules/apple_support/1.15.1/source.json": "517f2b77430084c541bc9be2db63fdcbb7102938c5f64c17ee60ffda2e5cf07b", + "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel": "50341a62efbc483e8a2a6aec30994a58749bd7b885e18dd96aa8c33031e558ef", + "https://bcr.bazel.build/modules/bazel_features/1.1.0/MODULE.bazel": "cfd42ff3b815a5f39554d97182657f8c4b9719568eb7fded2b9135f084bf760b", + "https://bcr.bazel.build/modules/bazel_features/1.1.1/MODULE.bazel": "27b8c79ef57efe08efccbd9dd6ef70d61b4798320b8d3c134fd571f78963dbcd", + "https://bcr.bazel.build/modules/bazel_features/1.11.0/MODULE.bazel": "f9382337dd5a474c3b7d334c2f83e50b6eaedc284253334cf823044a26de03e8", + "https://bcr.bazel.build/modules/bazel_features/1.17.0/MODULE.bazel": "039de32d21b816b47bd42c778e0454217e9c9caac4a3cf8e15c7231ee3ddee4d", + "https://bcr.bazel.build/modules/bazel_features/1.18.0/MODULE.bazel": "1be0ae2557ab3a72a57aeb31b29be347bcdc5d2b1eb1e70f39e3851a7e97041a", + "https://bcr.bazel.build/modules/bazel_features/1.19.0/MODULE.bazel": "59adcdf28230d220f0067b1f435b8537dd033bfff8db21335ef9217919c7fb58", + "https://bcr.bazel.build/modules/bazel_features/1.21.0/MODULE.bazel": "675642261665d8eea09989aa3b8afb5c37627f1be178382c320d1b46afba5e3b", + "https://bcr.bazel.build/modules/bazel_features/1.23.0/MODULE.bazel": "fd1ac84bc4e97a5a0816b7fd7d4d4f6d837b0047cf4cbd81652d616af3a6591a", + "https://bcr.bazel.build/modules/bazel_features/1.25.0/MODULE.bazel": "e2e60a10a6da64bbf533f15ca652bf61a033e41c2ed734d79a9a08ba87f68c1a", + "https://bcr.bazel.build/modules/bazel_features/1.28.0/MODULE.bazel": "4b4200e6cbf8fa335b2c3f43e1d6ef3e240319c33d43d60cc0fbd4b87ece299d", + "https://bcr.bazel.build/modules/bazel_features/1.3.0/MODULE.bazel": "cdcafe83ec318cda34e02948e81d790aab8df7a929cec6f6969f13a489ccecd9", + "https://bcr.bazel.build/modules/bazel_features/1.30.0/MODULE.bazel": "a14b62d05969a293b80257e72e597c2da7f717e1e69fa8b339703ed6731bec87", + "https://bcr.bazel.build/modules/bazel_features/1.33.0/MODULE.bazel": "8b8dc9d2a4c88609409c3191165bccec0e4cb044cd7a72ccbe826583303459f6", + "https://bcr.bazel.build/modules/bazel_features/1.33.0/source.json": "13617db3930328c2cd2807a0f13d52ca870ac05f96db9668655113265147b2a6", + "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", + "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", + "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", + "https://bcr.bazel.build/modules/bazel_skylib/1.1.1/MODULE.bazel": "1add3e7d93ff2e6998f9e118022c84d163917d912f5afafb3058e3d2f1545b5e", + "https://bcr.bazel.build/modules/bazel_skylib/1.2.0/MODULE.bazel": "44fe84260e454ed94ad326352a698422dbe372b21a1ac9f3eab76eb531223686", + "https://bcr.bazel.build/modules/bazel_skylib/1.3.0/MODULE.bazel": "20228b92868bf5cfc41bda7afc8a8ba2a543201851de39d990ec957b513579c5", + "https://bcr.bazel.build/modules/bazel_skylib/1.4.1/MODULE.bazel": "a0dcb779424be33100dcae821e9e27e4f2901d9dfd5333efe5ac6a8d7ab75e1d", + "https://bcr.bazel.build/modules/bazel_skylib/1.4.2/MODULE.bazel": "3bd40978e7a1fac911d5989e6b09d8f64921865a45822d8b09e815eaa726a651", + "https://bcr.bazel.build/modules/bazel_skylib/1.5.0/MODULE.bazel": "32880f5e2945ce6a03d1fbd588e9198c0a959bb42297b2cfaf1685b7bc32e138", + "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.0/MODULE.bazel": "0db596f4563de7938de764cc8deeabec291f55e8ec15299718b93c4423e9796d", + "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", + "https://bcr.bazel.build/modules/bazel_skylib/1.8.1/MODULE.bazel": "88ade7293becda963e0e3ea33e7d54d3425127e0a326e0d17da085a5f1f03ff6", + "https://bcr.bazel.build/modules/bazel_skylib/1.8.1/source.json": "7ebaefba0b03efe59cac88ed5bbc67bcf59a3eff33af937345ede2a38b2d368a", + "https://bcr.bazel.build/modules/bazel_worker_api/0.0.1/MODULE.bazel": "02a13b77321773b2042e70ee5e4c5e099c8ddee4cf2da9cd420442c36938d4bd", + "https://bcr.bazel.build/modules/bazel_worker_api/0.0.4/MODULE.bazel": "460aa12d01231a80cce03c548287b433b321d205b0028ae596728c35e5ee442e", + "https://bcr.bazel.build/modules/bazel_worker_api/0.0.8/MODULE.bazel": "396c1ef53835aafe3d42ce6619080531ee770648303731f16cfaa33fa056bf0c", + "https://bcr.bazel.build/modules/bazel_worker_api/0.0.8/source.json": "abaf8ac9d2ab2f47bda9af4c0c080ff7907378888e1f4bc62a0539dd13ba61e8", + "https://bcr.bazel.build/modules/bazel_worker_java/0.0.4/MODULE.bazel": "82494a01018bb7ef06d4a17ec4cd7a758721f10eb8b6c820a818e70d669500db", + "https://bcr.bazel.build/modules/bazel_worker_java/0.0.8/MODULE.bazel": "e76479eae70bd4e8f5f4c2dfc5d03ab971cfb18750246c7b3f3454c5c2ee6629", + "https://bcr.bazel.build/modules/bazel_worker_java/0.0.8/source.json": "9395c4679444bc47bf7e51a710366a4480aa371c6f6bed01868e2fabcf11acec", + "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", + "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", + "https://bcr.bazel.build/modules/gazelle/0.32.0/MODULE.bazel": "b499f58a5d0d3537f3cf5b76d8ada18242f64ec474d8391247438bf04f58c7b8", + "https://bcr.bazel.build/modules/gazelle/0.33.0/MODULE.bazel": "a13a0f279b462b784fb8dd52a4074526c4a2afe70e114c7d09066097a46b3350", + "https://bcr.bazel.build/modules/gazelle/0.34.0/MODULE.bazel": "abdd8ce4d70978933209db92e436deb3a8b737859e9354fb5fd11fb5c2004c8a", + "https://bcr.bazel.build/modules/gazelle/0.36.0/MODULE.bazel": "e375d5d6e9a6ca59b0cb38b0540bc9a05b6aa926d322f2de268ad267a2ee74c0", + "https://bcr.bazel.build/modules/gazelle/0.40.0/MODULE.bazel": "42ba5378ebe845fca43989a53186ab436d956db498acde790685fe0e8f9c6146", + "https://bcr.bazel.build/modules/gazelle/0.47.0/MODULE.bazel": "b61bb007c4efad134aa30ee7f4a8e2a39b22aa5685f005edaa022fbd1de43ebc", + "https://bcr.bazel.build/modules/gazelle/0.47.0/source.json": "aeb2e5df14b7fb298625d75d08b9c65bdb0b56014c5eb89da9e5dd0572280ae6", + "https://bcr.bazel.build/modules/google_benchmark/1.8.2/MODULE.bazel": "a70cf1bba851000ba93b58ae2f6d76490a9feb74192e57ab8e8ff13c34ec50cb", + "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", + "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "22c31a561553727960057361aa33bf20fb2e98584bc4fec007906e27053f80c6", + "https://bcr.bazel.build/modules/googletest/1.14.0/MODULE.bazel": "cfbcbf3e6eac06ef9d85900f64424708cc08687d1b527f0ef65aa7517af8118f", + "https://bcr.bazel.build/modules/googletest/1.15.2/MODULE.bazel": "6de1edc1d26cafb0ea1a6ab3f4d4192d91a312fd2d360b63adaa213cd00b2108", + "https://bcr.bazel.build/modules/googletest/1.17.0/MODULE.bazel": "dbec758171594a705933a29fcf69293d2468c49ec1f2ebca65c36f504d72df46", + "https://bcr.bazel.build/modules/googletest/1.17.0/source.json": "38e4454b25fc30f15439c0378e57909ab1fd0a443158aa35aec685da727cd713", + "https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075", + "https://bcr.bazel.build/modules/jsoncpp/1.9.6/MODULE.bazel": "2f8d20d3b7d54143213c4dfc3d98225c42de7d666011528dc8fe91591e2e17b0", + "https://bcr.bazel.build/modules/jsoncpp/1.9.6/source.json": "a04756d367a2126c3541682864ecec52f92cdee80a35735a3cb249ce015ca000", + "https://bcr.bazel.build/modules/libpfm/4.11.0/MODULE.bazel": "45061ff025b301940f1e30d2c16bea596c25b176c8b6b3087e92615adbd52902", + "https://bcr.bazel.build/modules/nlohmann_json/3.6.1/MODULE.bazel": "6f7b417dcc794d9add9e556673ad25cb3ba835224290f4f848f8e2db1e1fca74", + "https://bcr.bazel.build/modules/nlohmann_json/3.6.1/source.json": "f448c6e8963fdfa7eb831457df83ad63d3d6355018f6574fb017e8169deb43a9", + "https://bcr.bazel.build/modules/package_metadata/0.0.3/MODULE.bazel": "77890552ecea9e284b5424c9de827a58099348763a4359e975c359a83d4faa83", + "https://bcr.bazel.build/modules/package_metadata/0.0.5/MODULE.bazel": "ef4f9439e3270fdd6b9fd4dbc3d2f29d13888e44c529a1b243f7a31dfbc2e8e4", + "https://bcr.bazel.build/modules/package_metadata/0.0.5/source.json": "2326db2f6592578177751c3e1f74786b79382cd6008834c9d01ec865b9126a85", + "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", + "https://bcr.bazel.build/modules/platforms/0.0.11/MODULE.bazel": "0daefc49732e227caa8bfa834d65dc52e8cc18a2faf80df25e8caea151a9413f", + "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", + "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", + "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", + "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", + "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", + "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", + "https://bcr.bazel.build/modules/platforms/1.0.0/MODULE.bazel": "f05feb42b48f1b3c225e4ccf351f367be0371411a803198ec34a389fb22aa580", + "https://bcr.bazel.build/modules/platforms/1.0.0/source.json": "f4ff1fd412e0246fd38c82328eb209130ead81d62dcd5a9e40910f867f733d96", + "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", + "https://bcr.bazel.build/modules/protobuf/23.1/MODULE.bazel": "88b393b3eb4101d18129e5db51847cd40a5517a53e81216144a8c32dfeeca52a", + "https://bcr.bazel.build/modules/protobuf/24.4/MODULE.bazel": "7bc7ce5f2abf36b3b7b7c8218d3acdebb9426aeb35c2257c96445756f970eb12", + "https://bcr.bazel.build/modules/protobuf/27.0/MODULE.bazel": "7873b60be88844a0a1d8f80b9d5d20cfbd8495a689b8763e76c6372998d3f64c", + "https://bcr.bazel.build/modules/protobuf/27.1/MODULE.bazel": "703a7b614728bb06647f965264967a8ef1c39e09e8f167b3ca0bb1fd80449c0d", + "https://bcr.bazel.build/modules/protobuf/27.2/MODULE.bazel": "32450b50673882e4c8c3d10a83f3bc82161b213ed2f80d17e38bece8f165c295", + "https://bcr.bazel.build/modules/protobuf/29.0-rc2.bcr.1/MODULE.bazel": "52f4126f63a2f0bbf36b99c2a87648f08467a4eaf92ba726bc7d6a500bbf770c", + "https://bcr.bazel.build/modules/protobuf/29.0-rc2/MODULE.bazel": "6241d35983510143049943fc0d57937937122baf1b287862f9dc8590fc4c37df", + "https://bcr.bazel.build/modules/protobuf/29.0-rc3/MODULE.bazel": "33c2dfa286578573afc55a7acaea3cada4122b9631007c594bf0729f41c8de92", + "https://bcr.bazel.build/modules/protobuf/29.0/MODULE.bazel": "319dc8bf4c679ff87e71b1ccfb5a6e90a6dbc4693501d471f48662ac46d04e4e", + "https://bcr.bazel.build/modules/protobuf/29.1/MODULE.bazel": "557c3457560ff49e122ed76c0bc3397a64af9574691cb8201b4e46d4ab2ecb95", + "https://bcr.bazel.build/modules/protobuf/29.3/MODULE.bazel": "77480eea5fb5541903e49683f24dc3e09f4a79e0eea247414887bb9fc0066e94", + "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", + "https://bcr.bazel.build/modules/protobuf/3.19.2/MODULE.bazel": "532ffe5f2186b69fdde039efe6df13ba726ff338c6bc82275ad433013fa10573", + "https://bcr.bazel.build/modules/protobuf/3.19.6/MODULE.bazel": "9233edc5e1f2ee276a60de3eaa47ac4132302ef9643238f23128fea53ea12858", + "https://bcr.bazel.build/modules/protobuf/31.1/MODULE.bazel": "379a389bb330b7b8c1cdf331cc90bf3e13de5614799b3b52cdb7c6f389f6b38e", + "https://bcr.bazel.build/modules/protobuf/32.1/MODULE.bazel": "89cd2866a9cb07fee9ff74c41ceace11554f32e0d849de4e23ac55515cfada4d", + "https://bcr.bazel.build/modules/protobuf/33.4/MODULE.bazel": "114775b816b38b6d0ca620450d6b02550c60ceedfdc8d9a229833b34a223dc42", + "https://bcr.bazel.build/modules/protobuf/33.4/source.json": "555f8686b4c7d6b5ba731fbea13bf656b4bfd9a7ff629c1d9d3f6e1d6155de79", + "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e", + "https://bcr.bazel.build/modules/pybind11_bazel/2.12.0/MODULE.bazel": "e6f4c20442eaa7c90d7190d8dc539d0ab422f95c65a57cc59562170c58ae3d34", + "https://bcr.bazel.build/modules/pybind11_bazel/2.12.0/source.json": "6900fdc8a9e95866b8c0d4ad4aba4d4236317b5c1cd04c502df3f0d33afed680", + "https://bcr.bazel.build/modules/re2/2023-09-01/MODULE.bazel": "cb3d511531b16cfc78a225a9e2136007a48cf8a677e4264baeab57fe78a80206", + "https://bcr.bazel.build/modules/re2/2024-07-02.bcr.1/MODULE.bazel": "b4963dda9b31080be1905ef085ecd7dd6cd47c05c79b9cdf83ade83ab2ab271a", + "https://bcr.bazel.build/modules/re2/2024-07-02.bcr.1/source.json": "2ff292be6ef3340325ce8a045ecc326e92cbfab47c7cbab4bd85d28971b97ac4", + "https://bcr.bazel.build/modules/re2/2024-07-02/MODULE.bazel": "0eadc4395959969297cbcf31a249ff457f2f1d456228c67719480205aa306daa", + "https://bcr.bazel.build/modules/rules_android/0.6.4/MODULE.bazel": "b4cde12d506dd65d82b2be39761f49f5797303343a3d5b4ee191c0cdf9ef387c", + "https://bcr.bazel.build/modules/rules_android/0.7.1/MODULE.bazel": "a806fc382a774252f228a40e3b11b9fcc6276f8778c7fb33e9f72937c6258363", + "https://bcr.bazel.build/modules/rules_android/0.7.1/source.json": "151440aed3f0f73a00d4ed5cec5d31f63a6fef9b95d8fab1eb1810150fa525f2", + "https://bcr.bazel.build/modules/rules_apple/3.16.0/MODULE.bazel": "0d1caf0b8375942ce98ea944be754a18874041e4e0459401d925577624d3a54a", + "https://bcr.bazel.build/modules/rules_apple/3.16.0/source.json": "d8b5fe461272018cc07cfafce11fe369c7525330804c37eec5a82f84cd475366", + "https://bcr.bazel.build/modules/rules_cc/0.0.1/MODULE.bazel": "cb2aa0747f84c6c3a78dad4e2049c154f08ab9d166b1273835a8174940365647", + "https://bcr.bazel.build/modules/rules_cc/0.0.10/MODULE.bazel": "ec1705118f7eaedd6e118508d3d26deba2a4e76476ada7e0e3965211be012002", + "https://bcr.bazel.build/modules/rules_cc/0.0.13/MODULE.bazel": "0e8529ed7b323dad0775ff924d2ae5af7640b23553dfcd4d34344c7e7a867191", + "https://bcr.bazel.build/modules/rules_cc/0.0.15/MODULE.bazel": "6704c35f7b4a72502ee81f61bf88706b54f06b3cbe5558ac17e2e14666cd5dcc", + "https://bcr.bazel.build/modules/rules_cc/0.0.16/MODULE.bazel": "7661303b8fc1b4d7f532e54e9d6565771fea666fbdf839e0a86affcd02defe87", + "https://bcr.bazel.build/modules/rules_cc/0.0.17/MODULE.bazel": "2ae1d8f4238ec67d7185d8861cb0a2cdf4bc608697c331b95bf990e69b62e64a", + "https://bcr.bazel.build/modules/rules_cc/0.0.2/MODULE.bazel": "6915987c90970493ab97393024c156ea8fb9f3bea953b2f3ec05c34f19b5695c", + "https://bcr.bazel.build/modules/rules_cc/0.0.6/MODULE.bazel": "abf360251023dfe3efcef65ab9d56beefa8394d4176dd29529750e1c57eaa33f", + "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", + "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", + "https://bcr.bazel.build/modules/rules_cc/0.1.1/MODULE.bazel": "2f0222a6f229f0bf44cd711dc13c858dad98c62d52bd51d8fc3a764a83125513", + "https://bcr.bazel.build/modules/rules_cc/0.1.5/MODULE.bazel": "88dfc9361e8b5ae1008ac38f7cdfd45ad738e4fa676a3ad67d19204f045a1fd8", + "https://bcr.bazel.build/modules/rules_cc/0.2.0/MODULE.bazel": "b5c17f90458caae90d2ccd114c81970062946f49f355610ed89bebf954f5783c", + "https://bcr.bazel.build/modules/rules_cc/0.2.13/MODULE.bazel": "eecdd666eda6be16a8d9dc15e44b5c75133405e820f620a234acc4b1fdc5aa37", + "https://bcr.bazel.build/modules/rules_cc/0.2.14/MODULE.bazel": "353c99ed148887ee89c54a17d4100ae7e7e436593d104b668476019023b58df8", + "https://bcr.bazel.build/modules/rules_cc/0.2.14/source.json": "55d0a4587c5592fad350f6e698530f4faf0e7dd15e69d43f8d87e220c78bea54", + "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6", + "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/MODULE.bazel": "40c97d1144356f52905566c55811f13b299453a14ac7769dfba2ac38192337a8", + "https://bcr.bazel.build/modules/rules_go/0.41.0/MODULE.bazel": "55861d8e8bb0e62cbd2896f60ff303f62ffcb0eddb74ecb0e5c0cbe36fc292c8", + "https://bcr.bazel.build/modules/rules_go/0.42.0/MODULE.bazel": "8cfa875b9aa8c6fce2b2e5925e73c1388173ea3c32a0db4d2b4804b453c14270", + "https://bcr.bazel.build/modules/rules_go/0.46.0/MODULE.bazel": "3477df8bdcc49e698b9d25f734c4f3a9f5931ff34ee48a2c662be168f5f2d3fd", + "https://bcr.bazel.build/modules/rules_go/0.50.1/MODULE.bazel": "b91a308dc5782bb0a8021ad4330c81fea5bda77f96b9e4c117b9b9c8f6665ee0", + "https://bcr.bazel.build/modules/rules_go/0.51.0-rc2/MODULE.bazel": "edfc3a9cea7bedb0eaaff37b0d7817c1a4bf72b3c615580b0ffcee6c52690fd4", + "https://bcr.bazel.build/modules/rules_go/0.53.0/MODULE.bazel": "a4ed760d3ac0dbc0d7b967631a9a3fd9100d28f7d9fcf214b4df87d4bfff5f9a", + "https://bcr.bazel.build/modules/rules_go/0.59.0/MODULE.bazel": "b7e43e7414a3139a7547d1b4909b29085fbe5182b6c58cbe1ed4c6272815aeae", + "https://bcr.bazel.build/modules/rules_go/0.59.0/source.json": "1df17bb7865cfc029492c30163cee891d0dd8658ea0d5bfdf252c4b6db5c1ef6", + "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", + "https://bcr.bazel.build/modules/rules_java/5.3.5/MODULE.bazel": "a4ec4f2db570171e3e5eb753276ee4b389bae16b96207e9d3230895c99644b86", + "https://bcr.bazel.build/modules/rules_java/6.3.0/MODULE.bazel": "a97c7678c19f236a956ad260d59c86e10a463badb7eb2eda787490f4c969b963", + "https://bcr.bazel.build/modules/rules_java/6.5.2/MODULE.bazel": "1d440d262d0e08453fa0c4d8f699ba81609ed0e9a9a0f02cd10b3e7942e61e31", + "https://bcr.bazel.build/modules/rules_java/7.1.0/MODULE.bazel": "30d9135a2b6561c761bd67bd4990da591e6bdc128790ce3e7afd6a3558b2fb64", + "https://bcr.bazel.build/modules/rules_java/7.12.2/MODULE.bazel": "579c505165ee757a4280ef83cda0150eea193eed3bef50b1004ba88b99da6de6", + "https://bcr.bazel.build/modules/rules_java/7.2.0/MODULE.bazel": "06c0334c9be61e6cef2c8c84a7800cef502063269a5af25ceb100b192453d4ab", + "https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe", + "https://bcr.bazel.build/modules/rules_java/7.6.5/MODULE.bazel": "481164be5e02e4cab6e77a36927683263be56b7e36fef918b458d7a8a1ebadb1", + "https://bcr.bazel.build/modules/rules_java/8.13.0/MODULE.bazel": "0444ebf737d144cf2bb2ccb368e7f1cce735264285f2a3711785827c1686625e", + "https://bcr.bazel.build/modules/rules_java/8.3.2/MODULE.bazel": "7336d5511ad5af0b8615fdc7477535a2e4e723a357b6713af439fe8cf0195017", + "https://bcr.bazel.build/modules/rules_java/8.5.1/MODULE.bazel": "d8a9e38cc5228881f7055a6079f6f7821a073df3744d441978e7a43e20226939", + "https://bcr.bazel.build/modules/rules_java/8.6.0/MODULE.bazel": "9c064c434606d75a086f15ade5edb514308cccd1544c2b2a89bbac4310e41c71", + "https://bcr.bazel.build/modules/rules_java/8.6.1/MODULE.bazel": "f4808e2ab5b0197f094cabce9f4b006a27766beb6a9975931da07099560ca9c2", + "https://bcr.bazel.build/modules/rules_java/8.6.3/MODULE.bazel": "e90505b7a931d194245ffcfb6ff4ca8ef9d46b4e830d12e64817752e0198e2ed", + "https://bcr.bazel.build/modules/rules_java/8.9.0/MODULE.bazel": "e17c876cb53dcd817b7b7f0d2985b710610169729e8c371b2221cacdcd3dce4a", + "https://bcr.bazel.build/modules/rules_java/9.3.0/MODULE.bazel": "f657c72d65ac449caae9abf2e68e66c0d36f9416848c4c4903d0b3234229e7f2", + "https://bcr.bazel.build/modules/rules_java/9.3.0/source.json": "59ae7e662c3c7042b88bbb42ad12483523e234c65ebe4c51611baa43e85cb248", + "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/MODULE.bazel": "d269a01a18ee74d0335450b10f62c9ed81f2321d7958a2934e44272fe82dcef3", + "https://bcr.bazel.build/modules/rules_kotlin/2.2.2/MODULE.bazel": "00d39c5e0fa78cd86193946265bb849e7878c24e44260f9525108428852b315c", + "https://bcr.bazel.build/modules/rules_kotlin/2.2.2/source.json": "7a32c2259c79ae0c9a036121f120de825e3ba5f0f3a209ffbbdccf4dc62489b9", + "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", + "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", + "https://bcr.bazel.build/modules/rules_license/1.0.0/MODULE.bazel": "a7fda60eefdf3d8c827262ba499957e4df06f659330bbe6cdbdb975b768bb65c", + "https://bcr.bazel.build/modules/rules_license/1.0.0/source.json": "a52c89e54cc311196e478f8382df91c15f7a2bfdf4c6cd0e2675cc2ff0b56efb", + "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", + "https://bcr.bazel.build/modules/rules_pkg/1.0.1/MODULE.bazel": "5b1df97dbc29623bccdf2b0dcd0f5cb08e2f2c9050aab1092fd39a41e82686ff", + "https://bcr.bazel.build/modules/rules_pkg/1.2.0/MODULE.bazel": "c7db3c2b407e673c7a39e3625dc05dc9f12d6682cbd82a3a5924a13b491eda7e", + "https://bcr.bazel.build/modules/rules_pkg/1.2.0/source.json": "9062e00845bf91a4247465d371baa837adf9b6ff44c542f73ba084f07667e1dc", + "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", + "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", + "https://bcr.bazel.build/modules/rules_proto/6.0.0-rc1/MODULE.bazel": "1e5b502e2e1a9e825eef74476a5a1ee524a92297085015a052510b09a1a09483", + "https://bcr.bazel.build/modules/rules_proto/6.0.0/MODULE.bazel": "b531d7f09f58dce456cd61b4579ce8c86b38544da75184eadaf0a7cb7966453f", + "https://bcr.bazel.build/modules/rules_proto/6.0.2/MODULE.bazel": "ce916b775a62b90b61888052a416ccdda405212b6aaeb39522f7dc53431a5e73", + "https://bcr.bazel.build/modules/rules_proto/7.0.2/MODULE.bazel": "bf81793bd6d2ad89a37a40693e56c61b0ee30f7a7fdbaf3eabbf5f39de47dea2", + "https://bcr.bazel.build/modules/rules_proto/7.1.0/MODULE.bazel": "002d62d9108f75bb807cd56245d45648f38275cb3a99dcd45dfb864c5d74cb96", + "https://bcr.bazel.build/modules/rules_proto/7.1.0/source.json": "39f89066c12c24097854e8f57ab8558929f9c8d474d34b2c00ac04630ad8940e", + "https://bcr.bazel.build/modules/rules_python/0.10.2/MODULE.bazel": "cc82bc96f2997baa545ab3ce73f196d040ffb8756fd2d66125a530031cd90e5f", + "https://bcr.bazel.build/modules/rules_python/0.22.1/MODULE.bazel": "26114f0c0b5e93018c0c066d6673f1a2c3737c7e90af95eff30cfee38d0bbac7", + "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel": "49ffccf0511cb8414de28321f5fcf2a31312b47c40cc21577144b7447f2bf300", + "https://bcr.bazel.build/modules/rules_python/0.25.0/MODULE.bazel": "72f1506841c920a1afec76975b35312410eea3aa7b63267436bfb1dd91d2d382", + "https://bcr.bazel.build/modules/rules_python/0.28.0/MODULE.bazel": "cba2573d870babc976664a912539b320cbaa7114cd3e8f053c720171cde331ed", + "https://bcr.bazel.build/modules/rules_python/0.31.0/MODULE.bazel": "93a43dc47ee570e6ec9f5779b2e64c1476a6ce921c48cc9a1678a91dd5f8fd58", + "https://bcr.bazel.build/modules/rules_python/0.33.2/MODULE.bazel": "3e036c4ad8d804a4dad897d333d8dce200d943df4827cb849840055be8d2e937", + "https://bcr.bazel.build/modules/rules_python/0.37.1/MODULE.bazel": "3faeb2d9fa0a81f8980643ee33f212308f4d93eea4b9ce6f36d0b742e71e9500", + "https://bcr.bazel.build/modules/rules_python/0.37.2/MODULE.bazel": "b5ffde91410745750b6c13be1c5dc4555ef5bc50562af4a89fd77807fdde626a", + "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", + "https://bcr.bazel.build/modules/rules_python/1.0.0/MODULE.bazel": "898a3d999c22caa585eb062b600f88654bf92efb204fa346fb55f6f8edffca43", + "https://bcr.bazel.build/modules/rules_python/1.4.1/MODULE.bazel": "8991ad45bdc25018301d6b7e1d3626afc3c8af8aaf4bc04f23d0b99c938b73a6", + "https://bcr.bazel.build/modules/rules_python/1.6.0/MODULE.bazel": "7e04ad8f8d5bea40451cf80b1bd8262552aa73f841415d20db96b7241bd027d8", + "https://bcr.bazel.build/modules/rules_python/1.6.0/source.json": "e980f654cf66ec4928672f41fc66c4102b5ea54286acf4aecd23256c84211be6", + "https://bcr.bazel.build/modules/rules_robolectric/4.14.1.2/MODULE.bazel": "d44fec647d0aeb67b9f3b980cf68ba634976f3ae7ccd6c07d790b59b87a4f251", + "https://bcr.bazel.build/modules/rules_robolectric/4.14.1.2/source.json": "37c10335f2361c337c5c1f34ed36d2da70534c23088062b33a8bdaab68aa9dea", + "https://bcr.bazel.build/modules/rules_shell/0.1.2/MODULE.bazel": "66e4ca3ce084b04af0b9ff05ff14cab4e5df7503973818bb91cbc6cda08d32fc", + "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", + "https://bcr.bazel.build/modules/rules_shell/0.3.0/MODULE.bazel": "de4402cd12f4cc8fda2354fce179fdb068c0b9ca1ec2d2b17b3e21b24c1a937b", + "https://bcr.bazel.build/modules/rules_shell/0.4.1/MODULE.bazel": "00e501db01bbf4e3e1dd1595959092c2fadf2087b2852d3f553b5370f5633592", + "https://bcr.bazel.build/modules/rules_shell/0.6.1/MODULE.bazel": "72e76b0eea4e81611ef5452aa82b3da34caca0c8b7b5c0c9584338aa93bae26b", + "https://bcr.bazel.build/modules/rules_shell/0.6.1/source.json": "20ec05cd5e592055e214b2da8ccb283c7f2a421ea0dc2acbf1aa792e11c03d0c", + "https://bcr.bazel.build/modules/rules_swift/1.16.0/MODULE.bazel": "4a09f199545a60d09895e8281362b1ff3bb08bbde69c6fc87aff5b92fcc916ca", + "https://bcr.bazel.build/modules/rules_swift/2.1.1/MODULE.bazel": "494900a80f944fc7aa61500c2073d9729dff0b764f0e89b824eb746959bc1046", + "https://bcr.bazel.build/modules/rules_swift/2.1.1/source.json": "40fc69dfaac64deddbb75bd99cdac55f4427d9ca0afbe408576a65428427a186", + "https://bcr.bazel.build/modules/stardoc/0.6.2/MODULE.bazel": "7060193196395f5dd668eda046ccbeacebfd98efc77fed418dbe2b82ffaa39fd", + "https://bcr.bazel.build/modules/stardoc/0.7.0/MODULE.bazel": "05e3d6d30c099b6770e97da986c53bd31844d7f13d41412480ea265ac9e8079c", + "https://bcr.bazel.build/modules/stardoc/0.7.2/MODULE.bazel": "fc152419aa2ea0f51c29583fab1e8c99ddefd5b3778421845606ee628629e0e5", + "https://bcr.bazel.build/modules/stardoc/0.7.2/source.json": "58b029e5e901d6802967754adf0a9056747e8176f017cfe3607c0851f4d42216", + "https://bcr.bazel.build/modules/swift_argument_parser/1.3.1.1/MODULE.bazel": "5e463fbfba7b1701d957555ed45097d7f984211330106ccd1352c6e0af0dcf91", + "https://bcr.bazel.build/modules/swift_argument_parser/1.3.1.1/source.json": "32bd87e5f4d7acc57c5b2ff7c325ae3061d5e242c0c4c214ae87e0f1c13e54cb", + "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/MODULE.bazel": "7298990c00040a0e2f121f6c32544bab27d4452f80d9ce51349b1a28f3005c43", + "https://bcr.bazel.build/modules/upb/0.0.0-20230516-61a97ef/MODULE.bazel": "c0df5e35ad55e264160417fd0875932ee3c9dda63d9fccace35ac62f45e1b6f9", + "https://bcr.bazel.build/modules/zlib/1.2.11/MODULE.bazel": "07b389abc85fdbca459b69e2ec656ae5622873af3f845e1c9d80fe179f3effa0", + "https://bcr.bazel.build/modules/zlib/1.2.12/MODULE.bazel": "3b1a8834ada2a883674be8cbd36ede1b6ec481477ada359cd2d3ddc562340b27", + "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.3/MODULE.bazel": "af322bc08976524477c79d1e45e241b6efbeb918c497e8840b8ab116802dda79", + "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.5/MODULE.bazel": "eec517b5bbe5492629466e11dae908d043364302283de25581e3eb944326c4ca", + "https://bcr.bazel.build/modules/zlib/1.3.1.bcr.5/source.json": "22bc55c47af97246cfc093d0acf683a7869377de362b5d1c552c2c2e16b7a806", + "https://bcr.bazel.build/modules/zlib/1.3.1/MODULE.bazel": "751c9940dcfe869f5f7274e1295422a34623555916eb98c174c1e945594bf198" }, - "localOverrideHashes": { - "bazel_tools": "922ea6752dc9105de5af957f7a99a6933c0a6a712d23df6aad16a9c399f7e787" - }, - "moduleDepGraph": { - "": { - "name": "", - "version": "", - "key": "", - "repoName": "", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_kotlin": "rules_kotlin@1.9.0", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - } - }, - "rules_kotlin@1.9.0": { - "name": "rules_kotlin", - "version": "1.9.0", - "key": "rules_kotlin@1.9.0", - "repoName": "rules_kotlin", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//kotlin/internal:default_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_kotlin//src/main/starlark/core/repositories:bzlmod_setup.bzl", - "extensionName": "rules_kotlin_extensions", - "usingModule": "rules_kotlin@1.9.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_kotlin/1.9.0/MODULE.bazel", - "line": 14, - "column": 40 - }, - "imports": { - "buildkite_config": "buildkite_config", - "com_github_google_ksp": "com_github_google_ksp", - "com_github_jetbrains_kotlin": "com_github_jetbrains_kotlin", - "com_github_pinterest_ktlint": "com_github_pinterest_ktlint", - "kt_java_stub_template": "kt_java_stub_template", - "rules_android": "rules_android" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl", - "extensionName": "remote_android_tools_extensions", - "usingModule": "rules_kotlin@1.9.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_kotlin/1.9.0/MODULE.bazel", - "line": 28, - "column": 42 - }, - "imports": { - "android_gmaven_r8": "android_gmaven_r8", - "android_tools": "android_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_jvm_external//:extensions.bzl", - "extensionName": "maven", - "usingModule": "rules_kotlin@1.9.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_kotlin/1.9.0/MODULE.bazel", - "line": 37, - "column": 22 - }, - "imports": { - "kotlin_rules_maven": "kotlin_rules_maven" - }, - "devImports": [], - "tags": [ - { - "tagName": "install", - "attributeValues": { - "name": "kotlin_rules_maven", - "artifacts": [ - "com.google.code.findbugs:jsr305:3.0.2", - "junit:junit:4.13-beta-3", - "com.google.protobuf:protobuf-java:3.6.0", - "com.google.protobuf:protobuf-java-util:3.6.0", - "com.google.guava:guava:27.1-jre", - "com.google.truth:truth:0.45", - "com.google.auto.service:auto-service:1.0.1", - "com.google.auto.service:auto-service-annotations:1.0.1", - "com.google.auto.value:auto-value:1.10.1", - "com.google.auto.value:auto-value-annotations:1.10.1", - "com.google.dagger:dagger:2.43.2", - "com.google.dagger:dagger-compiler:2.43.2", - "com.google.dagger:dagger-producers:2.43.2", - "javax.annotation:javax.annotation-api:1.3.2", - "javax.inject:javax.inject:1", - "org.pantsbuild:jarjar:1.7.2", - "org.jetbrains.kotlinx:atomicfu-js:0.15.2", - "org.jetbrains.kotlinx:kotlinx-serialization-runtime:1.0-M1-1.4.0-rc" - ], - "fetch_sources": true, - "repositories": [ - "https://maven-central.storage.googleapis.com/repos/central/data/", - "https://maven.google.com", - "https://repo1.maven.org/maven2" - ] - }, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/rules_kotlin/1.9.0/MODULE.bazel", - "line": 38, - "column": 14 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_java": "rules_java@7.1.0", - "rules_python": "rules_python@0.23.1", - "rules_cc": "rules_cc@0.0.9", - "rules_jvm_external": "rules_jvm_external@5.3", - "rules_pkg": "rules_pkg@0.7.0", - "io_bazel_stardoc": "stardoc@0.5.6", - "rules_proto": "rules_proto@5.3.0-21.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_kotlin~1.9.0", - "urls": [ - "https://github.com/bazelbuild/rules_kotlin/releases/download/v1.9.0/rules_kotlin-v1.9.0.tar.gz" - ], - "integrity": "sha256-V2bx5Zms9VGqVvSdq5q5EIJpsDxVdJbFSsr0H5jiuNY=", - "strip_prefix": "", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_kotlin/1.9.0/patches/module_dot_bazel_version.patch": "sha256-nDFDlp2ujd74k9mEF0Bh7pZqBt+CUCF2bZHIaFgM25g=" - }, - "remote_patch_strip": 1 - } - } - }, - "bazel_tools@_": { - "name": "bazel_tools", - "version": "", - "key": "bazel_tools@_", - "repoName": "bazel_tools", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all", - "@local_config_sh//:local_sh_toolchain" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 17, - "column": 29 - }, - "imports": { - "local_config_cc": "local_config_cc", - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/osx:xcode_configure.bzl", - "extensionName": "xcode_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 21, - "column": 32 - }, - "imports": { - "local_config_xcode": "local_config_xcode" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 24, - "column": 32 - }, - "imports": { - "local_jdk": "local_jdk", - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/sh:sh_configure.bzl", - "extensionName": "sh_configure_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 35, - "column": 39 - }, - "imports": { - "local_config_sh": "local_config_sh" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/test:extensions.bzl", - "extensionName": "remote_coverage_tools_extension", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 39, - "column": 48 - }, - "imports": { - "remote_coverage_tools": "remote_coverage_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@bazel_tools//tools/android:android_extensions.bzl", - "extensionName": "remote_android_tools_extensions", - "usingModule": "bazel_tools@_", - "location": { - "file": "@@bazel_tools//:MODULE.bazel", - "line": 42, - "column": 42 - }, - "imports": { - "android_gmaven_r8": "android_gmaven_r8", - "android_tools": "android_tools" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "rules_java": "rules_java@7.1.0", - "rules_license": "rules_license@0.0.7", - "rules_proto": "rules_proto@5.3.0-21.7", - "rules_python": "rules_python@0.23.1", - "platforms": "platforms@0.0.7", - "com_google_protobuf": "protobuf@21.7", - "zlib": "zlib@1.3", - "build_bazel_apple_support": "apple_support@1.5.0", - "local_config_platform": "local_config_platform@_" - } - }, - "local_config_platform@_": { - "name": "local_config_platform", - "version": "", - "key": "local_config_platform@_", - "repoName": "local_config_platform", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_" - } - }, - "platforms@0.0.7": { - "name": "platforms", - "version": "0.0.7", - "key": "platforms@0.0.7", - "repoName": "platforms", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "platforms", - "urls": [ - "https://github.com/bazelbuild/platforms/releases/download/0.0.7/platforms-0.0.7.tar.gz" - ], - "integrity": "sha256-OlYcmee9vpFzqmU/1Xn+hJ8djWc5V4CrR3Cx84FDHVE=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "bazel_skylib@1.4.2": { - "name": "bazel_skylib", - "version": "1.4.2", - "key": "bazel_skylib@1.4.2", - "repoName": "bazel_skylib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains/unittest:cmd_toolchain", - "//toolchains/unittest:bash_toolchain" - ], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "bazel_skylib~1.4.2", - "urls": [ - "https://github.com/bazelbuild/bazel-skylib/releases/download/1.4.2/bazel-skylib-1.4.2.tar.gz" - ], - "integrity": "sha256-Zv/ZMVZlv6r8lrUiePV8fi3Qn17eJ56m05sr5HHn46o=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_java@7.1.0": { - "name": "rules_java", - "version": "7.1.0", - "key": "rules_java@7.1.0", - "repoName": "rules_java", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "//toolchains:all", - "@local_jdk//:runtime_toolchain_definition", - "@local_jdk//:bootstrap_runtime_toolchain_definition", - "@remotejdk11_linux_toolchain_config_repo//:all", - "@remotejdk11_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk11_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk11_linux_s390x_toolchain_config_repo//:all", - "@remotejdk11_macos_toolchain_config_repo//:all", - "@remotejdk11_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk11_win_toolchain_config_repo//:all", - "@remotejdk11_win_arm64_toolchain_config_repo//:all", - "@remotejdk17_linux_toolchain_config_repo//:all", - "@remotejdk17_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk17_linux_ppc64le_toolchain_config_repo//:all", - "@remotejdk17_linux_s390x_toolchain_config_repo//:all", - "@remotejdk17_macos_toolchain_config_repo//:all", - "@remotejdk17_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk17_win_toolchain_config_repo//:all", - "@remotejdk17_win_arm64_toolchain_config_repo//:all", - "@remotejdk21_linux_toolchain_config_repo//:all", - "@remotejdk21_linux_aarch64_toolchain_config_repo//:all", - "@remotejdk21_macos_toolchain_config_repo//:all", - "@remotejdk21_macos_aarch64_toolchain_config_repo//:all", - "@remotejdk21_win_toolchain_config_repo//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_java//java:extensions.bzl", - "extensionName": "toolchains", - "usingModule": "rules_java@7.1.0", - "location": { - "file": "https://bcr.bazel.build/modules/rules_java/7.1.0/MODULE.bazel", - "line": 19, - "column": 27 - }, - "imports": { - "remote_java_tools": "remote_java_tools", - "remote_java_tools_linux": "remote_java_tools_linux", - "remote_java_tools_windows": "remote_java_tools_windows", - "remote_java_tools_darwin_x86_64": "remote_java_tools_darwin_x86_64", - "remote_java_tools_darwin_arm64": "remote_java_tools_darwin_arm64", - "local_jdk": "local_jdk", - "remotejdk11_linux_toolchain_config_repo": "remotejdk11_linux_toolchain_config_repo", - "remotejdk11_linux_aarch64_toolchain_config_repo": "remotejdk11_linux_aarch64_toolchain_config_repo", - "remotejdk11_linux_ppc64le_toolchain_config_repo": "remotejdk11_linux_ppc64le_toolchain_config_repo", - "remotejdk11_linux_s390x_toolchain_config_repo": "remotejdk11_linux_s390x_toolchain_config_repo", - "remotejdk11_macos_toolchain_config_repo": "remotejdk11_macos_toolchain_config_repo", - "remotejdk11_macos_aarch64_toolchain_config_repo": "remotejdk11_macos_aarch64_toolchain_config_repo", - "remotejdk11_win_toolchain_config_repo": "remotejdk11_win_toolchain_config_repo", - "remotejdk11_win_arm64_toolchain_config_repo": "remotejdk11_win_arm64_toolchain_config_repo", - "remotejdk17_linux_toolchain_config_repo": "remotejdk17_linux_toolchain_config_repo", - "remotejdk17_linux_aarch64_toolchain_config_repo": "remotejdk17_linux_aarch64_toolchain_config_repo", - "remotejdk17_linux_ppc64le_toolchain_config_repo": "remotejdk17_linux_ppc64le_toolchain_config_repo", - "remotejdk17_linux_s390x_toolchain_config_repo": "remotejdk17_linux_s390x_toolchain_config_repo", - "remotejdk17_macos_toolchain_config_repo": "remotejdk17_macos_toolchain_config_repo", - "remotejdk17_macos_aarch64_toolchain_config_repo": "remotejdk17_macos_aarch64_toolchain_config_repo", - "remotejdk17_win_toolchain_config_repo": "remotejdk17_win_toolchain_config_repo", - "remotejdk17_win_arm64_toolchain_config_repo": "remotejdk17_win_arm64_toolchain_config_repo", - "remotejdk21_linux_toolchain_config_repo": "remotejdk21_linux_toolchain_config_repo", - "remotejdk21_linux_aarch64_toolchain_config_repo": "remotejdk21_linux_aarch64_toolchain_config_repo", - "remotejdk21_macos_toolchain_config_repo": "remotejdk21_macos_toolchain_config_repo", - "remotejdk21_macos_aarch64_toolchain_config_repo": "remotejdk21_macos_aarch64_toolchain_config_repo", - "remotejdk21_win_toolchain_config_repo": "remotejdk21_win_toolchain_config_repo" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_proto": "rules_proto@5.3.0-21.7", - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0", - "urls": [ - "https://github.com/bazelbuild/rules_java/releases/download/7.1.0/rules_java-7.1.0.tar.gz" - ], - "integrity": "sha256-o3pOX2OrgnFuXdau75iO2EYcegC46TYnImKJn1h81OE=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_python@0.23.1": { - "name": "rules_python", - "version": "0.23.1", - "key": "rules_python@0.23.1", - "repoName": "rules_python", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@pythons_hub//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_python//python/extensions/private:internal_deps.bzl", - "extensionName": "internal_deps", - "usingModule": "rules_python@0.23.1", - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel", - "line": 14, - "column": 30 - }, - "imports": { - "pypi__build": "pypi__build", - "pypi__click": "pypi__click", - "pypi__colorama": "pypi__colorama", - "pypi__importlib_metadata": "pypi__importlib_metadata", - "pypi__installer": "pypi__installer", - "pypi__more_itertools": "pypi__more_itertools", - "pypi__packaging": "pypi__packaging", - "pypi__pep517": "pypi__pep517", - "pypi__pip": "pypi__pip", - "pypi__pip_tools": "pypi__pip_tools", - "pypi__setuptools": "pypi__setuptools", - "pypi__tomli": "pypi__tomli", - "pypi__wheel": "pypi__wheel", - "pypi__zipp": "pypi__zipp", - "pypi__coverage_cp310_aarch64-apple-darwin": "pypi__coverage_cp310_aarch64-apple-darwin", - "pypi__coverage_cp310_aarch64-unknown-linux-gnu": "pypi__coverage_cp310_aarch64-unknown-linux-gnu", - "pypi__coverage_cp310_x86_64-apple-darwin": "pypi__coverage_cp310_x86_64-apple-darwin", - "pypi__coverage_cp310_x86_64-unknown-linux-gnu": "pypi__coverage_cp310_x86_64-unknown-linux-gnu", - "pypi__coverage_cp311_aarch64-apple-darwin": "pypi__coverage_cp311_aarch64-apple-darwin", - "pypi__coverage_cp311_aarch64-unknown-linux-gnu": "pypi__coverage_cp311_aarch64-unknown-linux-gnu", - "pypi__coverage_cp311_x86_64-apple-darwin": "pypi__coverage_cp311_x86_64-apple-darwin", - "pypi__coverage_cp311_x86_64-unknown-linux-gnu": "pypi__coverage_cp311_x86_64-unknown-linux-gnu", - "pypi__coverage_cp38_aarch64-apple-darwin": "pypi__coverage_cp38_aarch64-apple-darwin", - "pypi__coverage_cp38_aarch64-unknown-linux-gnu": "pypi__coverage_cp38_aarch64-unknown-linux-gnu", - "pypi__coverage_cp38_x86_64-apple-darwin": "pypi__coverage_cp38_x86_64-apple-darwin", - "pypi__coverage_cp38_x86_64-unknown-linux-gnu": "pypi__coverage_cp38_x86_64-unknown-linux-gnu", - "pypi__coverage_cp39_aarch64-apple-darwin": "pypi__coverage_cp39_aarch64-apple-darwin", - "pypi__coverage_cp39_aarch64-unknown-linux-gnu": "pypi__coverage_cp39_aarch64-unknown-linux-gnu", - "pypi__coverage_cp39_x86_64-apple-darwin": "pypi__coverage_cp39_x86_64-apple-darwin", - "pypi__coverage_cp39_x86_64-unknown-linux-gnu": "pypi__coverage_cp39_x86_64-unknown-linux-gnu" - }, - "devImports": [], - "tags": [ - { - "tagName": "install", - "attributeValues": {}, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel", - "line": 15, - "column": 22 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": "@rules_python//python/extensions:python.bzl", - "extensionName": "python", - "usingModule": "rules_python@0.23.1", - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel", - "line": 53, - "column": 23 - }, - "imports": { - "pythons_hub": "pythons_hub" - }, - "devImports": [], - "tags": [ - { - "tagName": "toolchain", - "attributeValues": { - "is_default": true, - "python_version": "3.11" - }, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/rules_python/0.23.1/MODULE.bazel", - "line": 59, - "column": 17 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_proto": "rules_proto@5.3.0-21.7", - "com_google_protobuf": "protobuf@21.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_python~0.23.1", - "urls": [ - "https://github.com/bazelbuild/rules_python/releases/download/0.23.1/rules_python-0.23.1.tar.gz" - ], - "integrity": "sha256-hK7J4hzFb7x/EzUDWnHIUNG5tcxv9Jcwb4TM7Zp2mEE=", - "strip_prefix": "rules_python-0.23.1", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_python/0.23.1/patches/module_dot_bazel_version.patch": "sha256-Fb/omGfKlthLHMy1276rtIDI9k5sZQQhAeNsleX4y2k=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_cc@0.0.9": { - "name": "rules_cc", - "version": "0.0.9", - "key": "rules_cc@0.0.9", - "repoName": "rules_cc", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@bazel_tools//tools/cpp:cc_configure.bzl", - "extensionName": "cc_configure_extension", - "usingModule": "rules_cc@0.0.9", - "location": { - "file": "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel", - "line": 9, - "column": 29 - }, - "imports": { - "local_config_cc_toolchains": "local_config_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_cc~0.0.9", - "urls": [ - "https://github.com/bazelbuild/rules_cc/releases/download/0.0.9/rules_cc-0.0.9.tar.gz" - ], - "integrity": "sha256-IDeHW5pEVtzkp50RKorohbvEqtlo5lh9ym5k86CQDN8=", - "strip_prefix": "rules_cc-0.0.9", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch": "sha256-mM+qzOI0SgAdaJBlWOSMwMPKpaA9b7R37Hj/tp5bb4g=" - }, - "remote_patch_strip": 0 - } - } - }, - "rules_jvm_external@5.3": { - "name": "rules_jvm_external", - "version": "5.3", - "key": "rules_jvm_external@5.3", - "repoName": "rules_jvm_external", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_jvm_external//:non-module-deps.bzl", - "extensionName": "non_module_deps", - "usingModule": "rules_jvm_external@5.3", - "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.3/MODULE.bazel", - "line": 9, - "column": 32 - }, - "imports": { - "io_bazel_rules_kotlin": "io_bazel_rules_kotlin" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - }, - { - "extensionBzlFile": ":extensions.bzl", - "extensionName": "maven", - "usingModule": "rules_jvm_external@5.3", - "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.3/MODULE.bazel", - "line": 16, - "column": 22 - }, - "imports": { - "rules_jvm_external_deps": "rules_jvm_external_deps" - }, - "devImports": [], - "tags": [ - { - "tagName": "install", - "attributeValues": { - "name": "rules_jvm_external_deps", - "artifacts": [ - "com.google.auth:google-auth-library-credentials:1.17.0", - "com.google.auth:google-auth-library-oauth2-http:1.17.0", - "com.google.cloud:google-cloud-core:2.18.1", - "com.google.cloud:google-cloud-storage:2.22.3", - "com.google.code.gson:gson:2.10.1", - "com.google.googlejavaformat:google-java-format:1.17.0", - "com.google.guava:guava:32.0.0-jre", - "org.apache.maven:maven-artifact:3.9.2", - "software.amazon.awssdk:s3:2.20.78" - ], - "lock_file": "@rules_jvm_external//:rules_jvm_external_deps_install.json" - }, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/rules_jvm_external/5.3/MODULE.bazel", - "line": 18, - "column": 14 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "io_bazel_stardoc": "stardoc@0.5.6", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_jvm_external~5.3", - "urls": [ - "https://github.com/bazelbuild/rules_jvm_external/releases/download/5.3/rules_jvm_external-5.3.tar.gz" - ], - "integrity": "sha256-0x42m4VDIspQmOoSxp1xdd7ZcUNeVcGN2d1fKcxSSaw=", - "strip_prefix": "rules_jvm_external-5.3", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_pkg@0.7.0": { - "name": "rules_pkg", - "version": "0.7.0", - "key": "rules_pkg@0.7.0", - "repoName": "rules_pkg", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_python": "rules_python@0.23.1", - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_pkg~0.7.0", - "urls": [ - "https://github.com/bazelbuild/rules_pkg/releases/download/0.7.0/rules_pkg-0.7.0.tar.gz" - ], - "integrity": "sha256-iimOgydi7aGDBZfWT+fbWBeKqEzVkm121bdE1lWJQcI=", - "strip_prefix": "", - "remote_patches": { - "https://bcr.bazel.build/modules/rules_pkg/0.7.0/patches/module_dot_bazel.patch": "sha256-4OaEPZwYF6iC71ZTDg6MJ7LLqX7ZA0/kK4mT+4xKqiE=" - }, - "remote_patch_strip": 0 - } - } - }, - "stardoc@0.5.6": { - "name": "stardoc", - "version": "0.5.6", - "key": "stardoc@0.5.6", - "repoName": "stardoc", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_java": "rules_java@7.1.0", - "rules_license": "rules_license@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "stardoc~0.5.6", - "urls": [ - "https://github.com/bazelbuild/stardoc/releases/download/0.5.6/stardoc-0.5.6.tar.gz" - ], - "integrity": "sha256-37w2Sq7BQ99ebFL68fEWZ3WltECCQ/RF9EtmHP3DE08=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_proto@5.3.0-21.7": { - "name": "rules_proto", - "version": "5.3.0-21.7", - "key": "rules_proto@5.3.0-21.7", - "repoName": "rules_proto", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "com_google_protobuf": "protobuf@21.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_proto~5.3.0-21.7", - "urls": [ - "https://github.com/bazelbuild/rules_proto/archive/refs/tags/5.3.0-21.7.tar.gz" - ], - "integrity": "sha256-3D+yBqLLNEG0heseQjFlsjEjWh6psDG0Qzz3vB+kYN0=", - "strip_prefix": "rules_proto-5.3.0-21.7", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "rules_license@0.0.7": { - "name": "rules_license", - "version": "0.0.7", - "key": "rules_license@0.0.7", - "repoName": "rules_license", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_license~0.0.7", - "urls": [ - "https://github.com/bazelbuild/rules_license/releases/download/0.0.7/rules_license-0.0.7.tar.gz" - ], - "integrity": "sha256-RTHezLkTY5ww5cdRKgVNXYdWmNrrddjPkPKEN1/nw2A=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "protobuf@21.7": { - "name": "protobuf", - "version": "21.7", - "key": "protobuf@21.7", - "repoName": "protobuf", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [ - { - "extensionBzlFile": "@rules_jvm_external//:extensions.bzl", - "extensionName": "maven", - "usingModule": "protobuf@21.7", - "location": { - "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel", - "line": 22, - "column": 22 - }, - "imports": { - "maven": "maven" - }, - "devImports": [], - "tags": [ - { - "tagName": "install", - "attributeValues": { - "name": "maven", - "artifacts": [ - "com.google.code.findbugs:jsr305:3.0.2", - "com.google.code.gson:gson:2.8.9", - "com.google.errorprone:error_prone_annotations:2.3.2", - "com.google.j2objc:j2objc-annotations:1.3", - "com.google.guava:guava:31.1-jre", - "com.google.guava:guava-testlib:31.1-jre", - "com.google.truth:truth:1.1.2", - "junit:junit:4.13.2", - "org.mockito:mockito-core:4.3.1" - ] - }, - "devDependency": false, - "location": { - "file": "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel", - "line": 24, - "column": 14 - } - } - ], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_python": "rules_python@0.23.1", - "rules_cc": "rules_cc@0.0.9", - "rules_proto": "rules_proto@5.3.0-21.7", - "rules_java": "rules_java@7.1.0", - "rules_pkg": "rules_pkg@0.7.0", - "com_google_abseil": "abseil-cpp@20211102.0", - "zlib": "zlib@1.3", - "upb": "upb@0.0.0-20220923-a547704", - "rules_jvm_external": "rules_jvm_external@5.3", - "com_google_googletest": "googletest@1.11.0", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "protobuf~21.7", - "urls": [ - "https://github.com/protocolbuffers/protobuf/releases/download/v21.7/protobuf-all-21.7.zip" - ], - "integrity": "sha256-VJOiH17T/FAuZv7GuUScBqVRztYwAvpIkDxA36jeeko=", - "strip_prefix": "protobuf-21.7", - "remote_patches": { - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel.patch": "sha256-q3V2+eq0v2XF0z8z+V+QF4cynD6JvHI1y3kI/+rzl5s=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_module_dot_bazel_for_examples.patch": "sha256-O7YP6s3lo/1opUiO0jqXYORNHdZ/2q3hjz1QGy8QdIU=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/relative_repo_names.patch": "sha256-RK9RjW8T5UJNG7flIrnFiNE9vKwWB+8uWWtJqXYT0w4=", - "https://bcr.bazel.build/modules/protobuf/21.7/patches/add_missing_files.patch": "sha256-Hyne4DG2u5bXcWHNxNMirA2QFAe/2Cl8oMm1XJdkQIY=" - }, - "remote_patch_strip": 1 - } - } - }, - "zlib@1.3": { - "name": "zlib", - "version": "1.3", - "key": "zlib@1.3", - "repoName": "zlib", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "zlib~1.3", - "urls": [ - "https://github.com/madler/zlib/releases/download/v1.3/zlib-1.3.tar.gz" - ], - "integrity": "sha256-/wukwpIBPbwnUws6geH5qBPNOd4Byl4Pi/NVcC76WT4=", - "strip_prefix": "zlib-1.3", - "remote_patches": { - "https://bcr.bazel.build/modules/zlib/1.3/patches/add_build_file.patch": "sha256-Ei+FYaaOo7A3jTKunMEodTI0Uw5NXQyZEcboMC8JskY=", - "https://bcr.bazel.build/modules/zlib/1.3/patches/module_dot_bazel.patch": "sha256-fPWLM+2xaF/kuy+kZc1YTfW6hNjrkG400Ho7gckuyJk=" - }, - "remote_patch_strip": 0 - } - } - }, - "apple_support@1.5.0": { - "name": "apple_support", - "version": "1.5.0", - "key": "apple_support@1.5.0", - "repoName": "build_bazel_apple_support", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [ - "@local_config_apple_cc_toolchains//:all" - ], - "extensionUsages": [ - { - "extensionBzlFile": "@build_bazel_apple_support//crosstool:setup.bzl", - "extensionName": "apple_cc_configure_extension", - "usingModule": "apple_support@1.5.0", - "location": { - "file": "https://bcr.bazel.build/modules/apple_support/1.5.0/MODULE.bazel", - "line": 17, - "column": 35 - }, - "imports": { - "local_config_apple_cc": "local_config_apple_cc", - "local_config_apple_cc_toolchains": "local_config_apple_cc_toolchains" - }, - "devImports": [], - "tags": [], - "hasDevUseExtension": false, - "hasNonDevUseExtension": true - } - ], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "apple_support~1.5.0", - "urls": [ - "https://github.com/bazelbuild/apple_support/releases/download/1.5.0/apple_support.1.5.0.tar.gz" - ], - "integrity": "sha256-miM41vja0yRPgj8txghKA+TQ+7J8qJLclw5okNW0gYQ=", - "strip_prefix": "", - "remote_patches": {}, - "remote_patch_strip": 0 - } - } - }, - "abseil-cpp@20211102.0": { - "name": "abseil-cpp", - "version": "20211102.0", - "key": "abseil-cpp@20211102.0", - "repoName": "abseil-cpp", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "rules_cc": "rules_cc@0.0.9", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "abseil-cpp~20211102.0", - "urls": [ - "https://github.com/abseil/abseil-cpp/archive/refs/tags/20211102.0.tar.gz" - ], - "integrity": "sha256-3PcbnLqNwMqZQMSzFqDHlr6Pq0KwcLtrfKtitI8OZsQ=", - "strip_prefix": "abseil-cpp-20211102.0", - "remote_patches": { - "https://bcr.bazel.build/modules/abseil-cpp/20211102.0/patches/module_dot_bazel.patch": "sha256-4izqopgGCey4jVZzl/w3M2GVPNohjh2B5TmbThZNvPY=" - }, - "remote_patch_strip": 0 - } - } - }, - "upb@0.0.0-20220923-a547704": { - "name": "upb", - "version": "0.0.0-20220923-a547704", - "key": "upb@0.0.0-20220923-a547704", - "repoName": "upb", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "bazel_skylib": "bazel_skylib@1.4.2", - "rules_proto": "rules_proto@5.3.0-21.7", - "com_google_protobuf": "protobuf@21.7", - "com_google_absl": "abseil-cpp@20211102.0", - "platforms": "platforms@0.0.7", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "upb~0.0.0-20220923-a547704", - "urls": [ - "https://github.com/protocolbuffers/upb/archive/a5477045acaa34586420942098f5fecd3570f577.tar.gz" - ], - "integrity": "sha256-z39x6v+QskwaKLSWRan/A6mmwecTQpHOcJActj5zZLU=", - "strip_prefix": "upb-a5477045acaa34586420942098f5fecd3570f577", - "remote_patches": { - "https://bcr.bazel.build/modules/upb/0.0.0-20220923-a547704/patches/module_dot_bazel.patch": "sha256-wH4mNS6ZYy+8uC0HoAft/c7SDsq2Kxf+J8dUakXhaB0=" - }, - "remote_patch_strip": 0 - } - } - }, - "googletest@1.11.0": { - "name": "googletest", - "version": "1.11.0", - "key": "googletest@1.11.0", - "repoName": "googletest", - "executionPlatformsToRegister": [], - "toolchainsToRegister": [], - "extensionUsages": [], - "deps": { - "com_google_absl": "abseil-cpp@20211102.0", - "platforms": "platforms@0.0.7", - "rules_cc": "rules_cc@0.0.9", - "bazel_tools": "bazel_tools@_", - "local_config_platform": "local_config_platform@_" - }, - "repoSpec": { - "bzlFile": "@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "googletest~1.11.0", - "urls": [ - "https://github.com/google/googletest/archive/refs/tags/release-1.11.0.tar.gz" - ], - "integrity": "sha256-tIcL8SH/d5W6INILzdhie44Ijy0dqymaAxwQNO3ck9U=", - "strip_prefix": "googletest-release-1.11.0", - "remote_patches": { - "https://bcr.bazel.build/modules/googletest/1.11.0/patches/module_dot_bazel.patch": "sha256-HuahEdI/n8KCI071sN3CEziX+7qP/Ec77IWayYunLP0=" - }, - "remote_patch_strip": 0 - } - } - } - }, - "moduleExtensions": { - "@@apple_support~1.5.0//crosstool:setup.bzl%apple_cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "pMLFCYaRPkgXPQ8vtuNkMfiHfPmRBy6QJfnid4sWfv0=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_apple_cc": { - "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf", - "attributes": { - "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc" - } - }, - "local_config_apple_cc_toolchains": { - "bzlFile": "@@apple_support~1.5.0//crosstool:setup.bzl", - "ruleClassName": "_apple_cc_autoconf_toolchains", - "attributes": { - "name": "apple_support~1.5.0~apple_cc_configure_extension~local_config_apple_cc_toolchains" - } - } - } - } - }, - "@@bazel_tools//tools/android:android_extensions.bzl%remote_android_tools_extensions": { - "general": { - "bzlTransitiveDigest": "iz3RFYDcsjupaT10sdSPAhA44WL3eDYkTEnYThllj1w=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "android_tools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "bazel_tools~remote_android_tools_extensions~android_tools", - "sha256": "2b661a761a735b41c41b3a78089f4fc1982626c76ddb944604ae3ff8c545d3c2", - "url": "https://mirror.bazel.build/bazel_android_tools/android_tools_pkg-0.30.0.tar" - } - }, - "android_gmaven_r8": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_jar", - "attributes": { - "name": "bazel_tools~remote_android_tools_extensions~android_gmaven_r8", - "sha256": "57a696749695a09381a87bc2f08c3a8ed06a717a5caa3ef878a3077e0d3af19d", - "url": "https://maven.google.com/com/android/tools/r8/8.1.56/r8-8.1.56.jar" - } - } - } - } - }, - "@@bazel_tools//tools/cpp:cc_configure.bzl%cc_configure_extension": { - "general": { - "bzlTransitiveDigest": "O9sf6ilKWU9Veed02jG9o2HM/xgV/UAyciuFBuxrFRY=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_cc": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf", - "attributes": { - "name": "bazel_tools~cc_configure_extension~local_config_cc" - } - }, - "local_config_cc_toolchains": { - "bzlFile": "@@bazel_tools//tools/cpp:cc_configure.bzl", - "ruleClassName": "cc_autoconf_toolchains", - "attributes": { - "name": "bazel_tools~cc_configure_extension~local_config_cc_toolchains" - } - } - } - } - }, - "@@bazel_tools//tools/osx:xcode_configure.bzl%xcode_configure_extension": { - "general": { - "bzlTransitiveDigest": "Qh2bWTU6QW6wkrd87qrU4YeY+SG37Nvw3A0PR4Y0L2Y=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_xcode": { - "bzlFile": "@@bazel_tools//tools/osx:xcode_configure.bzl", - "ruleClassName": "xcode_autoconf", - "attributes": { - "name": "bazel_tools~xcode_configure_extension~local_config_xcode", - "xcode_locator": "@bazel_tools//tools/osx:xcode_locator.m", - "remote_xcode": "" - } - } - } - } - }, - "@@bazel_tools//tools/sh:sh_configure.bzl%sh_configure_extension": { - "general": { - "bzlTransitiveDigest": "hp4NgmNjEg5+xgvzfh6L83bt9/aiiWETuNpwNuF1MSU=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "local_config_sh": { - "bzlFile": "@@bazel_tools//tools/sh:sh_configure.bzl", - "ruleClassName": "sh_config", - "attributes": { - "name": "bazel_tools~sh_configure_extension~local_config_sh" - } - } - } - } - }, - "@@rules_java~7.1.0//java:extensions.bzl%toolchains": { - "general": { - "bzlTransitiveDigest": "iUIRqCK7tkhvcDJCAfPPqSd06IHG0a8HQD0xeQyVAqw=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "remotejdk21_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_s390x_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_s390x_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_s390x//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos//:jdk\",\n)\n" - } - }, - "remotejdk21_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk21_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "2a7a99a3ea263dbd8d32a67d1e6e363ba8b25c645c826f5e167a02bbafaff1fa", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_aarch64.tar.gz" - ] - } - }, - "remotejdk17_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "314b04568ec0ae9b36ba03c9cbd42adc9e1265f74678923b19297d66eb84dcca", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_aarch64.tar.gz" - ] - } - }, - "remote_java_tools_windows": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remote_java_tools_windows", - "sha256": "c5c70c214a350f12cbf52da8270fa43ba629b795f3dd328028a38f8f0d39c2a1", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools_windows-v13.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools_windows-v13.1.zip" - ] - } - }, - "remotejdk11_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "43408193ce2fa0862819495b5ae8541085b95660153f2adcf91a52d3a1710e83", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-win_x64.zip" - ] - } - }, - "remotejdk11_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "54174439f2b3fddd11f1048c397fe7bb45d4c9d66d452d6889b013d04d21c4de", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk17_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "b9482f2304a1a68a614dfacddcf29569a72f0fac32e6c74f83dc1b9a157b8340", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_x64.tar.gz" - ] - } - }, - "remotejdk11_linux_s390x_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_s390x_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:s390x\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_s390x//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux//:jdk\",\n)\n" - } - }, - "remotejdk11_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "bcaab11cfe586fae7583c6d9d311c64384354fb2638eb9a012eca4c3f1a1d9fd", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_x64.tar.gz" - ] - } - }, - "remotejdk11_win_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_win_arm64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "b8a28e6e767d90acf793ea6f5bed0bb595ba0ba5ebdf8b99f395266161e53ec2", - "strip_prefix": "jdk-11.0.13+8", - "urls": [ - "https://mirror.bazel.build/aka.ms/download-jdk/microsoft-jdk-11.0.13.8.1-windows-aarch64.zip" - ] - } - }, - "remotejdk17_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "640453e8afe8ffe0fb4dceb4535fb50db9c283c64665eebb0ba68b19e65f4b1f", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-macosx_x64.tar.gz" - ] - } - }, - "remotejdk21_macos": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_macos", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "9639b87db586d0c89f7a9892ae47f421e442c64b97baebdff31788fbe23265bd", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-macosx_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-macosx_x64.tar.gz" - ] - } - }, - "remotejdk21_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_macos//:jdk\",\n)\n" - } - }, - "remotejdk17_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk17_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "192f2afca57701de6ec496234f7e45d971bf623ff66b8ee4a5c81582054e5637", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_x64.zip" - ] - } - }, - "remotejdk11_macos_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_macos_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_ppc64le_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_ppc64le_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_ppc64le//:jdk\",\n)\n" - } - }, - "remotejdk21_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "0c0eadfbdc47a7ca64aeab51b9c061f71b6e4d25d2d87674512e9b6387e9e3a6", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_x64.tar.gz" - ] - } - }, - "remote_java_tools_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remote_java_tools_linux", - "sha256": "d134da9b04c9023fb6e56a5d4bffccee73f7bc9572ddc4e747778dacccd7a5a7", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools_linux-v13.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools_linux-v13.1.zip" - ] - } - }, - "remotejdk21_win": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_win", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "e9959d500a0d9a7694ac243baf657761479da132f0f94720cbffd092150bd802", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-win_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-win_x64.zip", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-win_x64.zip" - ] - } - }, - "remotejdk21_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 21,\n)\n", - "sha256": "1fb64b8036c5d463d8ab59af06bf5b6b006811e6012e3b0eb6bccf57f1c55835", - "strip_prefix": "zulu21.28.85-ca-jdk21.0.0-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu21.28.85-ca-jdk21.0.0-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk11_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_s390x": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_s390x", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a58fc0361966af0a5d5a31a2d8a208e3c9bb0f54f345596fd80b99ea9a39788b", - "strip_prefix": "jdk-11.0.15+10", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz", - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_s390x_linux_hotspot_11.0.15_10.tar.gz" - ] - } - }, - "remotejdk17_linux_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "6531cef61e416d5a7b691555c8cf2bdff689201b8a001ff45ab6740062b44313", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-linux_aarch64.tar.gz" - ] - } - }, - "remotejdk17_win_arm64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_win_arm64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win_arm64//:jdk\",\n)\n" - } - }, - "remotejdk11_linux": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_linux", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a34b404f87a08a61148b38e1416d837189e1df7a040d949e743633daf4695a3c", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-linux_x64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-linux_x64.tar.gz" - ] - } - }, - "remotejdk11_macos_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_macos_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:macos\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_macos//:jdk\",\n)\n" - } - }, - "remotejdk17_linux_ppc64le_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_ppc64le_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:ppc\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_linux_ppc64le//:jdk\",\n)\n" - } - }, - "remotejdk17_win_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_win_arm64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "6802c99eae0d788e21f52d03cab2e2b3bf42bc334ca03cbf19f71eb70ee19f85", - "strip_prefix": "zulu17.44.53-ca-jdk17.0.8.1-win_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip", - "https://cdn.azul.com/zulu/bin/zulu17.44.53-ca-jdk17.0.8.1-win_aarch64.zip" - ] - } - }, - "remote_java_tools_darwin_arm64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remote_java_tools_darwin_arm64", - "sha256": "dab5bb87ec43e980faea6e1cec14bafb217b8e2f5346f53aa784fd715929a930", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools_darwin_arm64-v13.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools_darwin_arm64-v13.1.zip" - ] - } - }, - "remotejdk17_linux_ppc64le": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_ppc64le", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "00a4c07603d0218cd678461b5b3b7e25b3253102da4022d31fc35907f21a2efd", - "strip_prefix": "jdk-17.0.8.1+1", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz", - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_ppc64le_linux_hotspot_17.0.8.1_1.tar.gz" - ] - } - }, - "remotejdk21_linux_aarch64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_linux_aarch64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:linux\", \"@platforms//cpu:aarch64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_linux_aarch64//:jdk\",\n)\n" - } - }, - "remotejdk11_win_arm64_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_win_arm64_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_11\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"11\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:arm64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk11_win_arm64//:jdk\",\n)\n" - } - }, - "local_jdk": { - "bzlFile": "@@rules_java~7.1.0//toolchains:local_java_repository.bzl", - "ruleClassName": "_local_java_repository_rule", - "attributes": { - "name": "rules_java~7.1.0~toolchains~local_jdk", - "java_home": "", - "version": "", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = {RUNTIME_VERSION},\n)\n" - } - }, - "remote_java_tools_darwin_x86_64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remote_java_tools_darwin_x86_64", - "sha256": "0db40d8505a2b65ef0ed46e4256757807db8162f7acff16225be57c1d5726dbc", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools_darwin_x86_64-v13.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools_darwin_x86_64-v13.1.zip" - ] - } - }, - "remote_java_tools": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remote_java_tools", - "sha256": "286bdbbd66e616fc4ed3f90101418729a73baa7e8c23a98ffbef558f74c0ad14", - "urls": [ - "https://mirror.bazel.build/bazel_java_tools/releases/java/v13.1/java_tools-v13.1.zip", - "https://github.com/bazelbuild/java_tools/releases/download/java_v13.1/java_tools-v13.1.zip" - ] - } - }, - "remotejdk17_linux_s390x": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_linux_s390x", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 17,\n)\n", - "sha256": "ffacba69c6843d7ca70d572489d6cc7ab7ae52c60f0852cedf4cf0d248b6fc37", - "strip_prefix": "jdk-17.0.8.1+1", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz", - "https://github.com/adoptium/temurin17-binaries/releases/download/jdk-17.0.8.1%2B1/OpenJDK17U-jdk_s390x_linux_hotspot_17.0.8.1_1.tar.gz" - ] - } - }, - "remotejdk17_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk17_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_17\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"17\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk17_win//:jdk\",\n)\n" - } - }, - "remotejdk11_linux_ppc64le": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_linux_ppc64le", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "a8fba686f6eb8ae1d1a9566821dbd5a85a1108b96ad857fdbac5c1e4649fc56f", - "strip_prefix": "jdk-11.0.15+10", - "urls": [ - "https://mirror.bazel.build/github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz", - "https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.15+10/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.15_10.tar.gz" - ] - } - }, - "remotejdk11_macos_aarch64": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk11_macos_aarch64", - "build_file_content": "load(\"@rules_java//java:defs.bzl\", \"java_runtime\")\n\npackage(default_visibility = [\"//visibility:public\"])\n\nexports_files([\"WORKSPACE\", \"BUILD.bazel\"])\n\nfilegroup(\n name = \"jre\",\n srcs = glob(\n [\n \"jre/bin/**\",\n \"jre/lib/**\",\n ],\n allow_empty = True,\n # In some configurations, Java browser plugin is considered harmful and\n # common antivirus software blocks access to npjp2.dll interfering with Bazel,\n # so do not include it in JRE on Windows.\n exclude = [\"jre/bin/plugin2/**\"],\n ),\n)\n\nfilegroup(\n name = \"jdk-bin\",\n srcs = glob(\n [\"bin/**\"],\n # The JDK on Windows sometimes contains a directory called\n # \"%systemroot%\", which is not a valid label.\n exclude = [\"**/*%*/**\"],\n ),\n)\n\n# This folder holds security policies.\nfilegroup(\n name = \"jdk-conf\",\n srcs = glob(\n [\"conf/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-include\",\n srcs = glob(\n [\"include/**\"],\n allow_empty = True,\n ),\n)\n\nfilegroup(\n name = \"jdk-lib\",\n srcs = glob(\n [\"lib/**\", \"release\"],\n allow_empty = True,\n exclude = [\n \"lib/missioncontrol/**\",\n \"lib/visualvm/**\",\n ],\n ),\n)\n\njava_runtime(\n name = \"jdk\",\n srcs = [\n \":jdk-bin\",\n \":jdk-conf\",\n \":jdk-include\",\n \":jdk-lib\",\n \":jre\",\n ],\n # Provide the 'java` binary explicitly so that the correct path is used by\n # Bazel even when the host platform differs from the execution platform.\n # Exactly one of the two globs will be empty depending on the host platform.\n # When --incompatible_disallow_empty_glob is enabled, each individual empty\n # glob will fail without allow_empty = True, even if the overall result is\n # non-empty.\n java = glob([\"bin/java.exe\", \"bin/java\"], allow_empty = True)[0],\n version = 11,\n)\n", - "sha256": "7632bc29f8a4b7d492b93f3bc75a7b61630894db85d136456035ab2a24d38885", - "strip_prefix": "zulu11.66.15-ca-jdk11.0.20-macosx_aarch64", - "urls": [ - "https://mirror.bazel.build/cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz", - "https://cdn.azul.com/zulu/bin/zulu11.66.15-ca-jdk11.0.20-macosx_aarch64.tar.gz" - ] - } - }, - "remotejdk21_win_toolchain_config_repo": { - "bzlFile": "@@rules_java~7.1.0//toolchains:remote_java_repository.bzl", - "ruleClassName": "_toolchain_config", - "attributes": { - "name": "rules_java~7.1.0~toolchains~remotejdk21_win_toolchain_config_repo", - "build_file": "\nconfig_setting(\n name = \"prefix_version_setting\",\n values = {\"java_runtime_version\": \"remotejdk_21\"},\n visibility = [\"//visibility:private\"],\n)\nconfig_setting(\n name = \"version_setting\",\n values = {\"java_runtime_version\": \"21\"},\n visibility = [\"//visibility:private\"],\n)\nalias(\n name = \"version_or_prefix_version_setting\",\n actual = select({\n \":version_setting\": \":version_setting\",\n \"//conditions:default\": \":prefix_version_setting\",\n }),\n visibility = [\"//visibility:private\"],\n)\ntoolchain(\n name = \"toolchain\",\n target_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\ntoolchain(\n name = \"bootstrap_runtime_toolchain\",\n # These constraints are not required for correctness, but prevent fetches of remote JDK for\n # different architectures. As every Java compilation toolchain depends on a bootstrap runtime in\n # the same configuration, this constraint will not result in toolchain resolution failures.\n exec_compatible_with = [\"@platforms//os:windows\", \"@platforms//cpu:x86_64\"],\n target_settings = [\":version_or_prefix_version_setting\"],\n toolchain_type = \"@bazel_tools//tools/jdk:bootstrap_runtime_toolchain_type\",\n toolchain = \"@remotejdk21_win//:jdk\",\n)\n" - } - } - } - } - }, - "@@rules_kotlin~1.9.0//src/main/starlark/core/repositories:bzlmod_setup.bzl%rules_kotlin_extensions": { - "general": { - "bzlTransitiveDigest": "MsG2U6EBrhd0r5706CUJ4kLT+JfMB0uLaQnqfORzIF8=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "rules_android": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_kotlin~1.9.0~rules_kotlin_extensions~rules_android", - "sha256": "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806", - "strip_prefix": "rules_android-0.1.1", - "urls": [ - "https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip" - ] - } - }, - "com_github_pinterest_ktlint": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_file", - "attributes": { - "name": "rules_kotlin~1.9.0~rules_kotlin_extensions~com_github_pinterest_ktlint", - "sha256": "2b3f6f674a944d25bb8d283c3539947bbe86074793012909a55de4b771f74bcc", - "urls": [ - "https://github.com/pinterest/ktlint/releases/download/0.49.1/ktlint" - ], - "executable": true - } - }, - "buildkite_config": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "name": "rules_kotlin~1.9.0~rules_kotlin_extensions~buildkite_config", - "urls": [ - "https://storage.googleapis.com/rbe-toolchain/bazel-configs/rbe-ubuntu1604/latest/rbe_default.tar" - ] - } - }, - "com_github_jetbrains_kotlin": { - "bzlFile": "@@rules_kotlin~1.9.0//src/main/starlark/core/repositories:compiler.bzl", - "ruleClassName": "kotlin_compiler_repository", - "attributes": { - "name": "rules_kotlin~1.9.0~rules_kotlin_extensions~com_github_jetbrains_kotlin", - "urls": [ - "https://github.com/JetBrains/kotlin/releases/download/v1.9.10/kotlin-compiler-1.9.10.zip" - ], - "sha256": "7d74863deecf8e0f28ea54c3735feab003d0eac67e8d3a791254b16889c20342", - "compiler_version": "1.9.10" - } - }, - "com_github_google_ksp": { - "bzlFile": "@@rules_kotlin~1.9.0//src/main/starlark/core/repositories:ksp.bzl", - "ruleClassName": "ksp_compiler_plugin_repository", - "attributes": { - "name": "rules_kotlin~1.9.0~rules_kotlin_extensions~com_github_google_ksp", - "urls": [ - "https://github.com/google/ksp/releases/download/1.9.10-1.0.13/artifacts.zip" - ], - "sha256": "5b0b1179e8af40877d9d5929ec0260afb104956eabf2f23bb5568cfd6c20b37b", - "strip_version": "1.9.10-1.0.13" - } - }, - "kt_java_stub_template": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_file", - "attributes": { - "name": "rules_kotlin~1.9.0~rules_kotlin_extensions~kt_java_stub_template", - "urls": [ - "https://raw.githubusercontent.com/bazelbuild/bazel/6.2.1/src/main/java/com/google/devtools/build/lib/bazel/rules/java/java_stub_template.txt" - ], - "sha256": "78e29525872594ffc783c825f428b3e61d4f3e632f46eaa64f004b2814c4a612" - } - } - } - } - }, - "@@rules_python~0.23.1//python/extensions:python.bzl%python": { - "general": { - "bzlTransitiveDigest": "Or2+91waIU36GKo0Eu4ACuYretljb/H/cO/nEBpXSvw=", - "accumulatedFileDigests": {}, - "envVariables": {}, - "generatedRepoSpecs": { - "python_aliases": { - "bzlFile": "@@rules_python~0.23.1//python/private:toolchains_repo.bzl", - "ruleClassName": "multi_toolchain_aliases", - "attributes": { - "name": "rules_python~0.23.1~python~python_aliases", - "python_versions": { - "3.11": "python_3_11" - } - } - }, - "python_3_11": { - "bzlFile": "@@rules_python~0.23.1//python/private:toolchains_repo.bzl", - "ruleClassName": "toolchain_aliases", - "attributes": { - "name": "rules_python~0.23.1~python~python_3_11", - "python_version": "3.11.1", - "user_repository_name": "python_3_11" - } - }, - "python_3_11_aarch64-unknown-linux-gnu": { - "bzlFile": "@@rules_python~0.23.1//python:repositories.bzl", - "ruleClassName": "python_repository", - "attributes": { - "name": "rules_python~0.23.1~python~python_3_11_aarch64-unknown-linux-gnu", - "sha256": "debf15783bdcb5530504f533d33fda75a7b905cec5361ae8f33da5ba6599f8b4", - "patches": [], - "platform": "aarch64-unknown-linux-gnu", - "python_version": "3.11.1", - "release_filename": "20230116/cpython-3.11.1+20230116-aarch64-unknown-linux-gnu-install_only.tar.gz", - "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230116/cpython-3.11.1+20230116-aarch64-unknown-linux-gnu-install_only.tar.gz" - ], - "distutils_content": "", - "strip_prefix": "python", - "ignore_root_user_error": false - } - }, - "python_3_11_aarch64-apple-darwin": { - "bzlFile": "@@rules_python~0.23.1//python:repositories.bzl", - "ruleClassName": "python_repository", - "attributes": { - "name": "rules_python~0.23.1~python~python_3_11_aarch64-apple-darwin", - "sha256": "4918cdf1cab742a90f85318f88b8122aeaa2d04705803c7b6e78e81a3dd40f80", - "patches": [], - "platform": "aarch64-apple-darwin", - "python_version": "3.11.1", - "release_filename": "20230116/cpython-3.11.1+20230116-aarch64-apple-darwin-install_only.tar.gz", - "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230116/cpython-3.11.1+20230116-aarch64-apple-darwin-install_only.tar.gz" - ], - "distutils_content": "", - "strip_prefix": "python", - "ignore_root_user_error": false - } - }, - "python_3_11_x86_64-apple-darwin": { - "bzlFile": "@@rules_python~0.23.1//python:repositories.bzl", - "ruleClassName": "python_repository", - "attributes": { - "name": "rules_python~0.23.1~python~python_3_11_x86_64-apple-darwin", - "sha256": "20a4203d069dc9b710f70b09e7da2ce6f473d6b1110f9535fb6f4c469ed54733", - "patches": [], - "platform": "x86_64-apple-darwin", - "python_version": "3.11.1", - "release_filename": "20230116/cpython-3.11.1+20230116-x86_64-apple-darwin-install_only.tar.gz", - "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230116/cpython-3.11.1+20230116-x86_64-apple-darwin-install_only.tar.gz" - ], - "distutils_content": "", - "strip_prefix": "python", - "ignore_root_user_error": false - } - }, - "pythons_hub": { - "bzlFile": "@@rules_python~0.23.1//python/extensions/private:pythons_hub.bzl", - "ruleClassName": "hub_repo", - "attributes": { - "name": "rules_python~0.23.1~python~pythons_hub", - "toolchain_prefixes": [ - "_0000_python_3_11_" - ], - "toolchain_python_versions": [ - "3.11" - ], - "toolchain_set_python_version_constraints": [ - "False" - ], - "toolchain_user_repository_names": [ - "python_3_11" - ] - } - }, - "python_3_11_x86_64-pc-windows-msvc": { - "bzlFile": "@@rules_python~0.23.1//python:repositories.bzl", - "ruleClassName": "python_repository", - "attributes": { - "name": "rules_python~0.23.1~python~python_3_11_x86_64-pc-windows-msvc", - "sha256": "edc08979cb0666a597466176511529c049a6f0bba8adf70df441708f766de5bf", - "patches": [], - "platform": "x86_64-pc-windows-msvc", - "python_version": "3.11.1", - "release_filename": "20230116/cpython-3.11.1+20230116-x86_64-pc-windows-msvc-shared-install_only.tar.gz", - "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230116/cpython-3.11.1+20230116-x86_64-pc-windows-msvc-shared-install_only.tar.gz" - ], - "distutils_content": "", - "strip_prefix": "python", - "ignore_root_user_error": false - } - }, - "python_3_11_x86_64-unknown-linux-gnu": { - "bzlFile": "@@rules_python~0.23.1//python:repositories.bzl", - "ruleClassName": "python_repository", - "attributes": { - "name": "rules_python~0.23.1~python~python_3_11_x86_64-unknown-linux-gnu", - "sha256": "02a551fefab3750effd0e156c25446547c238688a32fabde2995c941c03a6423", - "patches": [], - "platform": "x86_64-unknown-linux-gnu", - "python_version": "3.11.1", - "release_filename": "20230116/cpython-3.11.1+20230116-x86_64-unknown-linux-gnu-install_only.tar.gz", - "urls": [ - "https://github.com/indygreg/python-build-standalone/releases/download/20230116/cpython-3.11.1+20230116-x86_64-unknown-linux-gnu-install_only.tar.gz" - ], - "distutils_content": "", - "strip_prefix": "python", - "ignore_root_user_error": false - } - } - } - } - } - } + "selectedYankedVersions": {}, + "moduleExtensions": {} } diff --git a/examples/android_local_test/MODULE.bazel b/examples/android_local_test/MODULE.bazel index 00bb18361..1085f3dd1 100644 --- a/examples/android_local_test/MODULE.bazel +++ b/examples/android_local_test/MODULE.bazel @@ -1,6 +1,33 @@ -############################################################################### -# Bazel now uses Bzlmod by default to manage external dependencies. -# Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. +module(name = "rules_jvm_external_example_android_local_test") + +bazel_dep(name = "rules_android", version = "0.7.1") +bazel_dep(name = "rules_jvm_external", version = "ignored") +bazel_dep(name = "rules_robolectric", version = "4.16", repo_name = "robolectric") + +local_path_override( + module_name = "rules_jvm_external", + path = "../../", +) + +# # Android SDK setup for bzlmod +# android_sdk_repository_extension = use_extension("@rules_android//rules/android_sdk_repository:rule.bzl", "android_sdk_repository_extension") +# use_repo(android_sdk_repository_extension, "androidsdk") # -# For more details, please check https://github.com/bazelbuild/bazel/issues/18958 -############################################################################### +# register_toolchains("@androidsdk//:sdk-toolchain", "@androidsdk//:all") + +maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") +maven.install( + artifacts = [ + "androidx.appcompat:appcompat:1.0.2", + "androidx.test.ext:junit:1.3.0", + "junit:junit:4.13.2", + "org.robolectric:robolectric:4.16", + "org.assertj:assertj-core:3.12.1", + ], + lock_file = "//:maven_install.json", + repositories = [ + "https://maven.google.com", + "https://repo1.maven.org/maven2", + ], +) +use_repo(maven, "maven") diff --git a/examples/android_local_test/src/main/BUILD b/examples/android_local_test/src/main/BUILD index ce1ed1be9..2a89cdcf0 100644 --- a/examples/android_local_test/src/main/BUILD +++ b/examples/android_local_test/src/main/BUILD @@ -1,3 +1,4 @@ +load("@rules_android//android:rules.bzl", "android_library") load("@rules_jvm_external//:defs.bzl", "artifact") android_library( diff --git a/examples/android_local_test/src/test/BUILD b/examples/android_local_test/src/test/BUILD index 6c2e214df..a20c6513f 100644 --- a/examples/android_local_test/src/test/BUILD +++ b/examples/android_local_test/src/test/BUILD @@ -1,3 +1,5 @@ +load("@rules_android//android:rules.bzl", "android_local_test") + android_local_test( name = "main_activity_test", srcs = ["java/com/example/bazel/MainActivityTest.java"], diff --git a/examples/bzlmod/.bazelrc b/examples/bzlmod/.bazelrc index 45d70658f..0c4785f6a 100644 --- a/examples/bzlmod/.bazelrc +++ b/examples/bzlmod/.bazelrc @@ -1,12 +1,19 @@ -import ../../.bazelrc +# Common settings (not importing root .bazelrc to avoid protobuf-specific flags) +common --enable_runfiles common --enable_bzlmod common --incompatible_use_plus_in_repo_names -common --check_direct_dependencies=error +common --check_direct_dependencies=warning build --java_language_version=11 +build --java_runtime_version=remotejdk_11 build --tool_java_language_version=11 +build --tool_java_runtime_version=remotejdk_11 + +# Make sure we get something helpful when tests fail +test --verbose_failures +test --test_output=errors # Verify that we can share a lock file common:bazel5 --enable_bzlmod=false diff --git a/examples/bzlmod/maven_install.json b/examples/bzlmod/maven_install.json index 5220245ca..7bab6566c 100644 --- a/examples/bzlmod/maven_install.json +++ b/examples/bzlmod/maven_install.json @@ -1,7 +1,137 @@ { "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", - "__INPUT_ARTIFACTS_HASH": 882700655, - "__RESOLVED_ARTIFACTS_HASH": -1576018610, + "__INPUT_ARTIFACTS_HASH": { + "com.google.guava:guava": -2104900507, + "org.seleniumhq.selenium:selenium-java": 609137176, + "repositories": -1949687017 + }, + "__RESOLVED_ARTIFACTS_HASH": { + "com.beust:jcommander": -2120169146, + "com.beust:jcommander:jar:sources": -171511633, + "com.google.auto.service:auto-service": -640582833, + "com.google.auto.service:auto-service-annotations": 1999106941, + "com.google.auto.service:auto-service-annotations:jar:sources": 1716120839, + "com.google.auto.service:auto-service:jar:sources": -698163007, + "com.google.auto:auto-common": 976296045, + "com.google.auto:auto-common:jar:sources": -1068286625, + "com.google.code.findbugs:jsr305": 870839855, + "com.google.code.findbugs:jsr305:jar:sources": -935881202, + "com.google.errorprone:error_prone_annotations": -924787181, + "com.google.errorprone:error_prone_annotations:jar:sources": 635389301, + "com.google.guava:failureaccess": -1890754729, + "com.google.guava:failureaccess:jar:sources": 1500322647, + "com.google.guava:guava": -943061875, + "com.google.guava:guava:jar:sources": 724367047, + "com.google.guava:listenablefuture": 1079558157, + "com.google.j2objc:j2objc-annotations": 880287147, + "com.google.j2objc:j2objc-annotations:jar:sources": -1634287302, + "com.sun.activation:jakarta.activation": -397987846, + "com.sun.activation:jakarta.activation:jar:sources": 1905774893, + "com.typesafe.netty:netty-reactive-streams": -1733261573, + "com.typesafe.netty:netty-reactive-streams:jar:sources": -1825536412, + "dev.failsafe:failsafe": 1578925671, + "dev.failsafe:failsafe:jar:sources": -1874408752, + "io.netty:netty-buffer": 1933549317, + "io.netty:netty-buffer:jar:sources": 151686146, + "io.netty:netty-codec": -1676017875, + "io.netty:netty-codec-http": 1486617196, + "io.netty:netty-codec-http:jar:sources": 342492839, + "io.netty:netty-codec-socks": -57732003, + "io.netty:netty-codec-socks:jar:sources": -274571447, + "io.netty:netty-codec:jar:sources": 1661943137, + "io.netty:netty-common": -1859254090, + "io.netty:netty-common:jar:sources": 1524390812, + "io.netty:netty-handler": 740949538, + "io.netty:netty-handler-proxy": 1171715562, + "io.netty:netty-handler-proxy:jar:sources": 907740687, + "io.netty:netty-handler:jar:sources": -630469411, + "io.netty:netty-resolver": 842665747, + "io.netty:netty-resolver:jar:sources": 1469990900, + "io.netty:netty-transport": -1683202586, + "io.netty:netty-transport-classes-epoll": -1091251947, + "io.netty:netty-transport-classes-epoll:jar:sources": 330603671, + "io.netty:netty-transport-classes-kqueue": 106669601, + "io.netty:netty-transport-classes-kqueue:jar:sources": -29074757, + "io.netty:netty-transport-native-epoll": -1241646076, + "io.netty:netty-transport-native-epoll:jar:sources": 2006695952, + "io.netty:netty-transport-native-kqueue": 170161048, + "io.netty:netty-transport-native-kqueue:jar:sources": -702925003, + "io.netty:netty-transport-native-unix-common": -9637435, + "io.netty:netty-transport-native-unix-common:jar:sources": 800839618, + "io.netty:netty-transport:jar:sources": -519027994, + "io.opentelemetry:opentelemetry-api": -1093868544, + "io.opentelemetry:opentelemetry-api:jar:sources": -25462074, + "io.opentelemetry:opentelemetry-context": 1457562165, + "io.opentelemetry:opentelemetry-context:jar:sources": -1998927389, + "io.opentelemetry:opentelemetry-exporter-logging": 1418430230, + "io.opentelemetry:opentelemetry-exporter-logging:jar:sources": -2073524206, + "io.opentelemetry:opentelemetry-sdk": 157294975, + "io.opentelemetry:opentelemetry-sdk-common": 158614961, + "io.opentelemetry:opentelemetry-sdk-common:jar:sources": 1602875731, + "io.opentelemetry:opentelemetry-sdk-extension-autoconfigure": -2103237751, + "io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi": 194624020, + "io.opentelemetry:opentelemetry-sdk-extension-autoconfigure-spi:jar:sources": -1029318650, + "io.opentelemetry:opentelemetry-sdk-extension-autoconfigure:jar:sources": 1070940900, + "io.opentelemetry:opentelemetry-sdk-logs": 659147055, + "io.opentelemetry:opentelemetry-sdk-logs:jar:sources": -1265499779, + "io.opentelemetry:opentelemetry-sdk-metrics": -1669466013, + "io.opentelemetry:opentelemetry-sdk-metrics:jar:sources": -1969605360, + "io.opentelemetry:opentelemetry-sdk-trace": -1124621047, + "io.opentelemetry:opentelemetry-sdk-trace:jar:sources": -1271055340, + "io.opentelemetry:opentelemetry-sdk:jar:sources": -513780481, + "io.opentelemetry:opentelemetry-semconv": -238199949, + "io.opentelemetry:opentelemetry-semconv:jar:sources": -1689562216, + "io.ous:jtoml": 1433793240, + "io.ous:jtoml:jar:sources": -547048056, + "net.bytebuddy:byte-buddy": 1515953748, + "net.bytebuddy:byte-buddy:jar:sources": 910458089, + "org.apache.commons:commons-exec": 2113995192, + "org.apache.commons:commons-exec:jar:sources": -941120995, + "org.asynchttpclient:async-http-client": -335315732, + "org.asynchttpclient:async-http-client-netty-utils": 329078299, + "org.asynchttpclient:async-http-client-netty-utils:jar:sources": -89898597, + "org.asynchttpclient:async-http-client:jar:sources": 1330921963, + "org.checkerframework:checker-qual": -1034954841, + "org.checkerframework:checker-qual:jar:sources": -454311465, + "org.reactivestreams:reactive-streams": -164947187, + "org.reactivestreams:reactive-streams:jar:sources": -122882922, + "org.seleniumhq.selenium:selenium-api": 1935805899, + "org.seleniumhq.selenium:selenium-api:jar:sources": 1645247643, + "org.seleniumhq.selenium:selenium-chrome-driver": -46854031, + "org.seleniumhq.selenium:selenium-chrome-driver:jar:sources": 1654307634, + "org.seleniumhq.selenium:selenium-chromium-driver": -946507416, + "org.seleniumhq.selenium:selenium-chromium-driver:jar:sources": -321517195, + "org.seleniumhq.selenium:selenium-devtools-v102": 572738017, + "org.seleniumhq.selenium:selenium-devtools-v102:jar:sources": -704176536, + "org.seleniumhq.selenium:selenium-devtools-v103": 244739298, + "org.seleniumhq.selenium:selenium-devtools-v103:jar:sources": -302123926, + "org.seleniumhq.selenium:selenium-devtools-v104": -2051403169, + "org.seleniumhq.selenium:selenium-devtools-v104:jar:sources": 698448560, + "org.seleniumhq.selenium:selenium-devtools-v85": -700284695, + "org.seleniumhq.selenium:selenium-devtools-v85:jar:sources": -1678431106, + "org.seleniumhq.selenium:selenium-edge-driver": 13208183, + "org.seleniumhq.selenium:selenium-edge-driver:jar:sources": 1777285551, + "org.seleniumhq.selenium:selenium-firefox-driver": 811411299, + "org.seleniumhq.selenium:selenium-firefox-driver:jar:sources": -9961482, + "org.seleniumhq.selenium:selenium-http": -294155994, + "org.seleniumhq.selenium:selenium-http:jar:sources": 581072911, + "org.seleniumhq.selenium:selenium-ie-driver": 1805982180, + "org.seleniumhq.selenium:selenium-ie-driver:jar:sources": 991292453, + "org.seleniumhq.selenium:selenium-java": -1782596673, + "org.seleniumhq.selenium:selenium-java:jar:sources": -1216910101, + "org.seleniumhq.selenium:selenium-json": -2097627616, + "org.seleniumhq.selenium:selenium-json:jar:sources": 1436713070, + "org.seleniumhq.selenium:selenium-opera-driver": 690943202, + "org.seleniumhq.selenium:selenium-opera-driver:jar:sources": -1388183595, + "org.seleniumhq.selenium:selenium-remote-driver": 764612857, + "org.seleniumhq.selenium:selenium-remote-driver:jar:sources": -1781569352, + "org.seleniumhq.selenium:selenium-safari-driver": 473856943, + "org.seleniumhq.selenium:selenium-safari-driver:jar:sources": 402054758, + "org.seleniumhq.selenium:selenium-support": -1692457925, + "org.seleniumhq.selenium:selenium-support:jar:sources": -1085355677, + "org.slf4j:slf4j-api": -801231047, + "org.slf4j:slf4j-api:jar:sources": -1333707138 + }, "artifacts": { "com.beust:jcommander": { "shasums": { @@ -38,19 +168,12 @@ }, "version": "3.0.2" }, - "com.google.code.gson:gson": { - "shasums": { - "jar": "4241c14a7727c34feea6507ec801318a3d4a90f070e4525681079fb94ee4c593", - "sources": "eee1cc5c1f4267ee194cc245777e68084738ef390acd763354ce0ff6bfb7bcc1" - }, - "version": "2.10.1" - }, "com.google.errorprone:error_prone_annotations": { "shasums": { - "jar": "ec6f39f068b6ff9ac323c68e28b9299f8c0a80ca512dccb1d4a70f40ac3ec054", - "sources": "5b4504609bb93d3c24b87cd839cf0bb7d878135d0a917a05081d0dc9b2a9973f" + "jar": "721cb91842b46fa056847d104d5225c8b8e1e8b62263b993051e1e5a0137b7ec", + "sources": "31a8f1bd791fb22c606af95049062a3c8252ce4b1b17555d00dc609e6371101d" }, - "version": "2.23.0" + "version": "2.11.0" }, "com.google.guava:failureaccess": { "shasums": { @@ -74,24 +197,10 @@ }, "com.google.j2objc:j2objc-annotations": { "shasums": { - "jar": "f02a95fa1a5e95edb3ed859fd0fb7df709d121a35290eff8b74dce2ab7f4d6ed", - "sources": "7413eed41f111453a08837f5ac680edded7faed466cbd35745e402e13f4cc3f5" - }, - "version": "2.8" - }, - "com.google.protobuf:protobuf-java": { - "shasums": { - "jar": "becb817df6e8a1a8de2bf5ff0157fa008f23ac037ab30b7ed5cd43662be145d5", - "sources": "b2d6164a8601c83c15edbd79f4967a39e065110111213561350663521ccf5bb4" - }, - "version": "4.27.2" - }, - "com.google.protobuf:protobuf-java-util": { - "shasums": { - "jar": "a2665294d3e4675482bde593df8283f8c965f0207785e8e9b223f790644f5b08", - "sources": "8f318bde0b3b68fb7df0760bf5d818dd7ebcd553155d9be93b4fed373e659847" + "jar": "21af30c92267bd6122c0e0b4d20cccb6641a37eaf956c6540ec471d584e64a7b", + "sources": "ba4df669fec153fa4cd0ef8d02c6d3ef0702b7ac4cabe080facf3b6e490bb972" }, - "version": "4.27.2" + "version": "1.3" }, "com.sun.activation:jakarta.activation": { "shasums": { @@ -481,14 +590,6 @@ "com.google.j2objc:j2objc-annotations", "org.checkerframework:checker-qual" ], - "com.google.protobuf:protobuf-java-util": [ - "com.google.code.findbugs:jsr305", - "com.google.code.gson:gson", - "com.google.errorprone:error_prone_annotations", - "com.google.guava:guava", - "com.google.j2objc:j2objc-annotations", - "com.google.protobuf:protobuf-java" - ], "com.typesafe.netty:netty-reactive-streams": [ "io.netty:netty-handler", "org.reactivestreams:reactive-streams" @@ -804,17 +905,6 @@ "javax.annotation.concurrent", "javax.annotation.meta" ], - "com.google.code.gson:gson": [ - "com.google.gson", - "com.google.gson.annotations", - "com.google.gson.internal", - "com.google.gson.internal.bind", - "com.google.gson.internal.bind.util", - "com.google.gson.internal.reflect", - "com.google.gson.internal.sql", - "com.google.gson.reflect", - "com.google.gson.stream" - ], "com.google.errorprone:error_prone_annotations": [ "com.google.errorprone.annotations", "com.google.errorprone.annotations.concurrent" @@ -845,13 +935,6 @@ "com.google.j2objc:j2objc-annotations": [ "com.google.j2objc.annotations" ], - "com.google.protobuf:protobuf-java": [ - "com.google.protobuf", - "com.google.protobuf.compiler" - ], - "com.google.protobuf:protobuf-java-util": [ - "com.google.protobuf.util" - ], "com.sun.activation:jakarta.activation": [ "com.sun.activation.registries", "com.sun.activation.viewers", @@ -1619,8 +1702,6 @@ "com.google.auto:auto-common:jar:sources", "com.google.code.findbugs:jsr305", "com.google.code.findbugs:jsr305:jar:sources", - "com.google.code.gson:gson", - "com.google.code.gson:gson:jar:sources", "com.google.errorprone:error_prone_annotations", "com.google.errorprone:error_prone_annotations:jar:sources", "com.google.guava:failureaccess", @@ -1630,10 +1711,6 @@ "com.google.guava:listenablefuture", "com.google.j2objc:j2objc-annotations", "com.google.j2objc:j2objc-annotations:jar:sources", - "com.google.protobuf:protobuf-java", - "com.google.protobuf:protobuf-java-util", - "com.google.protobuf:protobuf-java-util:jar:sources", - "com.google.protobuf:protobuf-java:jar:sources", "com.sun.activation:jakarta.activation", "com.sun.activation:jakarta.activation:jar:sources", "com.typesafe.netty:netty-reactive-streams", @@ -1894,5 +1971,5 @@ ] } }, - "version": "2" + "version": "3" } diff --git a/examples/integration.bzl b/examples/integration.bzl new file mode 100644 index 000000000..3fcbf6ec1 --- /dev/null +++ b/examples/integration.bzl @@ -0,0 +1,89 @@ +"""Macros for managing the integration test framework for examples.""" + +load("@bazel_binaries//:defs.bzl", "bazel_binaries") +load( + "@rules_bazel_integration_test//bazel_integration_test:defs.bzl", + "bazel_integration_test", + "default_test_runner", +) + +def derive_example_metadata(directory): + """Derive metadata for an example directory. + + Args: + directory: The example directory name. + + Returns: + A struct with workspace_files and has_module fields. + """ + return struct( + directory = directory, + # Include example files + root-level files needed for local_path_override(path = "../../") + workspace_files = native.glob( + ["%s/**/**" % directory], + # exclude any bazel directories if existing + exclude = ["%s/bazel-*/**" % directory], + ) + ["//:local_repository_files"], + exclude = [ + # Version exclusions - create a file like `exclude/8.x` to skip that version + version.rpartition("/")[2] + for version in native.glob( + ["%s/exclude/*" % directory], + allow_empty = True, + ) + ], + only = [ + # Version inclusions - create a file like `only/8.x` to only run that version + version.rpartition("/")[2] + for version in native.glob( + ["%s/only/*" % directory], + allow_empty = True, + ) + ], + has_module = len(native.glob( + ["%s/MODULE.bazel" % directory, "%s/MODULE" % directory], + allow_empty = True, + )) > 0, + ) + +def example_integration_test_suite(name, metadata, tags = []): + """Create integration tests for an example across all Bazel versions. + + Only bzlmod is supported (no WORKSPACE mode). + + Args: + name: The name of the example/test suite. + metadata: The metadata struct from derive_example_metadata. + tags: Additional tags for the tests. + """ + if not metadata.has_module: + # Skip examples without MODULE.bazel (bzlmod only) + return + + for version in bazel_binaries.versions.all: + if version in metadata.only or (not metadata.only and version not in metadata.exclude): + clean_bazel_version = Label(version).name + + test_runner_name = "%s_%s_test_runner" % (name, clean_bazel_version) + default_test_runner( + name = test_runner_name, + bazel_cmds = [ + "info", + "build //...", + ], + ) + + bazel_integration_test( + name = "%s_%s_test" % (name, clean_bazel_version), + timeout = "eternal", + bazel_version = version, + tags = tags + [clean_bazel_version, name, "bzlmod", "examples"], + test_runner = test_runner_name, + workspace_files = metadata.workspace_files, + workspace_path = metadata.directory, + ) + + native.test_suite( + name = name, + tags = [name, "-manual"], + ) diff --git a/examples/java-export/.bazelrc b/examples/java-export/.bazelrc index e64c14c10..f787b7a4c 100644 --- a/examples/java-export/.bazelrc +++ b/examples/java-export/.bazelrc @@ -1,3 +1,6 @@ +common --enable_bzlmod +common --enable_workspace=false + # Set the default java toolchain build --java_runtime_version=remotejdk_11 build --tool_java_language_version=11 @@ -15,3 +18,7 @@ common:windows --host_cxxopt=/std:c++17 # Enable protobuf MSVC support on Windows build:windows --define=protobuf_allow_msvc=true + +# Proto toolchain resolution +common --incompatible_enable_proto_toolchain_resolution +common --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=true diff --git a/examples/java-export/MODULE.bazel b/examples/java-export/MODULE.bazel index 81c1c1b51..4ced7368c 100644 --- a/examples/java-export/MODULE.bazel +++ b/examples/java-export/MODULE.bazel @@ -1,8 +1,9 @@ module(name = "rules_jvm_external_example_java_export") -protobuf_version = "31.1" +protobuf_version = "33.4" bazel_dep(name = "protobuf", version = protobuf_version, repo_name = "com_google_protobuf") +bazel_dep(name = "rules_java", version = "8.13.0") bazel_dep(name = "rules_jvm_external", version = "ignored") bazel_dep(name = "rules_proto", version = "7.1.0") diff --git a/examples/java-export/maven_install.json b/examples/java-export/maven_install.json index 6258a16dd..851302b26 100644 --- a/examples/java-export/maven_install.json +++ b/examples/java-export/maven_install.json @@ -1,9 +1,26 @@ { "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", - "__INPUT_ARTIFACTS_HASH": 686997265, - "__RESOLVED_ARTIFACTS_HASH": -8035072, - "conflict_resolution": { - "com.google.guava:guava:29.0-jre": "com.google.guava:guava:33.0.0-jre" + "__INPUT_ARTIFACTS_HASH": { + "com.google.guava:guava": 1355716687, + "com.google.protobuf:protobuf-java": 1906581597, + "repositories": -1949687017 + }, + "__RESOLVED_ARTIFACTS_HASH": { + "com.google.code.findbugs:jsr305": 870839855, + "com.google.code.findbugs:jsr305:jar:sources": -935881202, + "com.google.errorprone:error_prone_annotations": -1020744963, + "com.google.errorprone:error_prone_annotations:jar:sources": 1477426655, + "com.google.guava:failureaccess": -1890754729, + "com.google.guava:failureaccess:jar:sources": 1500322647, + "com.google.guava:guava": 1636661077, + "com.google.guava:guava:jar:sources": -235897617, + "com.google.guava:listenablefuture": 1079558157, + "com.google.j2objc:j2objc-annotations": 880287147, + "com.google.j2objc:j2objc-annotations:jar:sources": -1634287302, + "com.google.protobuf:protobuf-java": 1957269082, + "com.google.protobuf:protobuf-java:jar:sources": 1812626912, + "org.checkerframework:checker-qual": 1669273484, + "org.checkerframework:checker-qual:jar:sources": -281708874 }, "artifacts": { "com.google.code.findbugs:jsr305": { @@ -13,33 +30,26 @@ }, "version": "3.0.2" }, - "com.google.code.gson:gson": { - "shasums": { - "jar": "4241c14a7727c34feea6507ec801318a3d4a90f070e4525681079fb94ee4c593", - "sources": "eee1cc5c1f4267ee194cc245777e68084738ef390acd763354ce0ff6bfb7bcc1" - }, - "version": "2.10.1" - }, "com.google.errorprone:error_prone_annotations": { "shasums": { - "jar": "ec6f39f068b6ff9ac323c68e28b9299f8c0a80ca512dccb1d4a70f40ac3ec054", - "sources": "5b4504609bb93d3c24b87cd839cf0bb7d878135d0a917a05081d0dc9b2a9973f" + "jar": "baf7d6ea97ce606c53e11b6854ba5f2ce7ef5c24dddf0afa18d1260bd25b002c", + "sources": "0b1011d1e2ea2eab35a545cffd1cff3877f131134c8020885e8eaf60a7d72f91" }, - "version": "2.23.0" + "version": "2.3.4" }, "com.google.guava:failureaccess": { "shasums": { - "jar": "8a8f81cf9b359e3f6dfa691a1e776985c061ef2f223c9b2c80753e1b458e8064", - "sources": "dd3bfa5e2ec5bc5397efb2c3cef044c192313ff77089573667ff97a60c6978e0" + "jar": "a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26", + "sources": "092346eebbb1657b51aa7485a246bf602bb464cc0b0e2e1c7e7201fadce1e98f" }, - "version": "1.0.2" + "version": "1.0.1" }, "com.google.guava:guava": { "shasums": { - "jar": "f4d85c3e4d411694337cb873abea09b242b664bb013320be6105327c45991537", - "sources": "0c17d911785e8a606d091aa6740d6d520f307749c2bddf6e35066d52fe0036e5" + "jar": "b22c5fb66d61e7b9522531d04b2f915b5158e80aa0b40ee7282c8bfb07b0da25", + "sources": "cfcbe29dd5125f5b360370b4ecd7f7ef44fba68f4f037e90bce7315682afc0ea" }, - "version": "33.0.0-jre" + "version": "29.0-jre" }, "com.google.guava:listenablefuture": { "shasums": { @@ -49,31 +59,24 @@ }, "com.google.j2objc:j2objc-annotations": { "shasums": { - "jar": "f02a95fa1a5e95edb3ed859fd0fb7df709d121a35290eff8b74dce2ab7f4d6ed", - "sources": "7413eed41f111453a08837f5ac680edded7faed466cbd35745e402e13f4cc3f5" + "jar": "21af30c92267bd6122c0e0b4d20cccb6641a37eaf956c6540ec471d584e64a7b", + "sources": "ba4df669fec153fa4cd0ef8d02c6d3ef0702b7ac4cabe080facf3b6e490bb972" }, - "version": "2.8" + "version": "1.3" }, "com.google.protobuf:protobuf-java": { "shasums": { - "jar": "d60dfe7c68a0d38a248cca96924f289dc7e1966a887ee7cae397701af08575ae", - "sources": "0c1f6ecb409099c008358866086ea6e39f0f4b88e783ebb4c876ec0bbcee0e41" - }, - "version": "4.31.1" - }, - "com.google.protobuf:protobuf-java-util": { - "shasums": { - "jar": "a2665294d3e4675482bde593df8283f8c965f0207785e8e9b223f790644f5b08", - "sources": "8f318bde0b3b68fb7df0760bf5d818dd7ebcd553155d9be93b4fed373e659847" + "jar": "3ca892fd6ea8b37d01bb6917dbc0bf2637548b756753f65a28d4f1d4d982347f", + "sources": "ed30fe6a51c7c15a6f123448304c97185f2039f2aeca9d5e3b4f53de3a4c813c" }, - "version": "4.27.2" + "version": "4.33.4" }, "org.checkerframework:checker-qual": { "shasums": { - "jar": "2f9f245bf68e4259d610894f2406dc1f6363dc639302bd566e8272e4f4541172", - "sources": "8308220bbdd4e12b49fa06a91de685faf9cc1a376464478c80845be3e87b7d4f" + "jar": "015224a4b1dc6de6da053273d4da7d39cfea20e63038169fc45ac0d1dc9c5938", + "sources": "7d3b990687be9b980a9dc7853f4b0f279eb437e28efe3c9903acaf20450f55b5" }, - "version": "3.41.0" + "version": "2.11.1" } }, "dependencies": { @@ -84,14 +87,6 @@ "com.google.guava:listenablefuture", "com.google.j2objc:j2objc-annotations", "org.checkerframework:checker-qual" - ], - "com.google.protobuf:protobuf-java-util": [ - "com.google.code.findbugs:jsr305", - "com.google.code.gson:gson", - "com.google.errorprone:error_prone_annotations", - "com.google.guava:guava", - "com.google.j2objc:j2objc-annotations", - "com.google.protobuf:protobuf-java" ] }, "packages": { @@ -100,17 +95,6 @@ "javax.annotation.concurrent", "javax.annotation.meta" ], - "com.google.code.gson:gson": [ - "com.google.gson", - "com.google.gson.annotations", - "com.google.gson.internal", - "com.google.gson.internal.bind", - "com.google.gson.internal.bind.util", - "com.google.gson.internal.reflect", - "com.google.gson.internal.sql", - "com.google.gson.reflect", - "com.google.gson.stream" - ], "com.google.errorprone:error_prone_annotations": [ "com.google.errorprone.annotations", "com.google.errorprone.annotations.concurrent" @@ -145,48 +129,45 @@ "com.google.protobuf", "com.google.protobuf.compiler" ], - "com.google.protobuf:protobuf-java-util": [ - "com.google.protobuf.util" - ], "org.checkerframework:checker-qual": [ - "org.checkerframework.checker.builder.qual", - "org.checkerframework.checker.calledmethods.qual", "org.checkerframework.checker.compilermsgs.qual", "org.checkerframework.checker.fenum.qual", + "org.checkerframework.checker.formatter", "org.checkerframework.checker.formatter.qual", "org.checkerframework.checker.guieffect.qual", "org.checkerframework.checker.i18n.qual", + "org.checkerframework.checker.i18nformatter", "org.checkerframework.checker.i18nformatter.qual", "org.checkerframework.checker.index.qual", "org.checkerframework.checker.initialization.qual", "org.checkerframework.checker.interning.qual", "org.checkerframework.checker.lock.qual", - "org.checkerframework.checker.mustcall.qual", + "org.checkerframework.checker.nullness", "org.checkerframework.checker.nullness.qual", "org.checkerframework.checker.optional.qual", "org.checkerframework.checker.propkey.qual", + "org.checkerframework.checker.regex", "org.checkerframework.checker.regex.qual", "org.checkerframework.checker.signature.qual", + "org.checkerframework.checker.signedness", "org.checkerframework.checker.signedness.qual", "org.checkerframework.checker.tainting.qual", + "org.checkerframework.checker.units", "org.checkerframework.checker.units.qual", "org.checkerframework.common.aliasing.qual", - "org.checkerframework.common.initializedfields.qual", "org.checkerframework.common.reflection.qual", - "org.checkerframework.common.returnsreceiver.qual", "org.checkerframework.common.subtyping.qual", "org.checkerframework.common.util.report.qual", "org.checkerframework.common.value.qual", "org.checkerframework.dataflow.qual", - "org.checkerframework.framework.qual" + "org.checkerframework.framework.qual", + "org.checkerframework.framework.util" ] }, "repositories": { "https://repo1.maven.org/maven2/": [ "com.google.code.findbugs:jsr305", "com.google.code.findbugs:jsr305:jar:sources", - "com.google.code.gson:gson", - "com.google.code.gson:gson:jar:sources", "com.google.errorprone:error_prone_annotations", "com.google.errorprone:error_prone_annotations:jar:sources", "com.google.guava:failureaccess", @@ -197,13 +178,11 @@ "com.google.j2objc:j2objc-annotations", "com.google.j2objc:j2objc-annotations:jar:sources", "com.google.protobuf:protobuf-java", - "com.google.protobuf:protobuf-java-util", - "com.google.protobuf:protobuf-java-util:jar:sources", "com.google.protobuf:protobuf-java:jar:sources", "org.checkerframework:checker-qual", "org.checkerframework:checker-qual:jar:sources" ] }, "services": {}, - "version": "2" + "version": "3" } diff --git a/examples/java-export/src/main/java/com/github/bazelbuild/rulesjvmexternal/example/export/BUILD b/examples/java-export/src/main/java/com/github/bazelbuild/rulesjvmexternal/example/export/BUILD index ab6a2b651..a92862f34 100644 --- a/examples/java-export/src/main/java/com/github/bazelbuild/rulesjvmexternal/example/export/BUILD +++ b/examples/java-export/src/main/java/com/github/bazelbuild/rulesjvmexternal/example/export/BUILD @@ -1,4 +1,5 @@ load("@bazel_tools//tools/build_defs/pkg:pkg.bzl", "pkg_tar") +load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm_external//:defs.bzl", "artifact") java_library( diff --git a/examples/java-export/src/main/proto/BUILD b/examples/java-export/src/main/proto/BUILD index c4153c080..5d71e6348 100644 --- a/examples/java-export/src/main/proto/BUILD +++ b/examples/java-export/src/main/proto/BUILD @@ -1,3 +1,5 @@ +load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library") +load("@rules_java//java:defs.bzl", "java_library") load("@rules_jvm_external//:defs.bzl", "artifact") load("@rules_proto//proto:defs.bzl", "proto_library") diff --git a/examples/kt_android_local_test/MODULE.bazel b/examples/kt_android_local_test/MODULE.bazel index aacb84fd9..d39d0dc23 100644 --- a/examples/kt_android_local_test/MODULE.bazel +++ b/examples/kt_android_local_test/MODULE.bazel @@ -1 +1,35 @@ -bazel_dep(name = "rules_kotlin", version = "1.9.0") +module(name = "rules_jvm_external_example_kt_android_local_test") + +bazel_dep(name = "rules_android", version = "0.7.1") +bazel_dep(name = "rules_jvm_external", version = "ignored") +bazel_dep(name = "rules_kotlin", version = "2.2.2") +bazel_dep(name = "rules_robolectric", version = "4.16", repo_name = "robolectric") + +local_path_override( + module_name = "rules_jvm_external", + path = "../../", +) + +# Android SDK setup for bzlmod +android_sdk_repository_extension = use_extension("@rules_android//rules/android_sdk_repository:rule.bzl", "android_sdk_repository_extension") +use_repo(android_sdk_repository_extension, "androidsdk") + +register_toolchains("@androidsdk//:sdk-toolchain", "@androidsdk//:all") + +maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") +maven.install( + artifacts = [ + "androidx.appcompat:appcompat:1.0.2", + "androidx.annotation:annotation:1.1.0", + "androidx.test.ext:junit:1.3.0", + "junit:junit:4.13.2", + "org.robolectric:robolectric:4.16", + "org.assertj:assertj-core:3.12.1", + ], + lock_file = "//:maven_install.json", + repositories = [ + "https://maven.google.com", + "https://repo1.maven.org/maven2", + ], +) +use_repo(maven, "maven") diff --git a/examples/kt_jvm_export/MODULE.bazel b/examples/kt_jvm_export/MODULE.bazel index ec8db18f3..d03014541 100644 --- a/examples/kt_jvm_export/MODULE.bazel +++ b/examples/kt_jvm_export/MODULE.bazel @@ -1,7 +1,8 @@ -module(name = "rules_jvm_external_examples_kt_jvm_export") +module(name = "rules_jvm_external_example_kt_jvm_export") -bazel_dep(name = "rules_kotlin", version = "2.1.0") bazel_dep(name = "rules_jvm_external", version = "ignored") +bazel_dep(name = "rules_kotlin", version = "2.2.2") + local_path_override( module_name = "rules_jvm_external", path = "../../", diff --git a/examples/pom_file_generation/BUILD b/examples/pom_file_generation/BUILD index c3c5087eb..654538a6d 100644 --- a/examples/pom_file_generation/BUILD +++ b/examples/pom_file_generation/BUILD @@ -1,8 +1,10 @@ -load("@bazel_common//tools/maven:pom_file.bzl", "pom_file") +load("@rules_java//java:java_library.bzl", "java_library") +load("@rules_jvm_external//:defs.bzl", "pom_file") java_library( name = "my_library", srcs = ["java/com/example/bazel/Main.java"], + tags = ["maven_coordinates=com.example:my_library:1.0.0"], deps = [ "@maven//:com_google_guava_guava", "@maven//:com_google_inject_guice", @@ -11,8 +13,6 @@ java_library( pom_file( name = "my_library_pom", - targets = [ - "//:my_library", - ], - template_file = "pom_template.xml", + target = "//:my_library", + pom_template = "pom_template.xml", ) diff --git a/examples/pom_file_generation/MODULE.bazel b/examples/pom_file_generation/MODULE.bazel new file mode 100644 index 000000000..85a82b06b --- /dev/null +++ b/examples/pom_file_generation/MODULE.bazel @@ -0,0 +1,22 @@ +module(name = "rules_jvm_external_example_pom_file_generation") + +bazel_dep(name = "bazel_skylib", version = "1.7.1") +bazel_dep(name = "rules_java", version = "8.13.0") +bazel_dep(name = "rules_jvm_external", version = "ignored") + +local_path_override( + module_name = "rules_jvm_external", + path = "../../", +) + +maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") +maven.install( + artifacts = [ + "com.google.inject:guice:4.0", + "com.google.guava:guava:27.1-jre", + ], + repositories = [ + "https://repo1.maven.org/maven2", + ], +) +use_repo(maven, "maven") diff --git a/examples/pom_file_generation/pom_template.xml b/examples/pom_file_generation/pom_template.xml index d0a906b92..c1428d977 100644 --- a/examples/pom_file_generation/pom_template.xml +++ b/examples/pom_file_generation/pom_template.xml @@ -1 +1,13 @@ -{generated_bzl_deps} + + + 4.0.0 + {groupId} + {artifactId} + {version} + {type} + +{dependencies} + + diff --git a/examples/protobuf-java/.bazelrc b/examples/protobuf-java/.bazelrc index 2bcf89fe2..804493e22 100644 --- a/examples/protobuf-java/.bazelrc +++ b/examples/protobuf-java/.bazelrc @@ -11,3 +11,7 @@ common:windows --host_cxxopt=/std:c++17 # Enable protobuf MSVC support on Windows build:windows --define=protobuf_allow_msvc=true + +# Proto toolchain resolution +common --incompatible_enable_proto_toolchain_resolution +common --@com_google_protobuf//bazel/toolchains:prefer_prebuilt_protoc=true diff --git a/examples/protobuf-java/MODULE.bazel b/examples/protobuf-java/MODULE.bazel index 746e548fc..78d00f67b 100644 --- a/examples/protobuf-java/MODULE.bazel +++ b/examples/protobuf-java/MODULE.bazel @@ -1,9 +1,10 @@ module(name = "rules_jvm_external_example_protobuf_java") -protobuf_version = "31.1" +protobuf_version = "33.4" -bazel_dep(name = "bazel_skylib", version = "1.7.1") +bazel_dep(name = "bazel_skylib", version = "1.8.1") bazel_dep(name = "protobuf", version = protobuf_version, repo_name = "com_google_protobuf") +bazel_dep(name = "rules_java", version = "8.13.0") bazel_dep(name = "rules_jvm_external", version = "ignored") bazel_dep(name = "rules_proto", version = "7.1.0") @@ -22,6 +23,7 @@ maven.install( "bazel_worker_java", "rules_jvm_external_example_protobuf_java", ], + lock_file = "//:maven_install.json", repositories = [ "https://repo1.maven.org/maven2", ], diff --git a/examples/protobuf-java/MODULE.bazel.lock b/examples/protobuf-java/MODULE.bazel.lock index d5a131847..83c5b3a49 100644 --- a/examples/protobuf-java/MODULE.bazel.lock +++ b/examples/protobuf-java/MODULE.bazel.lock @@ -11,7 +11,10 @@ "https://bcr.bazel.build/modules/abseil-cpp/20240116.1/MODULE.bazel": "37bcdb4440fbb61df6a1c296ae01b327f19e9bb521f9b8e26ec854b6f97309ed", "https://bcr.bazel.build/modules/abseil-cpp/20240116.2/MODULE.bazel": "73939767a4686cd9a520d16af5ab440071ed75cec1a876bf2fcfaf1f71987a16", "https://bcr.bazel.build/modules/abseil-cpp/20250127.0/MODULE.bazel": "d1086e248cda6576862b4b3fe9ad76a214e08c189af5b42557a6e1888812c5d5", - "https://bcr.bazel.build/modules/abseil-cpp/20250127.0/source.json": "1b996859f840d8efc7c720efc61dcf2a84b1261cb3974cbbe9b6666ebf567775", + "https://bcr.bazel.build/modules/abseil-cpp/20250127.1/MODULE.bazel": "c4a89e7ceb9bf1e25cf84a9f830ff6b817b72874088bf5141b314726e46a57c1", + "https://bcr.bazel.build/modules/abseil-cpp/20250512.1/MODULE.bazel": "d209fdb6f36ffaf61c509fcc81b19e81b411a999a934a032e10cd009a0226215", + "https://bcr.bazel.build/modules/abseil-cpp/20250814.1/MODULE.bazel": "51f2312901470cdab0dbdf3b88c40cd21c62a7ed58a3de45b365ddc5b11bcab2", + "https://bcr.bazel.build/modules/abseil-cpp/20250814.1/source.json": "cea3901d7e299da7320700abbaafe57a65d039f10d0d7ea601c4a66938ea4b0c", "https://bcr.bazel.build/modules/abseil-py/2.1.0/MODULE.bazel": "5ebe5bf853769c65707e5c28f216798f7a4b1042015e6a36e6d03094d94bec8a", "https://bcr.bazel.build/modules/abseil-py/2.1.0/source.json": "0e8fc4f088ce07099c1cd6594c20c7ddbb48b4b3c0849b7d94ba94be88ff042b", "https://bcr.bazel.build/modules/apple_support/1.11.1/MODULE.bazel": "1843d7cd8a58369a444fc6000e7304425fba600ff641592161d9f15b179fb896", @@ -26,9 +29,12 @@ "https://bcr.bazel.build/modules/bazel_features/1.19.0/MODULE.bazel": "59adcdf28230d220f0067b1f435b8537dd033bfff8db21335ef9217919c7fb58", "https://bcr.bazel.build/modules/bazel_features/1.21.0/MODULE.bazel": "675642261665d8eea09989aa3b8afb5c37627f1be178382c320d1b46afba5e3b", "https://bcr.bazel.build/modules/bazel_features/1.23.0/MODULE.bazel": "fd1ac84bc4e97a5a0816b7fd7d4d4f6d837b0047cf4cbd81652d616af3a6591a", + "https://bcr.bazel.build/modules/bazel_features/1.25.0/MODULE.bazel": "e2e60a10a6da64bbf533f15ca652bf61a033e41c2ed734d79a9a08ba87f68c1a", + "https://bcr.bazel.build/modules/bazel_features/1.28.0/MODULE.bazel": "4b4200e6cbf8fa335b2c3f43e1d6ef3e240319c33d43d60cc0fbd4b87ece299d", "https://bcr.bazel.build/modules/bazel_features/1.3.0/MODULE.bazel": "cdcafe83ec318cda34e02948e81d790aab8df7a929cec6f6969f13a489ccecd9", "https://bcr.bazel.build/modules/bazel_features/1.30.0/MODULE.bazel": "a14b62d05969a293b80257e72e597c2da7f717e1e69fa8b339703ed6731bec87", - "https://bcr.bazel.build/modules/bazel_features/1.30.0/source.json": "b07e17f067fe4f69f90b03b36ef1e08fe0d1f3cac254c1241a1818773e3423bc", + "https://bcr.bazel.build/modules/bazel_features/1.33.0/MODULE.bazel": "8b8dc9d2a4c88609409c3191165bccec0e4cb044cd7a72ccbe826583303459f6", + "https://bcr.bazel.build/modules/bazel_features/1.33.0/source.json": "13617db3930328c2cd2807a0f13d52ca870ac05f96db9668655113265147b2a6", "https://bcr.bazel.build/modules/bazel_features/1.4.1/MODULE.bazel": "e45b6bb2350aff3e442ae1111c555e27eac1d915e77775f6fdc4b351b758b5d7", "https://bcr.bazel.build/modules/bazel_features/1.9.1/MODULE.bazel": "8f679097876a9b609ad1f60249c49d68bfab783dd9be012faf9d82547b14815a", "https://bcr.bazel.build/modules/bazel_skylib/1.0.3/MODULE.bazel": "bcb0fd896384802d1ad283b4e4eb4d718eebd8cb820b0a2c3a347fb971afd9d8", @@ -41,12 +47,15 @@ "https://bcr.bazel.build/modules/bazel_skylib/1.6.1/MODULE.bazel": "8fdee2dbaace6c252131c00e1de4b165dc65af02ea278476187765e1a617b917", "https://bcr.bazel.build/modules/bazel_skylib/1.7.0/MODULE.bazel": "0db596f4563de7938de764cc8deeabec291f55e8ec15299718b93c4423e9796d", "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/MODULE.bazel": "3120d80c5861aa616222ec015332e5f8d3171e062e3e804a2a0253e1be26e59b", - "https://bcr.bazel.build/modules/bazel_skylib/1.7.1/source.json": "f121b43eeefc7c29efbd51b83d08631e2347297c95aac9764a701f2a6a2bb953", + "https://bcr.bazel.build/modules/bazel_skylib/1.8.1/MODULE.bazel": "88ade7293becda963e0e3ea33e7d54d3425127e0a326e0d17da085a5f1f03ff6", + "https://bcr.bazel.build/modules/bazel_skylib/1.8.1/source.json": "7ebaefba0b03efe59cac88ed5bbc67bcf59a3eff33af937345ede2a38b2d368a", "https://bcr.bazel.build/modules/bazel_worker_api/0.0.1/MODULE.bazel": "02a13b77321773b2042e70ee5e4c5e099c8ddee4cf2da9cd420442c36938d4bd", "https://bcr.bazel.build/modules/bazel_worker_api/0.0.4/MODULE.bazel": "460aa12d01231a80cce03c548287b433b321d205b0028ae596728c35e5ee442e", - "https://bcr.bazel.build/modules/bazel_worker_api/0.0.4/source.json": "d353c410d47a8b65d09fa98e83d57ebec257a2c2b9c6e42d6fda1cb25e5464a5", + "https://bcr.bazel.build/modules/bazel_worker_api/0.0.8/MODULE.bazel": "396c1ef53835aafe3d42ce6619080531ee770648303731f16cfaa33fa056bf0c", + "https://bcr.bazel.build/modules/bazel_worker_api/0.0.8/source.json": "abaf8ac9d2ab2f47bda9af4c0c080ff7907378888e1f4bc62a0539dd13ba61e8", "https://bcr.bazel.build/modules/bazel_worker_java/0.0.4/MODULE.bazel": "82494a01018bb7ef06d4a17ec4cd7a758721f10eb8b6c820a818e70d669500db", - "https://bcr.bazel.build/modules/bazel_worker_java/0.0.4/source.json": "a2d30458fd86cf022c2b6331e652526fa08e17573b2f5034a9dbcacdf9c2583c", + "https://bcr.bazel.build/modules/bazel_worker_java/0.0.8/MODULE.bazel": "e76479eae70bd4e8f5f4c2dfc5d03ab971cfb18750246c7b3f3454c5c2ee6629", + "https://bcr.bazel.build/modules/bazel_worker_java/0.0.8/source.json": "9395c4679444bc47bf7e51a710366a4480aa371c6f6bed01868e2fabcf11acec", "https://bcr.bazel.build/modules/buildozer/7.1.2/MODULE.bazel": "2e8dd40ede9c454042645fd8d8d0cd1527966aa5c919de86661e62953cd73d84", "https://bcr.bazel.build/modules/buildozer/7.1.2/source.json": "c9028a501d2db85793a6996205c8de120944f50a0d570438fcae0457a5f9d1f8", "https://bcr.bazel.build/modules/gazelle/0.32.0/MODULE.bazel": "b499f58a5d0d3537f3cf5b76d8ada18242f64ec474d8391247438bf04f58c7b8", @@ -54,13 +63,15 @@ "https://bcr.bazel.build/modules/gazelle/0.34.0/MODULE.bazel": "abdd8ce4d70978933209db92e436deb3a8b737859e9354fb5fd11fb5c2004c8a", "https://bcr.bazel.build/modules/gazelle/0.36.0/MODULE.bazel": "e375d5d6e9a6ca59b0cb38b0540bc9a05b6aa926d322f2de268ad267a2ee74c0", "https://bcr.bazel.build/modules/gazelle/0.40.0/MODULE.bazel": "42ba5378ebe845fca43989a53186ab436d956db498acde790685fe0e8f9c6146", - "https://bcr.bazel.build/modules/gazelle/0.40.0/source.json": "1e5ef6e4d8b9b6836d93273c781e78ff829ea2e077afef7a57298040fa4f010a", + "https://bcr.bazel.build/modules/gazelle/0.47.0/MODULE.bazel": "b61bb007c4efad134aa30ee7f4a8e2a39b22aa5685f005edaa022fbd1de43ebc", + "https://bcr.bazel.build/modules/gazelle/0.47.0/source.json": "aeb2e5df14b7fb298625d75d08b9c65bdb0b56014c5eb89da9e5dd0572280ae6", "https://bcr.bazel.build/modules/google_benchmark/1.8.2/MODULE.bazel": "a70cf1bba851000ba93b58ae2f6d76490a9feb74192e57ab8e8ff13c34ec50cb", "https://bcr.bazel.build/modules/googletest/1.11.0/MODULE.bazel": "3a83f095183f66345ca86aa13c58b59f9f94a2f81999c093d4eeaa2d262d12f4", "https://bcr.bazel.build/modules/googletest/1.14.0.bcr.1/MODULE.bazel": "22c31a561553727960057361aa33bf20fb2e98584bc4fec007906e27053f80c6", "https://bcr.bazel.build/modules/googletest/1.14.0/MODULE.bazel": "cfbcbf3e6eac06ef9d85900f64424708cc08687d1b527f0ef65aa7517af8118f", "https://bcr.bazel.build/modules/googletest/1.15.2/MODULE.bazel": "6de1edc1d26cafb0ea1a6ab3f4d4192d91a312fd2d360b63adaa213cd00b2108", - "https://bcr.bazel.build/modules/googletest/1.15.2/source.json": "dbdda654dcb3a0d7a8bc5d0ac5fc7e150b58c2a986025ae5bc634bb2cb61f470", + "https://bcr.bazel.build/modules/googletest/1.17.0/MODULE.bazel": "dbec758171594a705933a29fcf69293d2468c49ec1f2ebca65c36f504d72df46", + "https://bcr.bazel.build/modules/googletest/1.17.0/source.json": "38e4454b25fc30f15439c0378e57909ab1fd0a443158aa35aec685da727cd713", "https://bcr.bazel.build/modules/jsoncpp/1.9.5/MODULE.bazel": "31271aedc59e815656f5736f282bb7509a97c7ecb43e927ac1a37966e0578075", "https://bcr.bazel.build/modules/jsoncpp/1.9.6/MODULE.bazel": "2f8d20d3b7d54143213c4dfc3d98225c42de7d666011528dc8fe91591e2e17b0", "https://bcr.bazel.build/modules/jsoncpp/1.9.6/source.json": "a04756d367a2126c3541682864ecec52f92cdee80a35735a3cb249ce015ca000", @@ -68,30 +79,37 @@ "https://bcr.bazel.build/modules/nlohmann_json/3.6.1/MODULE.bazel": "6f7b417dcc794d9add9e556673ad25cb3ba835224290f4f848f8e2db1e1fca74", "https://bcr.bazel.build/modules/nlohmann_json/3.6.1/source.json": "f448c6e8963fdfa7eb831457df83ad63d3d6355018f6574fb017e8169deb43a9", "https://bcr.bazel.build/modules/package_metadata/0.0.3/MODULE.bazel": "77890552ecea9e284b5424c9de827a58099348763a4359e975c359a83d4faa83", - "https://bcr.bazel.build/modules/package_metadata/0.0.3/source.json": "742075a428ad12a3fa18a69014c2f57f01af910c6d9d18646c990200853e641a", + "https://bcr.bazel.build/modules/package_metadata/0.0.5/MODULE.bazel": "ef4f9439e3270fdd6b9fd4dbc3d2f29d13888e44c529a1b243f7a31dfbc2e8e4", + "https://bcr.bazel.build/modules/package_metadata/0.0.5/source.json": "2326db2f6592578177751c3e1f74786b79382cd6008834c9d01ec865b9126a85", "https://bcr.bazel.build/modules/platforms/0.0.10/MODULE.bazel": "8cb8efaf200bdeb2150d93e162c40f388529a25852b332cec879373771e48ed5", "https://bcr.bazel.build/modules/platforms/0.0.11/MODULE.bazel": "0daefc49732e227caa8bfa834d65dc52e8cc18a2faf80df25e8caea151a9413f", - "https://bcr.bazel.build/modules/platforms/0.0.11/source.json": "f7e188b79ebedebfe75e9e1d098b8845226c7992b307e28e1496f23112e8fc29", "https://bcr.bazel.build/modules/platforms/0.0.4/MODULE.bazel": "9b328e31ee156f53f3c416a64f8491f7eb731742655a47c9eec4703a71644aee", "https://bcr.bazel.build/modules/platforms/0.0.5/MODULE.bazel": "5733b54ea419d5eaf7997054bb55f6a1d0b5ff8aedf0176fef9eea44f3acda37", "https://bcr.bazel.build/modules/platforms/0.0.6/MODULE.bazel": "ad6eeef431dc52aefd2d77ed20a4b353f8ebf0f4ecdd26a807d2da5aa8cd0615", "https://bcr.bazel.build/modules/platforms/0.0.7/MODULE.bazel": "72fd4a0ede9ee5c021f6a8dd92b503e089f46c227ba2813ff183b71616034814", "https://bcr.bazel.build/modules/platforms/0.0.8/MODULE.bazel": "9f142c03e348f6d263719f5074b21ef3adf0b139ee4c5133e2aa35664da9eb2d", "https://bcr.bazel.build/modules/platforms/0.0.9/MODULE.bazel": "4a87a60c927b56ddd67db50c89acaa62f4ce2a1d2149ccb63ffd871d5ce29ebc", + "https://bcr.bazel.build/modules/platforms/1.0.0/MODULE.bazel": "f05feb42b48f1b3c225e4ccf351f367be0371411a803198ec34a389fb22aa580", + "https://bcr.bazel.build/modules/platforms/1.0.0/source.json": "f4ff1fd412e0246fd38c82328eb209130ead81d62dcd5a9e40910f867f733d96", "https://bcr.bazel.build/modules/protobuf/21.7/MODULE.bazel": "a5a29bb89544f9b97edce05642fac225a808b5b7be74038ea3640fae2f8e66a7", "https://bcr.bazel.build/modules/protobuf/23.1/MODULE.bazel": "88b393b3eb4101d18129e5db51847cd40a5517a53e81216144a8c32dfeeca52a", "https://bcr.bazel.build/modules/protobuf/24.4/MODULE.bazel": "7bc7ce5f2abf36b3b7b7c8218d3acdebb9426aeb35c2257c96445756f970eb12", "https://bcr.bazel.build/modules/protobuf/27.0/MODULE.bazel": "7873b60be88844a0a1d8f80b9d5d20cfbd8495a689b8763e76c6372998d3f64c", "https://bcr.bazel.build/modules/protobuf/27.1/MODULE.bazel": "703a7b614728bb06647f965264967a8ef1c39e09e8f167b3ca0bb1fd80449c0d", "https://bcr.bazel.build/modules/protobuf/27.2/MODULE.bazel": "32450b50673882e4c8c3d10a83f3bc82161b213ed2f80d17e38bece8f165c295", + "https://bcr.bazel.build/modules/protobuf/29.0-rc2.bcr.1/MODULE.bazel": "52f4126f63a2f0bbf36b99c2a87648f08467a4eaf92ba726bc7d6a500bbf770c", "https://bcr.bazel.build/modules/protobuf/29.0-rc2/MODULE.bazel": "6241d35983510143049943fc0d57937937122baf1b287862f9dc8590fc4c37df", "https://bcr.bazel.build/modules/protobuf/29.0-rc3/MODULE.bazel": "33c2dfa286578573afc55a7acaea3cada4122b9631007c594bf0729f41c8de92", + "https://bcr.bazel.build/modules/protobuf/29.0/MODULE.bazel": "319dc8bf4c679ff87e71b1ccfb5a6e90a6dbc4693501d471f48662ac46d04e4e", "https://bcr.bazel.build/modules/protobuf/29.1/MODULE.bazel": "557c3457560ff49e122ed76c0bc3397a64af9574691cb8201b4e46d4ab2ecb95", + "https://bcr.bazel.build/modules/protobuf/29.3/MODULE.bazel": "77480eea5fb5541903e49683f24dc3e09f4a79e0eea247414887bb9fc0066e94", "https://bcr.bazel.build/modules/protobuf/3.19.0/MODULE.bazel": "6b5fbb433f760a99a22b18b6850ed5784ef0e9928a72668b66e4d7ccd47db9b0", "https://bcr.bazel.build/modules/protobuf/3.19.2/MODULE.bazel": "532ffe5f2186b69fdde039efe6df13ba726ff338c6bc82275ad433013fa10573", "https://bcr.bazel.build/modules/protobuf/3.19.6/MODULE.bazel": "9233edc5e1f2ee276a60de3eaa47ac4132302ef9643238f23128fea53ea12858", "https://bcr.bazel.build/modules/protobuf/31.1/MODULE.bazel": "379a389bb330b7b8c1cdf331cc90bf3e13de5614799b3b52cdb7c6f389f6b38e", - "https://bcr.bazel.build/modules/protobuf/31.1/source.json": "25af5d0219da0c0fc4d1191a24ce438e6ca7f49d2e1a94f354efeba6ef10426f", + "https://bcr.bazel.build/modules/protobuf/32.1/MODULE.bazel": "89cd2866a9cb07fee9ff74c41ceace11554f32e0d849de4e23ac55515cfada4d", + "https://bcr.bazel.build/modules/protobuf/33.4/MODULE.bazel": "114775b816b38b6d0ca620450d6b02550c60ceedfdc8d9a229833b34a223dc42", + "https://bcr.bazel.build/modules/protobuf/33.4/source.json": "555f8686b4c7d6b5ba731fbea13bf656b4bfd9a7ff629c1d9d3f6e1d6155de79", "https://bcr.bazel.build/modules/pybind11_bazel/2.11.1/MODULE.bazel": "88af1c246226d87e65be78ed49ecd1e6f5e98648558c14ce99176da041dc378e", "https://bcr.bazel.build/modules/pybind11_bazel/2.12.0/MODULE.bazel": "e6f4c20442eaa7c90d7190d8dc539d0ab422f95c65a57cc59562170c58ae3d34", "https://bcr.bazel.build/modules/pybind11_bazel/2.12.0/source.json": "6900fdc8a9e95866b8c0d4ad4aba4d4236317b5c1cd04c502df3f0d33afed680", @@ -99,8 +117,9 @@ "https://bcr.bazel.build/modules/re2/2024-07-02.bcr.1/MODULE.bazel": "b4963dda9b31080be1905ef085ecd7dd6cd47c05c79b9cdf83ade83ab2ab271a", "https://bcr.bazel.build/modules/re2/2024-07-02.bcr.1/source.json": "2ff292be6ef3340325ce8a045ecc326e92cbfab47c7cbab4bd85d28971b97ac4", "https://bcr.bazel.build/modules/re2/2024-07-02/MODULE.bazel": "0eadc4395959969297cbcf31a249ff457f2f1d456228c67719480205aa306daa", - "https://bcr.bazel.build/modules/rules_android/0.6.6/MODULE.bazel": "b0fb569752aab65ab1a9db0a8f6cfaf5aa1754965e17e95dcf0e4d88e192a68d", - "https://bcr.bazel.build/modules/rules_android/0.6.6/source.json": "a9d8dc2d5a102dc03269a94acc886a4cab82cdcb9ccbc77b0f665d6d17a6ae09", + "https://bcr.bazel.build/modules/rules_android/0.6.4/MODULE.bazel": "b4cde12d506dd65d82b2be39761f49f5797303343a3d5b4ee191c0cdf9ef387c", + "https://bcr.bazel.build/modules/rules_android/0.7.1/MODULE.bazel": "a806fc382a774252f228a40e3b11b9fcc6276f8778c7fb33e9f72937c6258363", + "https://bcr.bazel.build/modules/rules_android/0.7.1/source.json": "151440aed3f0f73a00d4ed5cec5d31f63a6fef9b95d8fab1eb1810150fa525f2", "https://bcr.bazel.build/modules/rules_apple/3.16.0/MODULE.bazel": "0d1caf0b8375942ce98ea944be754a18874041e4e0459401d925577624d3a54a", "https://bcr.bazel.build/modules/rules_apple/3.16.0/source.json": "d8b5fe461272018cc07cfafce11fe369c7525330804c37eec5a82f84cd475366", "https://bcr.bazel.build/modules/rules_cc/0.0.1/MODULE.bazel": "cb2aa0747f84c6c3a78dad4e2049c154f08ab9d166b1273835a8174940365647", @@ -114,7 +133,11 @@ "https://bcr.bazel.build/modules/rules_cc/0.0.8/MODULE.bazel": "964c85c82cfeb6f3855e6a07054fdb159aced38e99a5eecf7bce9d53990afa3e", "https://bcr.bazel.build/modules/rules_cc/0.0.9/MODULE.bazel": "836e76439f354b89afe6a911a7adf59a6b2518fafb174483ad78a2a2fde7b1c5", "https://bcr.bazel.build/modules/rules_cc/0.1.1/MODULE.bazel": "2f0222a6f229f0bf44cd711dc13c858dad98c62d52bd51d8fc3a764a83125513", - "https://bcr.bazel.build/modules/rules_cc/0.1.1/source.json": "d61627377bd7dd1da4652063e368d9366fc9a73920bfa396798ad92172cf645c", + "https://bcr.bazel.build/modules/rules_cc/0.1.5/MODULE.bazel": "88dfc9361e8b5ae1008ac38f7cdfd45ad738e4fa676a3ad67d19204f045a1fd8", + "https://bcr.bazel.build/modules/rules_cc/0.2.0/MODULE.bazel": "b5c17f90458caae90d2ccd114c81970062946f49f355610ed89bebf954f5783c", + "https://bcr.bazel.build/modules/rules_cc/0.2.13/MODULE.bazel": "eecdd666eda6be16a8d9dc15e44b5c75133405e820f620a234acc4b1fdc5aa37", + "https://bcr.bazel.build/modules/rules_cc/0.2.14/MODULE.bazel": "353c99ed148887ee89c54a17d4100ae7e7e436593d104b668476019023b58df8", + "https://bcr.bazel.build/modules/rules_cc/0.2.14/source.json": "55d0a4587c5592fad350f6e698530f4faf0e7dd15e69d43f8d87e220c78bea54", "https://bcr.bazel.build/modules/rules_foreign_cc/0.9.0/MODULE.bazel": "c9e8c682bf75b0e7c704166d79b599f93b72cfca5ad7477df596947891feeef6", "https://bcr.bazel.build/modules/rules_fuzzing/0.5.2/MODULE.bazel": "40c97d1144356f52905566c55811f13b299453a14ac7769dfba2ac38192337a8", "https://bcr.bazel.build/modules/rules_go/0.41.0/MODULE.bazel": "55861d8e8bb0e62cbd2896f60ff303f62ffcb0eddb74ecb0e5c0cbe36fc292c8", @@ -122,7 +145,9 @@ "https://bcr.bazel.build/modules/rules_go/0.46.0/MODULE.bazel": "3477df8bdcc49e698b9d25f734c4f3a9f5931ff34ee48a2c662be168f5f2d3fd", "https://bcr.bazel.build/modules/rules_go/0.50.1/MODULE.bazel": "b91a308dc5782bb0a8021ad4330c81fea5bda77f96b9e4c117b9b9c8f6665ee0", "https://bcr.bazel.build/modules/rules_go/0.51.0-rc2/MODULE.bazel": "edfc3a9cea7bedb0eaaff37b0d7817c1a4bf72b3c615580b0ffcee6c52690fd4", - "https://bcr.bazel.build/modules/rules_go/0.51.0-rc2/source.json": "6b5cd0b3da2bd0e6949580851db990a04af0a285f072b9a0f059424457cd8cc9", + "https://bcr.bazel.build/modules/rules_go/0.53.0/MODULE.bazel": "a4ed760d3ac0dbc0d7b967631a9a3fd9100d28f7d9fcf214b4df87d4bfff5f9a", + "https://bcr.bazel.build/modules/rules_go/0.59.0/MODULE.bazel": "b7e43e7414a3139a7547d1b4909b29085fbe5182b6c58cbe1ed4c6272815aeae", + "https://bcr.bazel.build/modules/rules_go/0.59.0/source.json": "1df17bb7865cfc029492c30163cee891d0dd8658ea0d5bfdf252c4b6db5c1ef6", "https://bcr.bazel.build/modules/rules_java/4.0.0/MODULE.bazel": "5a78a7ae82cd1a33cef56dc578c7d2a46ed0dca12643ee45edbb8417899e6f74", "https://bcr.bazel.build/modules/rules_java/5.3.5/MODULE.bazel": "a4ec4f2db570171e3e5eb753276ee4b389bae16b96207e9d3230895c99644b86", "https://bcr.bazel.build/modules/rules_java/6.3.0/MODULE.bazel": "a97c7678c19f236a956ad260d59c86e10a463badb7eb2eda787490f4c969b963", @@ -133,20 +158,25 @@ "https://bcr.bazel.build/modules/rules_java/7.6.1/MODULE.bazel": "2f14b7e8a1aa2f67ae92bc69d1ec0fa8d9f827c4e17ff5e5f02e91caa3b2d0fe", "https://bcr.bazel.build/modules/rules_java/7.6.5/MODULE.bazel": "481164be5e02e4cab6e77a36927683263be56b7e36fef918b458d7a8a1ebadb1", "https://bcr.bazel.build/modules/rules_java/8.13.0/MODULE.bazel": "0444ebf737d144cf2bb2ccb368e7f1cce735264285f2a3711785827c1686625e", - "https://bcr.bazel.build/modules/rules_java/8.13.0/source.json": "4605c0f676b87dd9d1fabd4d743b71f04d97503bd1a79aad53f87399fb5396de", "https://bcr.bazel.build/modules/rules_java/8.3.2/MODULE.bazel": "7336d5511ad5af0b8615fdc7477535a2e4e723a357b6713af439fe8cf0195017", "https://bcr.bazel.build/modules/rules_java/8.5.1/MODULE.bazel": "d8a9e38cc5228881f7055a6079f6f7821a073df3744d441978e7a43e20226939", "https://bcr.bazel.build/modules/rules_java/8.6.0/MODULE.bazel": "9c064c434606d75a086f15ade5edb514308cccd1544c2b2a89bbac4310e41c71", "https://bcr.bazel.build/modules/rules_java/8.6.1/MODULE.bazel": "f4808e2ab5b0197f094cabce9f4b006a27766beb6a9975931da07099560ca9c2", + "https://bcr.bazel.build/modules/rules_java/8.6.3/MODULE.bazel": "e90505b7a931d194245ffcfb6ff4ca8ef9d46b4e830d12e64817752e0198e2ed", + "https://bcr.bazel.build/modules/rules_java/8.9.0/MODULE.bazel": "e17c876cb53dcd817b7b7f0d2985b710610169729e8c371b2221cacdcd3dce4a", + "https://bcr.bazel.build/modules/rules_java/9.3.0/MODULE.bazel": "f657c72d65ac449caae9abf2e68e66c0d36f9416848c4c4903d0b3234229e7f2", + "https://bcr.bazel.build/modules/rules_java/9.3.0/source.json": "59ae7e662c3c7042b88bbb42ad12483523e234c65ebe4c51611baa43e85cb248", "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/MODULE.bazel": "d269a01a18ee74d0335450b10f62c9ed81f2321d7958a2934e44272fe82dcef3", - "https://bcr.bazel.build/modules/rules_kotlin/1.9.6/source.json": "2faa4794364282db7c06600b7e5e34867a564ae91bda7cae7c29c64e9466b7d5", + "https://bcr.bazel.build/modules/rules_kotlin/2.2.2/MODULE.bazel": "00d39c5e0fa78cd86193946265bb849e7878c24e44260f9525108428852b315c", + "https://bcr.bazel.build/modules/rules_kotlin/2.2.2/source.json": "7a32c2259c79ae0c9a036121f120de825e3ba5f0f3a209ffbbdccf4dc62489b9", "https://bcr.bazel.build/modules/rules_license/0.0.3/MODULE.bazel": "627e9ab0247f7d1e05736b59dbb1b6871373de5ad31c3011880b4133cafd4bd0", "https://bcr.bazel.build/modules/rules_license/0.0.7/MODULE.bazel": "088fbeb0b6a419005b89cf93fe62d9517c0a2b8bb56af3244af65ecfe37e7d5d", "https://bcr.bazel.build/modules/rules_license/1.0.0/MODULE.bazel": "a7fda60eefdf3d8c827262ba499957e4df06f659330bbe6cdbdb975b768bb65c", "https://bcr.bazel.build/modules/rules_license/1.0.0/source.json": "a52c89e54cc311196e478f8382df91c15f7a2bfdf4c6cd0e2675cc2ff0b56efb", "https://bcr.bazel.build/modules/rules_pkg/0.7.0/MODULE.bazel": "df99f03fc7934a4737122518bb87e667e62d780b610910f0447665a7e2be62dc", "https://bcr.bazel.build/modules/rules_pkg/1.0.1/MODULE.bazel": "5b1df97dbc29623bccdf2b0dcd0f5cb08e2f2c9050aab1092fd39a41e82686ff", - "https://bcr.bazel.build/modules/rules_pkg/1.0.1/source.json": "bd82e5d7b9ce2d31e380dd9f50c111d678c3bdaca190cb76b0e1c71b05e1ba8a", + "https://bcr.bazel.build/modules/rules_pkg/1.2.0/MODULE.bazel": "c7db3c2b407e673c7a39e3625dc05dc9f12d6682cbd82a3a5924a13b491eda7e", + "https://bcr.bazel.build/modules/rules_pkg/1.2.0/source.json": "9062e00845bf91a4247465d371baa837adf9b6ff44c542f73ba084f07667e1dc", "https://bcr.bazel.build/modules/rules_proto/4.0.0/MODULE.bazel": "a7a7b6ce9bee418c1a760b3d84f83a299ad6952f9903c67f19e4edd964894e06", "https://bcr.bazel.build/modules/rules_proto/5.3.0-21.7/MODULE.bazel": "e8dff86b0971688790ae75528fe1813f71809b5afd57facb44dad9e8eca631b7", "https://bcr.bazel.build/modules/rules_proto/6.0.0-rc1/MODULE.bazel": "1e5b502e2e1a9e825eef74476a5a1ee524a92297085015a052510b09a1a09483", @@ -166,14 +196,17 @@ "https://bcr.bazel.build/modules/rules_python/0.37.2/MODULE.bazel": "b5ffde91410745750b6c13be1c5dc4555ef5bc50562af4a89fd77807fdde626a", "https://bcr.bazel.build/modules/rules_python/0.4.0/MODULE.bazel": "9208ee05fd48bf09ac60ed269791cf17fb343db56c8226a720fbb1cdf467166c", "https://bcr.bazel.build/modules/rules_python/1.0.0/MODULE.bazel": "898a3d999c22caa585eb062b600f88654bf92efb204fa346fb55f6f8edffca43", - "https://bcr.bazel.build/modules/rules_python/1.0.0/source.json": "b0162a65c6312e45e7912e39abd1a7f8856c2c7e41ecc9b6dc688a6f6400a917", + "https://bcr.bazel.build/modules/rules_python/1.4.1/MODULE.bazel": "8991ad45bdc25018301d6b7e1d3626afc3c8af8aaf4bc04f23d0b99c938b73a6", + "https://bcr.bazel.build/modules/rules_python/1.6.0/MODULE.bazel": "7e04ad8f8d5bea40451cf80b1bd8262552aa73f841415d20db96b7241bd027d8", + "https://bcr.bazel.build/modules/rules_python/1.6.0/source.json": "e980f654cf66ec4928672f41fc66c4102b5ea54286acf4aecd23256c84211be6", "https://bcr.bazel.build/modules/rules_robolectric/4.14.1.2/MODULE.bazel": "d44fec647d0aeb67b9f3b980cf68ba634976f3ae7ccd6c07d790b59b87a4f251", "https://bcr.bazel.build/modules/rules_robolectric/4.14.1.2/source.json": "37c10335f2361c337c5c1f34ed36d2da70534c23088062b33a8bdaab68aa9dea", "https://bcr.bazel.build/modules/rules_shell/0.1.2/MODULE.bazel": "66e4ca3ce084b04af0b9ff05ff14cab4e5df7503973818bb91cbc6cda08d32fc", "https://bcr.bazel.build/modules/rules_shell/0.2.0/MODULE.bazel": "fda8a652ab3c7d8fee214de05e7a9916d8b28082234e8d2c0094505c5268ed3c", "https://bcr.bazel.build/modules/rules_shell/0.3.0/MODULE.bazel": "de4402cd12f4cc8fda2354fce179fdb068c0b9ca1ec2d2b17b3e21b24c1a937b", "https://bcr.bazel.build/modules/rules_shell/0.4.1/MODULE.bazel": "00e501db01bbf4e3e1dd1595959092c2fadf2087b2852d3f553b5370f5633592", - "https://bcr.bazel.build/modules/rules_shell/0.4.1/source.json": "4757bd277fe1567763991c4425b483477bb82e35e777a56fd846eb5cceda324a", + "https://bcr.bazel.build/modules/rules_shell/0.6.1/MODULE.bazel": "72e76b0eea4e81611ef5452aa82b3da34caca0c8b7b5c0c9584338aa93bae26b", + "https://bcr.bazel.build/modules/rules_shell/0.6.1/source.json": "20ec05cd5e592055e214b2da8ccb283c7f2a421ea0dc2acbf1aa792e11c03d0c", "https://bcr.bazel.build/modules/rules_swift/1.16.0/MODULE.bazel": "4a09f199545a60d09895e8281362b1ff3bb08bbde69c6fc87aff5b92fcc916ca", "https://bcr.bazel.build/modules/rules_swift/2.1.1/MODULE.bazel": "494900a80f944fc7aa61500c2073d9729dff0b764f0e89b824eb746959bc1046", "https://bcr.bazel.build/modules/rules_swift/2.1.1/source.json": "40fc69dfaac64deddbb75bd99cdac55f4427d9ca0afbe408576a65428427a186", @@ -224,8 +257,8 @@ }, "@@rules_android~//rules/android_sdk_repository:rule.bzl%android_sdk_repository_extension": { "general": { - "bzlTransitiveDigest": "NAy+0M15JNVEBb8Tny6t7j3lKqTnsAMjoBB6LJ+C370=", - "usagesDigest": "weZLGEpNa+fTJZ9CEljWxpN3/kuPzj/ULgebzOt2h4g=", + "bzlTransitiveDigest": "+rMrzIrv7sImYmkbXJYv+gFpTJQ79X3MpwwMLI2A+oA=", + "usagesDigest": "QWUhEhywpHG3oIGHrfE8AB3o+64zaQ8VzJfpr0or/7U=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, @@ -239,71 +272,44 @@ "recordedRepoMappingEntries": [] } }, - "@@rules_kotlin~//src/main/starlark/core/repositories:bzlmod_setup.bzl%rules_kotlin_extensions": { + "@@rules_python~//python/uv:uv.bzl%uv": { "general": { - "bzlTransitiveDigest": "fus14IFJ/1LGWWGKPH/U18VnJCoMjfDt1ckahqCnM0A=", - "usagesDigest": "aJF6fLy82rR95Ff5CZPAqxNoFgOMLMN5ImfBS0nhnkg=", + "bzlTransitiveDigest": "mxPY/VBQrSC9LvYeRrlxD+0IkDTQ4+36NGMnGWlN/Vw=", + "usagesDigest": "2i8W0baJ5gflw8UyZLMTK8V524DgyUmgWq4fI+slQsk=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, "envVariables": {}, "generatedRepoSpecs": { - "com_github_jetbrains_kotlin_git": { - "bzlFile": "@@rules_kotlin~//src/main/starlark/core/repositories:compiler.bzl", - "ruleClassName": "kotlin_compiler_git_repository", + "uv": { + "bzlFile": "@@rules_python~//python/uv/private:uv_toolchains_repo.bzl", + "ruleClassName": "uv_toolchains_repo", "attributes": { - "urls": [ - "https://github.com/JetBrains/kotlin/releases/download/v1.9.23/kotlin-compiler-1.9.23.zip" + "toolchain_type": "'@@rules_python~//python/uv:uv_toolchain_type'", + "toolchain_names": [ + "none" ], - "sha256": "93137d3aab9afa9b27cb06a824c2324195c6b6f6179d8a8653f440f5bd58be88" - } - }, - "com_github_jetbrains_kotlin": { - "bzlFile": "@@rules_kotlin~//src/main/starlark/core/repositories:compiler.bzl", - "ruleClassName": "kotlin_capabilities_repository", - "attributes": { - "git_repository_name": "com_github_jetbrains_kotlin_git", - "compiler_version": "1.9.23" - } - }, - "com_github_google_ksp": { - "bzlFile": "@@rules_kotlin~//src/main/starlark/core/repositories:ksp.bzl", - "ruleClassName": "ksp_compiler_plugin_repository", - "attributes": { - "urls": [ - "https://github.com/google/ksp/releases/download/1.9.23-1.0.20/artifacts.zip" - ], - "sha256": "ee0618755913ef7fd6511288a232e8fad24838b9af6ea73972a76e81053c8c2d", - "strip_version": "1.9.23-1.0.20" - } - }, - "com_github_pinterest_ktlint": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_file", - "attributes": { - "sha256": "01b2e0ef893383a50dbeb13970fe7fa3be36ca3e83259e01649945b09d736985", - "urls": [ - "https://github.com/pinterest/ktlint/releases/download/1.3.0/ktlint" - ], - "executable": true - } - }, - "rules_android": { - "bzlFile": "@@bazel_tools//tools/build_defs/repo:http.bzl", - "ruleClassName": "http_archive", - "attributes": { - "sha256": "cd06d15dd8bb59926e4d65f9003bfc20f9da4b2519985c27e190cddc8b7a7806", - "strip_prefix": "rules_android-0.1.1", - "urls": [ - "https://github.com/bazelbuild/rules_android/archive/v0.1.1.zip" - ] + "toolchain_implementations": { + "none": "'@@rules_python~//python:none'" + }, + "toolchain_compatible_with": { + "none": [ + "@platforms//:incompatible" + ] + }, + "toolchain_target_settings": {} } } }, "recordedRepoMappingEntries": [ [ - "rules_kotlin~", + "rules_python~", "bazel_tools", "bazel_tools" + ], + [ + "rules_python~", + "platforms", + "platforms" ] ] } diff --git a/examples/protobuf-java/maven_install.json b/examples/protobuf-java/maven_install.json new file mode 100755 index 000000000..54de1bebf --- /dev/null +++ b/examples/protobuf-java/maven_install.json @@ -0,0 +1,203 @@ +{ + "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", + "__INPUT_ARTIFACTS_HASH": { + "com.google.protobuf:protobuf-java": -1962054184, + "com.google.protobuf:protobuf-java-util": -1199743269, + "repositories": -1949687017 + }, + "__RESOLVED_ARTIFACTS_HASH": { + "com.google.code.findbugs:jsr305": 870839855, + "com.google.code.gson:gson": -1575757252, + "com.google.errorprone:error_prone_annotations": 833623751, + "com.google.guava:failureaccess": -1890754729, + "com.google.guava:guava": -163533230, + "com.google.guava:listenablefuture": 1079558157, + "com.google.j2objc:j2objc-annotations": 248818742, + "com.google.protobuf:protobuf-java": -1963125854, + "com.google.protobuf:protobuf-java-util": -1043924394, + "org.checkerframework:checker-qual": -1533199059 + }, + "artifacts": { + "com.google.code.findbugs:jsr305": { + "shasums": { + "jar": "766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7" + }, + "version": "3.0.2" + }, + "com.google.code.gson:gson": { + "shasums": { + "jar": "d3999291855de495c94c743761b8ab5176cfeabe281a5ab0d8e8d45326fd703e" + }, + "version": "2.8.9" + }, + "com.google.errorprone:error_prone_annotations": { + "shasums": { + "jar": "9e6814cb71816988a4fd1b07a993a8f21bb7058d522c162b1de849e19bea54ae" + }, + "version": "2.18.0" + }, + "com.google.guava:failureaccess": { + "shasums": { + "jar": "a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26" + }, + "version": "1.0.1" + }, + "com.google.guava:guava": { + "shasums": { + "jar": "bd7fa227591fb8509677d0d1122cf95158f3b8a9f45653f58281d879f6dc48c5" + }, + "version": "32.0.1-jre" + }, + "com.google.guava:listenablefuture": { + "shasums": { + "jar": "b372a037d4230aa57fbeffdef30fd6123f9c0c2db85d0aced00c91b974f33f99" + }, + "version": "9999.0-empty-to-avoid-conflict-with-guava" + }, + "com.google.j2objc:j2objc-annotations": { + "shasums": { + "jar": "f02a95fa1a5e95edb3ed859fd0fb7df709d121a35290eff8b74dce2ab7f4d6ed" + }, + "version": "2.8" + }, + "com.google.protobuf:protobuf-java": { + "shasums": { + "jar": "d60dfe7c68a0d38a248cca96924f289dc7e1966a887ee7cae397701af08575ae" + }, + "version": "4.31.1" + }, + "com.google.protobuf:protobuf-java-util": { + "shasums": { + "jar": "fcdc37cac8738ae7f3a3bb4bc76f01517d16358dd3095a14f1e007d0fcc12a8c" + }, + "version": "4.31.1" + }, + "org.checkerframework:checker-qual": { + "shasums": { + "jar": "e316255bbfcd9fe50d165314b85abb2b33cb2a66a93c491db648e498a82c2de1" + }, + "version": "3.33.0" + } + }, + "dependencies": { + "com.google.guava:guava": [ + "com.google.code.findbugs:jsr305", + "com.google.errorprone:error_prone_annotations", + "com.google.guava:failureaccess", + "com.google.guava:listenablefuture", + "com.google.j2objc:j2objc-annotations", + "org.checkerframework:checker-qual" + ], + "com.google.protobuf:protobuf-java-util": [ + "com.google.code.findbugs:jsr305", + "com.google.code.gson:gson", + "com.google.errorprone:error_prone_annotations", + "com.google.guava:guava", + "com.google.j2objc:j2objc-annotations", + "com.google.protobuf:protobuf-java" + ] + }, + "packages": { + "com.google.code.findbugs:jsr305": [ + "javax.annotation", + "javax.annotation.concurrent", + "javax.annotation.meta" + ], + "com.google.code.gson:gson": [ + "com.google.gson", + "com.google.gson.annotations", + "com.google.gson.internal", + "com.google.gson.internal.bind", + "com.google.gson.internal.bind.util", + "com.google.gson.internal.reflect", + "com.google.gson.internal.sql", + "com.google.gson.reflect", + "com.google.gson.stream" + ], + "com.google.errorprone:error_prone_annotations": [ + "com.google.errorprone.annotations", + "com.google.errorprone.annotations.concurrent" + ], + "com.google.guava:failureaccess": [ + "com.google.common.util.concurrent.internal" + ], + "com.google.guava:guava": [ + "com.google.common.annotations", + "com.google.common.base", + "com.google.common.base.internal", + "com.google.common.cache", + "com.google.common.collect", + "com.google.common.escape", + "com.google.common.eventbus", + "com.google.common.graph", + "com.google.common.hash", + "com.google.common.html", + "com.google.common.io", + "com.google.common.math", + "com.google.common.net", + "com.google.common.primitives", + "com.google.common.reflect", + "com.google.common.util.concurrent", + "com.google.common.xml", + "com.google.thirdparty.publicsuffix" + ], + "com.google.j2objc:j2objc-annotations": [ + "com.google.j2objc.annotations" + ], + "com.google.protobuf:protobuf-java": [ + "com.google.protobuf", + "com.google.protobuf.compiler" + ], + "com.google.protobuf:protobuf-java-util": [ + "com.google.protobuf.util" + ], + "org.checkerframework:checker-qual": [ + "org.checkerframework.checker.builder.qual", + "org.checkerframework.checker.calledmethods.qual", + "org.checkerframework.checker.compilermsgs.qual", + "org.checkerframework.checker.fenum.qual", + "org.checkerframework.checker.formatter.qual", + "org.checkerframework.checker.guieffect.qual", + "org.checkerframework.checker.i18n.qual", + "org.checkerframework.checker.i18nformatter.qual", + "org.checkerframework.checker.index.qual", + "org.checkerframework.checker.initialization.qual", + "org.checkerframework.checker.interning.qual", + "org.checkerframework.checker.lock.qual", + "org.checkerframework.checker.mustcall.qual", + "org.checkerframework.checker.nullness.qual", + "org.checkerframework.checker.optional.qual", + "org.checkerframework.checker.propkey.qual", + "org.checkerframework.checker.regex.qual", + "org.checkerframework.checker.signature.qual", + "org.checkerframework.checker.signedness.qual", + "org.checkerframework.checker.tainting.qual", + "org.checkerframework.checker.units.qual", + "org.checkerframework.common.aliasing.qual", + "org.checkerframework.common.initializedfields.qual", + "org.checkerframework.common.reflection.qual", + "org.checkerframework.common.returnsreceiver.qual", + "org.checkerframework.common.subtyping.qual", + "org.checkerframework.common.util.report.qual", + "org.checkerframework.common.value.qual", + "org.checkerframework.dataflow.qual", + "org.checkerframework.framework.qual" + ] + }, + "repositories": { + "https://repo1.maven.org/maven2/": [ + "com.google.code.findbugs:jsr305", + "com.google.code.gson:gson", + "com.google.errorprone:error_prone_annotations", + "com.google.guava:failureaccess", + "com.google.guava:guava", + "com.google.guava:listenablefuture", + "com.google.j2objc:j2objc-annotations", + "com.google.protobuf:protobuf-java", + "com.google.protobuf:protobuf-java-util", + "org.checkerframework:checker-qual" + ] + }, + "services": {}, + "version": "3" +} diff --git a/examples/protobuf-java/src/main/BUILD b/examples/protobuf-java/src/main/BUILD index 391917b5b..7981b2262 100644 --- a/examples/protobuf-java/src/main/BUILD +++ b/examples/protobuf-java/src/main/BUILD @@ -1,3 +1,5 @@ +load("@com_google_protobuf//bazel:java_proto_library.bzl", "java_proto_library") +load("@rules_java//java:java_binary.bzl", "java_binary") load("@rules_proto//proto:defs.bzl", "proto_library") java_binary( diff --git a/examples/scala_akka/.bazelrc b/examples/scala_akka/.bazelrc new file mode 100644 index 000000000..17fd6e085 --- /dev/null +++ b/examples/scala_akka/.bazelrc @@ -0,0 +1,2 @@ +common --enable_bzlmod +common --enable_workspace=false diff --git a/examples/scala_akka/MODULE.bazel b/examples/scala_akka/MODULE.bazel new file mode 100644 index 000000000..bd26fc74d --- /dev/null +++ b/examples/scala_akka/MODULE.bazel @@ -0,0 +1,50 @@ +module(name = "rules_jvm_external_example_scala_akka") + +bazel_dep(name = "bazel_skylib", version = "1.7.1") +bazel_dep(name = "rules_java", version = "8.13.0") +bazel_dep(name = "rules_jvm_external", version = "ignored") +bazel_dep(name = "rules_scala", version = "7.1.6", repo_name = "io_bazel_rules_scala") + +local_path_override( + module_name = "rules_jvm_external", + path = "../../", +) + +scala_config = use_extension( + "@io_bazel_rules_scala//scala/extensions:config.bzl", + "scala_config", +) +scala_config.settings(scala_version = "2.12.20") + +scala_deps = use_extension( + "@io_bazel_rules_scala//scala/extensions:deps.bzl", + "scala_deps", +) +scala_deps.scala() +scala_deps.scalatest() + +maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") +maven.install( + artifacts = [ + "com.github.pureconfig:pureconfig_2.12:0.10.2", + "com.typesafe.akka:akka-actor_2.12:2.5.22", + "com.typesafe.akka:akka-http_2.12:10.1.8", + "com.typesafe.akka:akka-http-testkit_2.12:10.1.8", + "com.typesafe.akka:akka-stream_2.12:2.5.22", + "com.typesafe.akka:akka-stream-testkit_2.12:2.5.22", + "com.typesafe.akka:akka-testkit_2.12:2.5.22", + "com.typesafe.scala-logging:scala-logging_2.12:3.9.2", + "org.mockito:mockito-core:2.26.0", + "org.scalaz:scalaz-core_2.12:7.2.27", + "org.scalaz:scalaz-concurrent_2.12:7.2.27", + "org.slf4j:slf4j-api:1.7.26", + "org.slf4j:slf4j-simple:1.7.26", + "org.scalatest:scalatest-wordspec_2.12:3.2.9", + ], + fetch_sources = True, + lock_file = "//:maven_install.json", + repositories = [ + "https://repo1.maven.org/maven2", + ], +) +use_repo(maven, "maven") diff --git a/examples/scala_akka/maven_install.json b/examples/scala_akka/maven_install.json index df9d7ba98..6009b91ec 100644 --- a/examples/scala_akka/maven_install.json +++ b/examples/scala_akka/maven_install.json @@ -1,7 +1,121 @@ { "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", - "__INPUT_ARTIFACTS_HASH": -1363590001, - "__RESOLVED_ARTIFACTS_HASH": -1912981286, + "__INPUT_ARTIFACTS_HASH": { + "com.github.pureconfig:pureconfig_2.12": -2074100197, + "com.google.code.findbugs:jsr305": 495355163, + "com.google.code.gson:gson": 597770368, + "com.google.errorprone:error_prone_annotations": -1035138750, + "com.google.guava:guava": 1943808618, + "com.google.j2objc:j2objc-annotations": 2003271689, + "com.typesafe.akka:akka-actor_2.12": 106665115, + "com.typesafe.akka:akka-http-testkit_2.12": 974866048, + "com.typesafe.akka:akka-http_2.12": 444109257, + "com.typesafe.akka:akka-stream-testkit_2.12": 94244193, + "com.typesafe.akka:akka-stream_2.12": 2012303530, + "com.typesafe.akka:akka-testkit_2.12": 1160432298, + "com.typesafe.scala-logging:scala-logging_2.12": 245306812, + "org.mockito:mockito-core": 1750952894, + "org.scalatest:scalatest-wordspec_2.12": -1910567198, + "org.scalaz:scalaz-concurrent_2.12": -349178838, + "org.scalaz:scalaz-core_2.12": 586184898, + "org.slf4j:slf4j-api": -1472597245, + "org.slf4j:slf4j-simple": -1762836447, + "repositories": -1949687017 + }, + "__RESOLVED_ARTIFACTS_HASH": { + "com.chuusai:shapeless_2.12": 494519819, + "com.chuusai:shapeless_2.12:jar:sources": 1496762573, + "com.github.pureconfig:pureconfig-core_2.12": 2003110288, + "com.github.pureconfig:pureconfig-core_2.12:jar:sources": 1520345346, + "com.github.pureconfig:pureconfig-generic_2.12": -1612683233, + "com.github.pureconfig:pureconfig-generic_2.12:jar:sources": -2013047190, + "com.github.pureconfig:pureconfig-macros_2.12": -1708203669, + "com.github.pureconfig:pureconfig-macros_2.12:jar:sources": -1925318113, + "com.github.pureconfig:pureconfig_2.12": 1118541525, + "com.github.pureconfig:pureconfig_2.12:jar:sources": 1883421033, + "com.google.code.findbugs:jsr305": 870839855, + "com.google.code.findbugs:jsr305:jar:sources": -935881202, + "com.google.code.gson:gson": -1575757252, + "com.google.code.gson:gson:jar:sources": -350708227, + "com.google.errorprone:error_prone_annotations": 833623751, + "com.google.errorprone:error_prone_annotations:jar:sources": 231035411, + "com.google.guava:failureaccess": -1890754729, + "com.google.guava:failureaccess:jar:sources": 1500322647, + "com.google.guava:guava": -163533230, + "com.google.guava:guava:jar:sources": 2103972560, + "com.google.guava:listenablefuture": 1079558157, + "com.google.j2objc:j2objc-annotations": 248818742, + "com.google.j2objc:j2objc-annotations:jar:sources": -378364028, + "com.typesafe.akka:akka-actor_2.12": 1718237190, + "com.typesafe.akka:akka-actor_2.12:jar:sources": -1904355227, + "com.typesafe.akka:akka-http-core_2.12": -237545852, + "com.typesafe.akka:akka-http-core_2.12:jar:sources": -2104417934, + "com.typesafe.akka:akka-http-testkit_2.12": 1761830972, + "com.typesafe.akka:akka-http-testkit_2.12:jar:sources": -1190957652, + "com.typesafe.akka:akka-http_2.12": 1102837115, + "com.typesafe.akka:akka-http_2.12:jar:sources": -1694932266, + "com.typesafe.akka:akka-parsing_2.12": -709058463, + "com.typesafe.akka:akka-parsing_2.12:jar:sources": -242585261, + "com.typesafe.akka:akka-protobuf_2.12": 1425978443, + "com.typesafe.akka:akka-protobuf_2.12:jar:sources": -1278731558, + "com.typesafe.akka:akka-stream-testkit_2.12": 1473746138, + "com.typesafe.akka:akka-stream-testkit_2.12:jar:sources": -1285012173, + "com.typesafe.akka:akka-stream_2.12": -33655900, + "com.typesafe.akka:akka-stream_2.12:jar:sources": -632162276, + "com.typesafe.akka:akka-testkit_2.12": -413284073, + "com.typesafe.akka:akka-testkit_2.12:jar:sources": -282386611, + "com.typesafe.scala-logging:scala-logging_2.12": -368952281, + "com.typesafe.scala-logging:scala-logging_2.12:jar:sources": -185266458, + "com.typesafe:config": -536766452, + "com.typesafe:config:jar:sources": -1301135157, + "com.typesafe:ssl-config-core_2.12": -1964662879, + "com.typesafe:ssl-config-core_2.12:jar:sources": -1359637113, + "net.bytebuddy:byte-buddy": -923613294, + "net.bytebuddy:byte-buddy-agent": 1369255044, + "net.bytebuddy:byte-buddy-agent:jar:sources": 891456196, + "net.bytebuddy:byte-buddy:jar:sources": 472742907, + "org.checkerframework:checker-qual": -1533199059, + "org.checkerframework:checker-qual:jar:sources": -1750922234, + "org.mockito:mockito-core": -836959111, + "org.mockito:mockito-core:jar:sources": -1046259042, + "org.objenesis:objenesis": 942053971, + "org.objenesis:objenesis:jar:sources": 565472125, + "org.reactivestreams:reactive-streams": -1213709076, + "org.reactivestreams:reactive-streams:jar:sources": -683229771, + "org.scala-lang.modules:scala-java8-compat_2.12": 1307097734, + "org.scala-lang.modules:scala-java8-compat_2.12:jar:sources": 361540645, + "org.scala-lang.modules:scala-parser-combinators_2.12": -392130779, + "org.scala-lang.modules:scala-parser-combinators_2.12:jar:sources": -1506507763, + "org.scala-lang.modules:scala-xml_2.12": 848111085, + "org.scala-lang.modules:scala-xml_2.12:jar:sources": -756418229, + "org.scala-lang:scala-library": 19296832, + "org.scala-lang:scala-library:jar:sources": -1484209318, + "org.scala-lang:scala-reflect": 2072885300, + "org.scala-lang:scala-reflect:jar:sources": -375716754, + "org.scalactic:scalactic_2.12": -1448794326, + "org.scalactic:scalactic_2.12:jar:sources": 32025748, + "org.scalatest:scalatest-compatible": 473322977, + "org.scalatest:scalatest-compatible:jar:sources": -1320500181, + "org.scalatest:scalatest-core_2.12": 397385166, + "org.scalatest:scalatest-core_2.12:jar:sources": 1559950511, + "org.scalatest:scalatest-wordspec_2.12": -719047456, + "org.scalatest:scalatest-wordspec_2.12:jar:sources": 1718677819, + "org.scalaz:scalaz-concurrent_2.12": -1731029453, + "org.scalaz:scalaz-concurrent_2.12:jar:sources": -26033445, + "org.scalaz:scalaz-core_2.12": 1226790717, + "org.scalaz:scalaz-core_2.12:jar:sources": 1147594094, + "org.scalaz:scalaz-effect_2.12": -1899207341, + "org.scalaz:scalaz-effect_2.12:jar:sources": -440592236, + "org.slf4j:slf4j-api": -1206342160, + "org.slf4j:slf4j-api:jar:sources": 771455380, + "org.slf4j:slf4j-simple": -2033857648, + "org.slf4j:slf4j-simple:jar:sources": -365928876, + "org.typelevel:macro-compat_2.12": 265059341, + "org.typelevel:macro-compat_2.12:jar:sources": -754563436 + }, + "conflict_resolution": { + "com.google.errorprone:error_prone_annotations:2.5.1": "com.google.errorprone:error_prone_annotations:2.18.0" + }, "artifacts": { "com.chuusai:shapeless_2.12": { "shasums": { @@ -38,6 +152,54 @@ }, "version": "0.10.2" }, + "com.google.code.findbugs:jsr305": { + "shasums": { + "jar": "766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7", + "sources": "1c9e85e272d0708c6a591dc74828c71603053b48cc75ae83cce56912a2aa063b" + }, + "version": "3.0.2" + }, + "com.google.code.gson:gson": { + "shasums": { + "jar": "d3999291855de495c94c743761b8ab5176cfeabe281a5ab0d8e8d45326fd703e", + "sources": "ba5bddb1a89eb721fcca39f3b34294532060f851e2407a82d82134a41eec4719" + }, + "version": "2.8.9" + }, + "com.google.errorprone:error_prone_annotations": { + "shasums": { + "jar": "9e6814cb71816988a4fd1b07a993a8f21bb7058d522c162b1de849e19bea54ae", + "sources": "a2c0783981c8ad48faaa6ea8de6f1926d8e87c125f5df5ce531a9810b943e032" + }, + "version": "2.18.0" + }, + "com.google.guava:failureaccess": { + "shasums": { + "jar": "a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26", + "sources": "092346eebbb1657b51aa7485a246bf602bb464cc0b0e2e1c7e7201fadce1e98f" + }, + "version": "1.0.1" + }, + "com.google.guava:guava": { + "shasums": { + "jar": "bd7fa227591fb8509677d0d1122cf95158f3b8a9f45653f58281d879f6dc48c5", + "sources": "9105dfc522fb440b39ff8da07cc56aacf65a9f765044c7803a9f32e36e05a22b" + }, + "version": "32.0.1-jre" + }, + "com.google.guava:listenablefuture": { + "shasums": { + "jar": "b372a037d4230aa57fbeffdef30fd6123f9c0c2db85d0aced00c91b974f33f99" + }, + "version": "9999.0-empty-to-avoid-conflict-with-guava" + }, + "com.google.j2objc:j2objc-annotations": { + "shasums": { + "jar": "f02a95fa1a5e95edb3ed859fd0fb7df709d121a35290eff8b74dce2ab7f4d6ed", + "sources": "7413eed41f111453a08837f5ac680edded7faed466cbd35745e402e13f4cc3f5" + }, + "version": "2.8" + }, "com.typesafe.akka:akka-actor_2.12": { "shasums": { "jar": "579c8c53f552b1578d30d6905ce7264394e6ef72de782e41683a8b4e060d74ec", @@ -136,6 +298,13 @@ }, "version": "1.9.10" }, + "org.checkerframework:checker-qual": { + "shasums": { + "jar": "e316255bbfcd9fe50d165314b85abb2b33cb2a66a93c491db648e498a82c2de1", + "sources": "443fa6151982bb4c6ce62e2938f53660085b13a7dceb517202777b87d0dea2c7" + }, + "version": "3.33.0" + }, "org.mockito:mockito-core": { "shasums": { "jar": "4c6f5033d07e52c5f238f359a25a4898114f0de973a2acf1db67abb4742f5c17", @@ -286,6 +455,14 @@ "com.github.pureconfig:pureconfig-generic_2.12", "org.scala-lang:scala-library" ], + "com.google.guava:guava": [ + "com.google.code.findbugs:jsr305", + "com.google.errorprone:error_prone_annotations", + "com.google.guava:failureaccess", + "com.google.guava:listenablefuture", + "com.google.j2objc:j2objc-annotations", + "org.checkerframework:checker-qual" + ], "com.typesafe.akka:akka-actor_2.12": [ "com.typesafe:config", "org.scala-lang.modules:scala-java8-compat_2.12", @@ -411,6 +588,52 @@ "pureconfig", "pureconfig.derivation" ], + "com.google.code.findbugs:jsr305": [ + "javax.annotation", + "javax.annotation.concurrent", + "javax.annotation.meta" + ], + "com.google.code.gson:gson": [ + "com.google.gson", + "com.google.gson.annotations", + "com.google.gson.internal", + "com.google.gson.internal.bind", + "com.google.gson.internal.bind.util", + "com.google.gson.internal.reflect", + "com.google.gson.internal.sql", + "com.google.gson.reflect", + "com.google.gson.stream" + ], + "com.google.errorprone:error_prone_annotations": [ + "com.google.errorprone.annotations", + "com.google.errorprone.annotations.concurrent" + ], + "com.google.guava:failureaccess": [ + "com.google.common.util.concurrent.internal" + ], + "com.google.guava:guava": [ + "com.google.common.annotations", + "com.google.common.base", + "com.google.common.base.internal", + "com.google.common.cache", + "com.google.common.collect", + "com.google.common.escape", + "com.google.common.eventbus", + "com.google.common.graph", + "com.google.common.hash", + "com.google.common.html", + "com.google.common.io", + "com.google.common.math", + "com.google.common.net", + "com.google.common.primitives", + "com.google.common.reflect", + "com.google.common.util.concurrent", + "com.google.common.xml", + "com.google.thirdparty.publicsuffix" + ], + "com.google.j2objc:j2objc-annotations": [ + "com.google.j2objc.annotations" + ], "com.typesafe.akka:akka-actor_2.12": [ "akka", "akka.actor", @@ -593,6 +816,38 @@ "net.bytebuddy:byte-buddy:jar:sources": [ "net.bytebuddy.build" ], + "org.checkerframework:checker-qual": [ + "org.checkerframework.checker.builder.qual", + "org.checkerframework.checker.calledmethods.qual", + "org.checkerframework.checker.compilermsgs.qual", + "org.checkerframework.checker.fenum.qual", + "org.checkerframework.checker.formatter.qual", + "org.checkerframework.checker.guieffect.qual", + "org.checkerframework.checker.i18n.qual", + "org.checkerframework.checker.i18nformatter.qual", + "org.checkerframework.checker.index.qual", + "org.checkerframework.checker.initialization.qual", + "org.checkerframework.checker.interning.qual", + "org.checkerframework.checker.lock.qual", + "org.checkerframework.checker.mustcall.qual", + "org.checkerframework.checker.nullness.qual", + "org.checkerframework.checker.optional.qual", + "org.checkerframework.checker.propkey.qual", + "org.checkerframework.checker.regex.qual", + "org.checkerframework.checker.signature.qual", + "org.checkerframework.checker.signedness.qual", + "org.checkerframework.checker.tainting.qual", + "org.checkerframework.checker.units.qual", + "org.checkerframework.common.aliasing.qual", + "org.checkerframework.common.initializedfields.qual", + "org.checkerframework.common.reflection.qual", + "org.checkerframework.common.returnsreceiver.qual", + "org.checkerframework.common.subtyping.qual", + "org.checkerframework.common.util.report.qual", + "org.checkerframework.common.value.qual", + "org.checkerframework.dataflow.qual", + "org.checkerframework.framework.qual" + ], "org.mockito:mockito-core": [ "org.mockito", "org.mockito.codegen", @@ -828,6 +1083,19 @@ "com.github.pureconfig:pureconfig-macros_2.12:jar:sources", "com.github.pureconfig:pureconfig_2.12", "com.github.pureconfig:pureconfig_2.12:jar:sources", + "com.google.code.findbugs:jsr305", + "com.google.code.findbugs:jsr305:jar:sources", + "com.google.code.gson:gson", + "com.google.code.gson:gson:jar:sources", + "com.google.errorprone:error_prone_annotations", + "com.google.errorprone:error_prone_annotations:jar:sources", + "com.google.guava:failureaccess", + "com.google.guava:failureaccess:jar:sources", + "com.google.guava:guava", + "com.google.guava:guava:jar:sources", + "com.google.guava:listenablefuture", + "com.google.j2objc:j2objc-annotations", + "com.google.j2objc:j2objc-annotations:jar:sources", "com.typesafe.akka:akka-actor_2.12", "com.typesafe.akka:akka-actor_2.12:jar:sources", "com.typesafe.akka:akka-http-core_2.12", @@ -856,6 +1124,8 @@ "net.bytebuddy:byte-buddy-agent", "net.bytebuddy:byte-buddy-agent:jar:sources", "net.bytebuddy:byte-buddy:jar:sources", + "org.checkerframework:checker-qual", + "org.checkerframework:checker-qual:jar:sources", "org.mockito:mockito-core", "org.mockito:mockito-core:jar:sources", "org.objenesis:objenesis", @@ -895,5 +1165,5 @@ ] }, "services": {}, - "version": "2" + "version": "3" } diff --git a/examples/simple/BUILD b/examples/simple/BUILD index 666639674..8427f3a38 100644 --- a/examples/simple/BUILD +++ b/examples/simple/BUILD @@ -1,7 +1,7 @@ android_library( name = "my_lib", exports = [ - "@junit_junit//jar", # alias to @maven//:junit_junit + "@maven//:junit_junit", "@maven//:android_arch_lifecycle_common", "@maven//:android_arch_lifecycle_viewmodel", "@maven//:androidx_test_espresso_espresso_web", diff --git a/examples/simple/MODULE.bazel b/examples/simple/MODULE.bazel new file mode 100644 index 000000000..eacecae5a --- /dev/null +++ b/examples/simple/MODULE.bazel @@ -0,0 +1,30 @@ +module(name = "rules_jvm_external_example_simple") + +bazel_dep(name = "rules_android", version = "0.7.1") +bazel_dep(name = "rules_jvm_external", version = "ignored") +local_path_override( + module_name = "rules_jvm_external", + path = "../../", +) + +# Android SDK setup for bzlmod +android_sdk_repository_extension = use_extension("@rules_android//rules/android_sdk_repository:rule.bzl", "android_sdk_repository_extension") +use_repo(android_sdk_repository_extension, "androidsdk") + +register_toolchains("@androidsdk//:sdk-toolchain", "@androidsdk//:all") + +maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") +maven.install( + artifacts = [ + "junit:junit:4.12", + "android.arch.lifecycle:common:1.1.1", + "android.arch.lifecycle:viewmodel:1.1.1", + "androidx.test.espresso:espresso-web:3.1.1", + "com.android.support:design:27.0.2", + ], + repositories = [ + "https://maven.google.com", + "https://repo1.maven.org/maven2", + ], +) +use_repo(maven, "maven") diff --git a/examples/spring_boot/.bazelrc b/examples/spring_boot/.bazelrc new file mode 100644 index 000000000..17fd6e085 --- /dev/null +++ b/examples/spring_boot/.bazelrc @@ -0,0 +1,2 @@ +common --enable_bzlmod +common --enable_workspace=false diff --git a/examples/spring_boot/MODULE.bazel b/examples/spring_boot/MODULE.bazel new file mode 100644 index 000000000..169fa4c64 --- /dev/null +++ b/examples/spring_boot/MODULE.bazel @@ -0,0 +1,34 @@ +module(name = "rules_jvm_external_example_spring_boot") + +bazel_dep(name = "rules_java", version = "8.13.0") +bazel_dep(name = "rules_jvm_external", version = "ignored") + +local_path_override( + module_name = "rules_jvm_external", + path = "../../", +) + +maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven") +maven.install( + artifacts = [ + # log4j deps are added only for https://github.com/bazelbuild/rules_jvm_external/issues/630 + "org.apache.logging.log4j:log4j-api:2.16.0", + "org.apache.logging.log4j:log4j-to-slf4j:2.16.0", + "org.hamcrest:hamcrest-library:1.3", + "org.springframework.boot:spring-boot-autoconfigure:2.1.3.RELEASE", + "org.springframework.boot:spring-boot-test-autoconfigure:2.1.3.RELEASE", + "org.springframework.boot:spring-boot-test:2.1.3.RELEASE", + "org.springframework.boot:spring-boot:2.1.3.RELEASE", + "org.springframework.boot:spring-boot-starter-web:2.1.3.RELEASE", + "org.springframework:spring-beans:5.1.5.RELEASE", + "org.springframework:spring-context:5.1.5.RELEASE", + "org.springframework:spring-test:5.1.5.RELEASE", + "org.springframework:spring-web:5.1.5.RELEASE", + ], + fetch_sources = True, + lock_file = "//:maven_install.json", + repositories = [ + "https://repo1.maven.org/maven2", + ], +) +use_repo(maven, "maven") diff --git a/examples/spring_boot/maven_install.json b/examples/spring_boot/maven_install.json index 6811b7c08..2a8888699 100644 --- a/examples/spring_boot/maven_install.json +++ b/examples/spring_boot/maven_install.json @@ -1,7 +1,124 @@ { "__AUTOGENERATED_FILE_DO_NOT_MODIFY_THIS_FILE_MANUALLY": "THERE_IS_NO_DATA_ONLY_ZUUL", - "__INPUT_ARTIFACTS_HASH": -835810547, - "__RESOLVED_ARTIFACTS_HASH": 1956461926, + "__INPUT_ARTIFACTS_HASH": { + "com.google.code.findbugs:jsr305": 495355163, + "com.google.code.gson:gson": 597770368, + "com.google.errorprone:error_prone_annotations": -1035138750, + "com.google.guava:guava": 1943808618, + "com.google.j2objc:j2objc-annotations": 2003271689, + "org.apache.logging.log4j:log4j-api": 673673923, + "org.apache.logging.log4j:log4j-to-slf4j": 1273794486, + "org.hamcrest:hamcrest-library": -1383845358, + "org.springframework.boot:spring-boot": 326110032, + "org.springframework.boot:spring-boot-autoconfigure": 278070470, + "org.springframework.boot:spring-boot-starter-web": -1061245017, + "org.springframework.boot:spring-boot-test": -2011098977, + "org.springframework.boot:spring-boot-test-autoconfigure": -11725867, + "org.springframework:spring-beans": 1068430120, + "org.springframework:spring-context": 405791572, + "org.springframework:spring-test": -1597230143, + "org.springframework:spring-web": 114709369, + "repositories": -1949687017 + }, + "__RESOLVED_ARTIFACTS_HASH": { + "ch.qos.logback:logback-classic": 1705611486, + "ch.qos.logback:logback-classic:jar:sources": 563614625, + "ch.qos.logback:logback-core": -421451688, + "ch.qos.logback:logback-core:jar:sources": -178309376, + "com.fasterxml.jackson.core:jackson-annotations": 1723324878, + "com.fasterxml.jackson.core:jackson-annotations:jar:sources": -910305735, + "com.fasterxml.jackson.core:jackson-core": 216667274, + "com.fasterxml.jackson.core:jackson-core:jar:sources": -1700413540, + "com.fasterxml.jackson.core:jackson-databind": -1534251498, + "com.fasterxml.jackson.core:jackson-databind:jar:sources": 1381922396, + "com.fasterxml.jackson.datatype:jackson-datatype-jdk8": -1863378728, + "com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:sources": 720455295, + "com.fasterxml.jackson.datatype:jackson-datatype-jsr310": 1398002482, + "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:sources": 1978591429, + "com.fasterxml.jackson.module:jackson-module-parameter-names": 1117035400, + "com.fasterxml.jackson.module:jackson-module-parameter-names:jar:sources": 88141176, + "com.fasterxml:classmate": -1773139206, + "com.fasterxml:classmate:jar:sources": 846259226, + "com.google.code.findbugs:jsr305": 870839855, + "com.google.code.findbugs:jsr305:jar:sources": -935881202, + "com.google.code.gson:gson": -1575757252, + "com.google.code.gson:gson:jar:sources": -350708227, + "com.google.errorprone:error_prone_annotations": 833623751, + "com.google.errorprone:error_prone_annotations:jar:sources": 231035411, + "com.google.guava:failureaccess": -1890754729, + "com.google.guava:failureaccess:jar:sources": 1500322647, + "com.google.guava:guava": -163533230, + "com.google.guava:guava:jar:sources": 2103972560, + "com.google.guava:listenablefuture": 1079558157, + "com.google.j2objc:j2objc-annotations": 248818742, + "com.google.j2objc:j2objc-annotations:jar:sources": -378364028, + "javax.annotation:javax.annotation-api": -1009230154, + "javax.annotation:javax.annotation-api:jar:sources": -1912277688, + "javax.validation:validation-api": -1925989691, + "javax.validation:validation-api:jar:sources": -1632205829, + "org.apache.logging.log4j:log4j-api": 1938301611, + "org.apache.logging.log4j:log4j-api:jar:sources": -1814445120, + "org.apache.logging.log4j:log4j-to-slf4j": -1286339471, + "org.apache.logging.log4j:log4j-to-slf4j:jar:sources": -792217426, + "org.apache.tomcat.embed:tomcat-embed-core": 1571674223, + "org.apache.tomcat.embed:tomcat-embed-core:jar:sources": -591232648, + "org.apache.tomcat.embed:tomcat-embed-el": 1869592561, + "org.apache.tomcat.embed:tomcat-embed-el:jar:sources": -65765420, + "org.apache.tomcat.embed:tomcat-embed-websocket": -1584940697, + "org.apache.tomcat.embed:tomcat-embed-websocket:jar:sources": 923653276, + "org.apache.tomcat:tomcat-annotations-api": 1224758162, + "org.apache.tomcat:tomcat-annotations-api:jar:sources": 1180986566, + "org.checkerframework:checker-qual": -1533199059, + "org.checkerframework:checker-qual:jar:sources": -1750922234, + "org.hamcrest:hamcrest-core": 649657847, + "org.hamcrest:hamcrest-core:jar:sources": -1646511374, + "org.hamcrest:hamcrest-library": 1747207502, + "org.hamcrest:hamcrest-library:jar:sources": 896267254, + "org.hibernate.validator:hibernate-validator": 449533163, + "org.hibernate.validator:hibernate-validator:jar:sources": 625182784, + "org.jboss.logging:jboss-logging": -983550463, + "org.jboss.logging:jboss-logging:jar:sources": 708347488, + "org.slf4j:jul-to-slf4j": 33525118, + "org.slf4j:jul-to-slf4j:jar:sources": -1699967259, + "org.slf4j:slf4j-api": 78054556, + "org.slf4j:slf4j-api:jar:sources": 423020734, + "org.springframework.boot:spring-boot": -494831200, + "org.springframework.boot:spring-boot-autoconfigure": -735375751, + "org.springframework.boot:spring-boot-autoconfigure:jar:sources": 2037480413, + "org.springframework.boot:spring-boot-starter": -522590840, + "org.springframework.boot:spring-boot-starter-json": -1480710212, + "org.springframework.boot:spring-boot-starter-logging": 1421244493, + "org.springframework.boot:spring-boot-starter-tomcat": -538700186, + "org.springframework.boot:spring-boot-starter-web": -148719678, + "org.springframework.boot:spring-boot-test": 1462672623, + "org.springframework.boot:spring-boot-test-autoconfigure": 2112143108, + "org.springframework.boot:spring-boot-test-autoconfigure:jar:sources": -327607113, + "org.springframework.boot:spring-boot-test:jar:sources": -59323559, + "org.springframework.boot:spring-boot:jar:sources": 976203026, + "org.springframework:spring-aop": 1756513033, + "org.springframework:spring-aop:jar:sources": -1679234963, + "org.springframework:spring-beans": 584730626, + "org.springframework:spring-beans:jar:sources": -1014524861, + "org.springframework:spring-context": -1362134068, + "org.springframework:spring-context:jar:sources": 1725853779, + "org.springframework:spring-core": -997258323, + "org.springframework:spring-core:jar:sources": 563828419, + "org.springframework:spring-expression": 443765561, + "org.springframework:spring-expression:jar:sources": 250986934, + "org.springframework:spring-jcl": 1589093230, + "org.springframework:spring-jcl:jar:sources": -297914141, + "org.springframework:spring-test": -1436056067, + "org.springframework:spring-test:jar:sources": 939402491, + "org.springframework:spring-web": 1712508267, + "org.springframework:spring-web:jar:sources": 971167044, + "org.springframework:spring-webmvc": -1705907438, + "org.springframework:spring-webmvc:jar:sources": 1743624303, + "org.yaml:snakeyaml": -694097727, + "org.yaml:snakeyaml:jar:sources": -976574534 + }, + "conflict_resolution": { + "com.google.errorprone:error_prone_annotations:2.5.1": "com.google.errorprone:error_prone_annotations:2.18.0" + }, "artifacts": { "ch.qos.logback:logback-classic": { "shasums": { @@ -66,6 +183,54 @@ }, "version": "1.4.0" }, + "com.google.code.findbugs:jsr305": { + "shasums": { + "jar": "766ad2a0783f2687962c8ad74ceecc38a28b9f72a2d085ee438b7813e928d0c7", + "sources": "1c9e85e272d0708c6a591dc74828c71603053b48cc75ae83cce56912a2aa063b" + }, + "version": "3.0.2" + }, + "com.google.code.gson:gson": { + "shasums": { + "jar": "d3999291855de495c94c743761b8ab5176cfeabe281a5ab0d8e8d45326fd703e", + "sources": "ba5bddb1a89eb721fcca39f3b34294532060f851e2407a82d82134a41eec4719" + }, + "version": "2.8.9" + }, + "com.google.errorprone:error_prone_annotations": { + "shasums": { + "jar": "9e6814cb71816988a4fd1b07a993a8f21bb7058d522c162b1de849e19bea54ae", + "sources": "a2c0783981c8ad48faaa6ea8de6f1926d8e87c125f5df5ce531a9810b943e032" + }, + "version": "2.18.0" + }, + "com.google.guava:failureaccess": { + "shasums": { + "jar": "a171ee4c734dd2da837e4b16be9df4661afab72a41adaf31eb84dfdaf936ca26", + "sources": "092346eebbb1657b51aa7485a246bf602bb464cc0b0e2e1c7e7201fadce1e98f" + }, + "version": "1.0.1" + }, + "com.google.guava:guava": { + "shasums": { + "jar": "bd7fa227591fb8509677d0d1122cf95158f3b8a9f45653f58281d879f6dc48c5", + "sources": "9105dfc522fb440b39ff8da07cc56aacf65a9f765044c7803a9f32e36e05a22b" + }, + "version": "32.0.1-jre" + }, + "com.google.guava:listenablefuture": { + "shasums": { + "jar": "b372a037d4230aa57fbeffdef30fd6123f9c0c2db85d0aced00c91b974f33f99" + }, + "version": "9999.0-empty-to-avoid-conflict-with-guava" + }, + "com.google.j2objc:j2objc-annotations": { + "shasums": { + "jar": "f02a95fa1a5e95edb3ed859fd0fb7df709d121a35290eff8b74dce2ab7f4d6ed", + "sources": "7413eed41f111453a08837f5ac680edded7faed466cbd35745e402e13f4cc3f5" + }, + "version": "2.8" + }, "javax.annotation:javax.annotation-api": { "shasums": { "jar": "e04ba5195bcd555dc95650f7cc614d151e4bcd52d29a10b8aa2197f3ab89ab9b", @@ -122,6 +287,13 @@ }, "version": "9.0.16" }, + "org.checkerframework:checker-qual": { + "shasums": { + "jar": "e316255bbfcd9fe50d165314b85abb2b33cb2a66a93c491db648e498a82c2de1", + "sources": "443fa6151982bb4c6ce62e2938f53660085b13a7dceb517202777b87d0dea2c7" + }, + "version": "3.33.0" + }, "org.hamcrest:hamcrest-core": { "shasums": { "jar": "66fdef91e9739348df7a096aa384a5685f4e875584cce89386a7a47251c4d8e9", @@ -315,6 +487,14 @@ "com.fasterxml.jackson.core:jackson-core", "com.fasterxml.jackson.core:jackson-databind" ], + "com.google.guava:guava": [ + "com.google.code.findbugs:jsr305", + "com.google.errorprone:error_prone_annotations", + "com.google.guava:failureaccess", + "com.google.guava:listenablefuture", + "com.google.j2objc:j2objc-annotations", + "org.checkerframework:checker-qual" + ], "org.apache.logging.log4j:log4j-to-slf4j": [ "org.apache.logging.log4j:log4j-api", "org.slf4j:slf4j-api" @@ -545,6 +725,52 @@ "com.fasterxml.classmate.types", "com.fasterxml.classmate.util" ], + "com.google.code.findbugs:jsr305": [ + "javax.annotation", + "javax.annotation.concurrent", + "javax.annotation.meta" + ], + "com.google.code.gson:gson": [ + "com.google.gson", + "com.google.gson.annotations", + "com.google.gson.internal", + "com.google.gson.internal.bind", + "com.google.gson.internal.bind.util", + "com.google.gson.internal.reflect", + "com.google.gson.internal.sql", + "com.google.gson.reflect", + "com.google.gson.stream" + ], + "com.google.errorprone:error_prone_annotations": [ + "com.google.errorprone.annotations", + "com.google.errorprone.annotations.concurrent" + ], + "com.google.guava:failureaccess": [ + "com.google.common.util.concurrent.internal" + ], + "com.google.guava:guava": [ + "com.google.common.annotations", + "com.google.common.base", + "com.google.common.base.internal", + "com.google.common.cache", + "com.google.common.collect", + "com.google.common.escape", + "com.google.common.eventbus", + "com.google.common.graph", + "com.google.common.hash", + "com.google.common.html", + "com.google.common.io", + "com.google.common.math", + "com.google.common.net", + "com.google.common.primitives", + "com.google.common.reflect", + "com.google.common.util.concurrent", + "com.google.common.xml", + "com.google.thirdparty.publicsuffix" + ], + "com.google.j2objc:j2objc-annotations": [ + "com.google.j2objc.annotations" + ], "javax.annotation:javax.annotation-api": [ "javax.annotation", "javax.annotation.security", @@ -675,6 +901,38 @@ "javax.annotation.security", "javax.annotation.sql" ], + "org.checkerframework:checker-qual": [ + "org.checkerframework.checker.builder.qual", + "org.checkerframework.checker.calledmethods.qual", + "org.checkerframework.checker.compilermsgs.qual", + "org.checkerframework.checker.fenum.qual", + "org.checkerframework.checker.formatter.qual", + "org.checkerframework.checker.guieffect.qual", + "org.checkerframework.checker.i18n.qual", + "org.checkerframework.checker.i18nformatter.qual", + "org.checkerframework.checker.index.qual", + "org.checkerframework.checker.initialization.qual", + "org.checkerframework.checker.interning.qual", + "org.checkerframework.checker.lock.qual", + "org.checkerframework.checker.mustcall.qual", + "org.checkerframework.checker.nullness.qual", + "org.checkerframework.checker.optional.qual", + "org.checkerframework.checker.propkey.qual", + "org.checkerframework.checker.regex.qual", + "org.checkerframework.checker.signature.qual", + "org.checkerframework.checker.signedness.qual", + "org.checkerframework.checker.tainting.qual", + "org.checkerframework.checker.units.qual", + "org.checkerframework.common.aliasing.qual", + "org.checkerframework.common.initializedfields.qual", + "org.checkerframework.common.reflection.qual", + "org.checkerframework.common.returnsreceiver.qual", + "org.checkerframework.common.subtyping.qual", + "org.checkerframework.common.util.report.qual", + "org.checkerframework.common.value.qual", + "org.checkerframework.dataflow.qual", + "org.checkerframework.framework.qual" + ], "org.hamcrest:hamcrest-core": [ "org.hamcrest", "org.hamcrest.core", @@ -1299,6 +1557,19 @@ "com.fasterxml.jackson.module:jackson-module-parameter-names:jar:sources", "com.fasterxml:classmate", "com.fasterxml:classmate:jar:sources", + "com.google.code.findbugs:jsr305", + "com.google.code.findbugs:jsr305:jar:sources", + "com.google.code.gson:gson", + "com.google.code.gson:gson:jar:sources", + "com.google.errorprone:error_prone_annotations", + "com.google.errorprone:error_prone_annotations:jar:sources", + "com.google.guava:failureaccess", + "com.google.guava:failureaccess:jar:sources", + "com.google.guava:guava", + "com.google.guava:guava:jar:sources", + "com.google.guava:listenablefuture", + "com.google.j2objc:j2objc-annotations", + "com.google.j2objc:j2objc-annotations:jar:sources", "javax.annotation:javax.annotation-api", "javax.annotation:javax.annotation-api:jar:sources", "javax.validation:validation-api", @@ -1315,6 +1586,8 @@ "org.apache.tomcat.embed:tomcat-embed-websocket:jar:sources", "org.apache.tomcat:tomcat-annotations-api", "org.apache.tomcat:tomcat-annotations-api:jar:sources", + "org.checkerframework:checker-qual", + "org.checkerframework:checker-qual:jar:sources", "org.hamcrest:hamcrest-core", "org.hamcrest:hamcrest-core:jar:sources", "org.hamcrest:hamcrest-library", @@ -1487,5 +1760,5 @@ ] } }, - "version": "2" + "version": "3" } diff --git a/examples/spring_boot/src/main/java/hello/BUILD b/examples/spring_boot/src/main/java/hello/BUILD index 81b321d6b..aeebddf05 100644 --- a/examples/spring_boot/src/main/java/hello/BUILD +++ b/examples/spring_boot/src/main/java/hello/BUILD @@ -1,3 +1,6 @@ +load("@rules_java//java:java_binary.bzl", "java_binary") +load("@rules_java//java:java_library.bzl", "java_library") + java_library( name = "lib", srcs = glob(["*.java"]), diff --git a/examples/spring_boot/src/test/java/hello/BUILD b/examples/spring_boot/src/test/java/hello/BUILD index 17e2d8c51..866cc7bb5 100644 --- a/examples/spring_boot/src/test/java/hello/BUILD +++ b/examples/spring_boot/src/test/java/hello/BUILD @@ -1,3 +1,5 @@ +load("@rules_java//java:java_test.bzl", "java_test") + java_test( name = "HelloControllerTest", srcs = ["HelloControllerTest.java"], diff --git a/private/BUILD b/private/BUILD index 93846f41e..d73a38ec2 100644 --- a/private/BUILD +++ b/private/BUILD @@ -5,3 +5,15 @@ bzl_library( srcs = glob(["*.bzl"]), visibility = ["//:__subpackages__"], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]) + [ + "//private/extensions:all_files", + "//private/lib:all_files", + "//private/rules:all_files", + "//private/templates:all_files", + "//private/tools:all_files", + ], + visibility = ["//:__pkg__"], +) diff --git a/private/extensions/BUILD b/private/extensions/BUILD index 93846f41e..b67296d71 100644 --- a/private/extensions/BUILD +++ b/private/extensions/BUILD @@ -5,3 +5,9 @@ bzl_library( srcs = glob(["*.bzl"]), visibility = ["//:__subpackages__"], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private:__pkg__"], +) diff --git a/private/lib/BUILD b/private/lib/BUILD index 93846f41e..b67296d71 100644 --- a/private/lib/BUILD +++ b/private/lib/BUILD @@ -5,3 +5,9 @@ bzl_library( srcs = glob(["*.bzl"]), visibility = ["//:__subpackages__"], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private:__pkg__"], +) diff --git a/private/rules/BUILD b/private/rules/BUILD index 93846f41e..b67296d71 100644 --- a/private/rules/BUILD +++ b/private/rules/BUILD @@ -5,3 +5,9 @@ bzl_library( srcs = glob(["*.bzl"]), visibility = ["//:__subpackages__"], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private:__pkg__"], +) diff --git a/private/templates/BUILD b/private/templates/BUILD index 0b85e110f..dfa3ac983 100644 --- a/private/templates/BUILD +++ b/private/templates/BUILD @@ -1 +1,7 @@ exports_files(glob(["*.tpl"])) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private:__pkg__"], +) diff --git a/private/tools/BUILD b/private/tools/BUILD index e69de29bb..8d42f5c28 100644 --- a/private/tools/BUILD +++ b/private/tools/BUILD @@ -0,0 +1,9 @@ + +filegroup( + name = "all_files", + srcs = glob(["**"]) + [ + "//private/tools/java/com/github/bazelbuild/rules_jvm_external:all_files", + "//private/tools/prebuilt:all_files", + ], + visibility = ["//private:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/BUILD index f1794744d..ace9c8849 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/BUILD @@ -29,3 +29,16 @@ java_binary( ":hasher", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]) + [ + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/coursier:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/jar:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/maven:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/zip:all_files", + ], + visibility = ["//private/tools:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/coursier/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/coursier/BUILD index 1ff90d204..b45655cc1 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/coursier/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/coursier/BUILD @@ -32,3 +32,9 @@ java_binary( ":coursier", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/BUILD index a6db8ca7f..caa5544fc 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/jar/BUILD @@ -61,3 +61,9 @@ java_binary( ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/BUILD index 966ee9313..7166137d4 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/BUILD @@ -22,3 +22,9 @@ java_binary( ":javadoc_lib", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/JavadocJarMaker.java b/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/JavadocJarMaker.java index d89c768f7..8c1b5a6ad 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/JavadocJarMaker.java +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/javadoc/JavadocJarMaker.java @@ -24,6 +24,7 @@ import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; +import java.nio.file.NoSuchFileException; import java.io.IOException; import java.io.OutputStream; import java.io.Reader; @@ -158,6 +159,7 @@ public static void main(String[] args) throws IOException { // We need to create the element list file so that the bazel rule calling us has the file // be created. if (elementList != null) { + Files.createDirectories(elementList.getParent()); Files.write( elementList, "".getBytes(UTF_8), @@ -233,15 +235,22 @@ public static void main(String[] args) throws IOException { if (result == null || !result) { System.err.println("javadoc " + String.join(" ", options)); System.err.println(writer); + // Still need to create the element-list file so that the bazel rule has its expected output + if (elementList != null) { + Files.createDirectories(elementList.getParent()); + Files.createFile(elementList); + } return; } Path generatedElementList = outputTo.resolve("element-list"); try { + Files.createDirectories(elementList.getParent()); Files.copy(generatedElementList, elementList); - } catch (FileNotFoundException e) { + } catch (NoSuchFileException | FileNotFoundException e) { // Do not fail the action if the generated element-list couldn't be found. - Files.createFile(generatedElementList); + Files.createDirectories(elementList.getParent()); + Files.createFile(elementList); } // Copy all generated files to the output directory diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/maven/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/maven/BUILD index f8ad94b68..407d1282f 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/maven/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/maven/BUILD @@ -82,3 +82,9 @@ java_binary( ), ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/BUILD index 450dfedd8..a9fcd6483 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/BUILD @@ -28,3 +28,18 @@ java_library( ), ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]) + [ + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/cmd:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/events:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/lockfile:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/netrc:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/remote:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/ui:all_files", + ], + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/cmd/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/cmd/BUILD index a9689fe5f..21de54f0d 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/cmd/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/cmd/BUILD @@ -26,3 +26,9 @@ java_library( ), ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/events/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/events/BUILD index 56cb4e17c..017908631 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/events/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/events/BUILD @@ -8,3 +8,9 @@ java_library( "//tests/com/github/bazelbuild/rules_jvm_external:__subpackages__", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/BUILD index f5a0c5130..7407fbe41 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/BUILD @@ -77,3 +77,13 @@ java_binary( "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/netrc", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]) + [ + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/data:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/models:all_files", + "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/plugin:all_files", + ], + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/data/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/data/BUILD index bf16ed0d9..f140db5a7 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/data/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/data/BUILD @@ -8,3 +8,9 @@ filegroup( "//tests:__subpackages__", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/models/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/models/BUILD index 76bc6e434..d9ce741c5 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/models/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/models/BUILD @@ -11,3 +11,9 @@ java_library( "//private/tools/java/com/github/bazelbuild/rules_jvm_external", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/plugin/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/plugin/BUILD index 9ed1e6f1d..9b54738d6 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/plugin/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle/plugin/BUILD @@ -31,3 +31,9 @@ java_single_jar( ":plugin", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/gradle:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/lockfile/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/lockfile/BUILD index 53dc9ba65..0164e2b5b 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/lockfile/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/lockfile/BUILD @@ -21,3 +21,9 @@ java_library( ), ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven/BUILD index 7690132ae..087fa6445 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/maven/BUILD @@ -111,3 +111,9 @@ java_binary( "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/netrc", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/netrc/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/netrc/BUILD index e01c42305..8b149d287 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/netrc/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/netrc/BUILD @@ -16,3 +16,9 @@ java_library( ), ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/remote/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/remote/BUILD index 7f038eaab..2b2ce690b 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/remote/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/remote/BUILD @@ -29,3 +29,9 @@ java_library( ), ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/ui/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/ui/BUILD index 364177660..1c72db2ce 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/ui/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/ui/BUILD @@ -21,3 +21,9 @@ java_library( "//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver/events", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external/resolver:__pkg__"], +) diff --git a/private/tools/java/com/github/bazelbuild/rules_jvm_external/zip/BUILD b/private/tools/java/com/github/bazelbuild/rules_jvm_external/zip/BUILD index 4b1ec99bb..4fd0ec5c8 100644 --- a/private/tools/java/com/github/bazelbuild/rules_jvm_external/zip/BUILD +++ b/private/tools/java/com/github/bazelbuild/rules_jvm_external/zip/BUILD @@ -7,3 +7,9 @@ java_library( "//visibility:public", ], ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools/java/com/github/bazelbuild/rules_jvm_external:__pkg__"], +) diff --git a/private/tools/prebuilt/BUILD b/private/tools/prebuilt/BUILD index 4d6ea3b29..bb61833bf 100644 --- a/private/tools/prebuilt/BUILD +++ b/private/tools/prebuilt/BUILD @@ -7,3 +7,9 @@ exports_files([ "lock_file_converter_deploy.jar", # built from //private/tools/java/com/github/bazelbuild/rules_jvm_external/coursier:LockFileConverter_deploy.jar "outdated_deploy.jar", # built from //private/tools/java/com/github/bazelbuild/rules_jvm_external/maven:outdated_deploy.jar ]) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//private/tools:__pkg__"], +) diff --git a/settings/BUILD b/settings/BUILD index e3f041c65..8cc2effa1 100644 --- a/settings/BUILD +++ b/settings/BUILD @@ -15,3 +15,9 @@ stamp_manifest( name = "stamp_manifest", build_setting_default = True, ) + +filegroup( + name = "all_files", + srcs = glob(["**"]), + visibility = ["//:__pkg__"], +)