From aad45f78c6b303d0205f018bba912f69ec55f192 Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Thu, 2 Nov 2023 22:47:36 +0000 Subject: [PATCH] Publish robolectric/robolectric-bazel@4.11.1 (#1093) Co-authored-by: Ben Lee --- modules/rules_robolectric/4.11.1/MODULE.bazel | 37 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 14 +++++++ .../rules_robolectric/4.11.1/presubmit.yml | 9 +++++ modules/rules_robolectric/4.11.1/source.json | 9 +++++ modules/rules_robolectric/metadata.json | 3 +- 5 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 modules/rules_robolectric/4.11.1/MODULE.bazel create mode 100644 modules/rules_robolectric/4.11.1/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_robolectric/4.11.1/presubmit.yml create mode 100644 modules/rules_robolectric/4.11.1/source.json diff --git a/modules/rules_robolectric/4.11.1/MODULE.bazel b/modules/rules_robolectric/4.11.1/MODULE.bazel new file mode 100644 index 00000000000..8d6d8f0f05e --- /dev/null +++ b/modules/rules_robolectric/4.11.1/MODULE.bazel @@ -0,0 +1,37 @@ +"Bazel dependencies" + +module( + name = "rules_robolectric", + # Note: the publish-to-BCR app will patch this line to stamp the version being published. + version = "4.11.1", + bazel_compatibility = [">=6.0.0"], + compatibility_level = 1, +) + +robolectric_repository_extensions = use_extension("//bazel:extensions.bzl", "robolectric_repository_extensions") +use_repo( + robolectric_repository_extensions, + "org_robolectric_android_all_instrumented_10_robolectric_5803371_i4", + "org_robolectric_android_all_instrumented_11_robolectric_6757853_i4", + "org_robolectric_android_all_instrumented_12_1_robolectric_8229987_i4", + "org_robolectric_android_all_instrumented_12_robolectric_7732740_i4", + "org_robolectric_android_all_instrumented_13_robolectric_9030017_i4", + "org_robolectric_android_all_instrumented_14_robolectric_10818077_i4", + "org_robolectric_android_all_instrumented_4_1_2_r1_robolectric_r1_i4", + "org_robolectric_android_all_instrumented_4_2_2_r1_2_robolectric_r1_i4", + "org_robolectric_android_all_instrumented_4_3_r2_robolectric_r1_i4", + "org_robolectric_android_all_instrumented_4_4_r1_robolectric_r2_i4", + "org_robolectric_android_all_instrumented_5_0_2_r3_robolectric_r0_i4", + "org_robolectric_android_all_instrumented_5_1_1_r9_robolectric_r2_i4", + "org_robolectric_android_all_instrumented_6_0_1_r3_robolectric_r1_i4", + "org_robolectric_android_all_instrumented_7_0_0_r1_robolectric_r1_i4", + "org_robolectric_android_all_instrumented_7_1_0_r7_robolectric_r1_i4", + "org_robolectric_android_all_instrumented_8_0_0_r4_robolectric_r1_i4", + "org_robolectric_android_all_instrumented_8_1_0_robolectric_4611349_i4", + "org_robolectric_android_all_instrumented_9_robolectric_4913185_2_i4", +) + +bazel_dep(name = "rules_java", version = "7.0.6") + +bazel_dep(name = "bazel_skylib", version = "1.4.2", dev_dependency = True) +bazel_dep(name = "buildifier_prebuilt", version = "6.3.3", dev_dependency = True) diff --git a/modules/rules_robolectric/4.11.1/patches/module_dot_bazel_version.patch b/modules/rules_robolectric/4.11.1/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..7b6f5e18475 --- /dev/null +++ b/modules/rules_robolectric/4.11.1/patches/module_dot_bazel_version.patch @@ -0,0 +1,14 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -2,9 +2,9 @@ + + module( + name = "rules_robolectric", + # Note: the publish-to-BCR app will patch this line to stamp the version being published. +- version = "0.0.0", ++ version = "4.11.1", + bazel_compatibility = [">=6.0.0"], + compatibility_level = 1, + ) + diff --git a/modules/rules_robolectric/4.11.1/presubmit.yml b/modules/rules_robolectric/4.11.1/presubmit.yml new file mode 100644 index 00000000000..94c2f5abe25 --- /dev/null +++ b/modules/rules_robolectric/4.11.1/presubmit.yml @@ -0,0 +1,9 @@ +matrix: + platform: ["macos", "ubuntu2004"] + +tasks: + verify_targets: + name: "Verify build targets" + platform: ${{ platform }} + build_targets: + - "@rules_robolectric//bazel:android-all" diff --git a/modules/rules_robolectric/4.11.1/source.json b/modules/rules_robolectric/4.11.1/source.json new file mode 100644 index 00000000000..ca09433e9b9 --- /dev/null +++ b/modules/rules_robolectric/4.11.1/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-HqHP5nhI3s+VkxboDdaa8ruqNZriGV7+E2bL3z6Wg1Y=", + "strip_prefix": "robolectric-bazel-4.11.1", + "url": "https://github.com/robolectric/robolectric-bazel/releases/download/4.11.1/robolectric-bazel-4.11.1.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-U7A1C6DAKd4NyD6CygWbCTIQiCBTjLPeJWLKE8ZL/0A=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_robolectric/metadata.json b/modules/rules_robolectric/metadata.json index 1ef7a95fb76..a9dfd924ac5 100644 --- a/modules/rules_robolectric/metadata.json +++ b/modules/rules_robolectric/metadata.json @@ -15,7 +15,8 @@ "4.10.1", "4.10.2", "4.10.3", - "4.11" + "4.11", + "4.11.1" ], "yanked_versions": {} }