Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
publish-to-bcr-bot[bot] and Wyverald authored Nov 20, 2024
1 parent 0496b68 commit df6f996
Show file tree
Hide file tree
Showing 10 changed files with 118 additions and 2 deletions.
6 changes: 6 additions & 0 deletions modules/bazel_worker_api/0.0.4/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module(
name = "bazel_worker_api",
version = "0.0.4",
)

bazel_dep(name = "protobuf", version = "27.2", repo_name = "com_google_protobuf")
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,6 +1,6 @@
module(
name = "bazel_worker_api",
- version = "0",
+ version = "0.0.4",
)

bazel_dep(name = "protobuf", version = "27.2", repo_name = "com_google_protobuf")
10 changes: 10 additions & 0 deletions modules/bazel_worker_api/0.0.4/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
matrix:
platform: ["ubuntu2204", "macos", "macos_arm64", "windows"]
bazel: [7.x]
tasks:
run_tests:
name: build targets
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- '@bazel_worker_api//...'
9 changes: 9 additions & 0 deletions modules/bazel_worker_api/0.0.4/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-ebMLzauMsNzhUjso/3mAZ0GXFfVUCopEa7zPOT5et5w=",
"strip_prefix": "bazel-worker-api-0.0.4/proto",
"url": "https://github.com/bazelbuild/bazel-worker-api/releases/download/v0.0.4/bazel-worker-api-v0.0.4.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-EcY6RElke2D7nNZEKJOBWtH+Hdtlcvp4iHDkMVWXvnM="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/bazel_worker_api/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"versions": [
"0.0.1",
"0.0.2",
"0.0.3"
"0.0.3",
"0.0.4"
],
"yanked_versions": {},
"repository": [
Expand Down
45 changes: 45 additions & 0 deletions modules/bazel_worker_java/0.0.4/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
module(
name = "bazel_worker_java",
version = "0.0.4",
)

bazel_dep(name = "bazel_worker_api", version = "0.0.1")
bazel_dep(name = "rules_jvm_external", version = "6.2")
bazel_dep(name = "protobuf", version = "27.2", repo_name = "com_google_protobuf")
bazel_dep(name = "rules_java", version = "7.12.2")

maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
maven.install(
artifacts = [
"com.google.code.gson:gson:2.10.1",
"com.google.errorprone:error_prone_annotations:2.23.0",
"com.google.guava:guava:33.0.0-jre",
"com.google.protobuf:protobuf-java:4.27.2",
"com.google.protobuf:protobuf-java-util:4.27.2",
],
)
maven.artifact(
artifact = "junit",
group = "junit",
testonly = True,
version = "4.13.2",
)
maven.artifact(
artifact = "mockito-core",
group = "org.mockito",
testonly = True,
version = "5.4.0",
)
maven.artifact(
artifact = "truth",
group = "com.google.truth",
testonly = True,
version = "1.4.0",
)
use_repo(maven, "maven")

local_path_override(
module_name = "bazel_worker_api",
path = "../proto",
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
===================================================================
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "bazel_worker_java",
- version = "0",
+ version = "0.0.4",
)

bazel_dep(name = "bazel_worker_api", version = "0.0.1")
bazel_dep(name = "rules_jvm_external", version = "6.2")
12 changes: 12 additions & 0 deletions modules/bazel_worker_java/0.0.4/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
matrix:
platform: ["ubuntu2204", "macos", "macos_arm64", "windows"]
bazel: [7.x]
tasks:
run_tests:
name: run tests
platform: ${{ platform }}
bazel: ${{ bazel }}
test_flags:
- '--java_language_version=21'
test_targets:
- '@bazel_worker_java//...'
9 changes: 9 additions & 0 deletions modules/bazel_worker_java/0.0.4/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-ebMLzauMsNzhUjso/3mAZ0GXFfVUCopEa7zPOT5et5w=",
"strip_prefix": "bazel-worker-api-0.0.4/java",
"url": "https://github.com/bazelbuild/bazel-worker-api/releases/download/v0.0.4/bazel-worker-api-v0.0.4.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-HnFwGW0m7MXsyELxKnaLvkH9A4bDvBrdKxLIIMTA5sg="
},
"patch_strip": 1
}
3 changes: 2 additions & 1 deletion modules/bazel_worker_java/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"versions": [
"0.0.1",
"0.0.2",
"0.0.3"
"0.0.3",
"0.0.4"
],
"yanked_versions": {},
"repository": [
Expand Down

0 comments on commit df6f996

Please sign in to comment.