Skip to content

Commit

Permalink
Publish robolectric/[email protected] (#1093)
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Lee <[email protected]>
  • Loading branch information
publish-to-bcr-bot[bot] and Bencodes authored Nov 2, 2023
1 parent 0d38157 commit aad45f7
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 1 deletion.
37 changes: 37 additions & 0 deletions modules/rules_robolectric/4.11.1/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -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)
Original file line number Diff line number Diff line change
@@ -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,
)

9 changes: 9 additions & 0 deletions modules/rules_robolectric/4.11.1/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
matrix:
platform: ["macos", "ubuntu2004"]

tasks:
verify_targets:
name: "Verify build targets"
platform: ${{ platform }}
build_targets:
- "@rules_robolectric//bazel:android-all"
9 changes: 9 additions & 0 deletions modules/rules_robolectric/4.11.1/source.json
Original file line number Diff line number Diff line change
@@ -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
}
3 changes: 2 additions & 1 deletion modules/rules_robolectric/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"4.10.1",
"4.10.2",
"4.10.3",
"4.11"
"4.11",
"4.11.1"
],
"yanked_versions": {}
}

0 comments on commit aad45f7

Please sign in to comment.