-
Notifications
You must be signed in to change notification settings - Fork 394
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
bazel_worker_api@0.0.2, bazel_worker_java@0.0.2 (#3042)
Release: https://github.com/bazelbuild/bazel-worker-api/releases/tag/v0.0.2 _Automated by [Publish to BCR](https://github.com/apps/publish-to-bcr)_ Co-authored-by: Xùdōng Yáng <wyverald@gmail.com>
1 parent
59c95be
commit 19fd960
Showing
10 changed files
with
114 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module( | ||
name = "bazel_worker_api", | ||
version = "0.0.2", | ||
) |
9 changes: 9 additions & 0 deletions
9
modules/bazel_worker_api/0.0.2/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
=================================================================== | ||
--- a/MODULE.bazel | ||
+++ b/MODULE.bazel | ||
@@ -1,4 +1,4 @@ | ||
module( | ||
name = "bazel_worker_api", | ||
- version = "0", | ||
+ version = "0.0.2", | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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//...' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-GehhjOh2lwh2yRRYncRcrPjFiIfVXHmHpM51EVjZ56c=", | ||
"strip_prefix": "bazel-worker-api-0.0.2/proto", | ||
"url": "https://github.com/bazelbuild/bazel-worker-api/releases/download/v0.0.2/bazel-worker-api-v0.0.2.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-YfuOgSempOOcoYKT5KVA0UqxcEXTd2j3kzXjnjmbjdg=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ | |
} | ||
], | ||
"versions": [ | ||
"0.0.1" | ||
"0.0.1", | ||
"0.0.2" | ||
], | ||
"yanked_versions": {}, | ||
"repository": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
module( | ||
name = "bazel_worker_java", | ||
version = "0.0.2", | ||
) | ||
|
||
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") | ||
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", | ||
) | ||
|
12 changes: 12 additions & 0 deletions
12
modules/bazel_worker_java/0.0.2/patches/module_dot_bazel_version.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.2", | ||
) | ||
|
||
bazel_dep(name = "bazel_worker_api", version = "0.0.1") | ||
bazel_dep(name = "rules_jvm_external", version = "6.2") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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//...' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"integrity": "sha256-GehhjOh2lwh2yRRYncRcrPjFiIfVXHmHpM51EVjZ56c=", | ||
"strip_prefix": "bazel-worker-api-0.0.2/java", | ||
"url": "https://github.com/bazelbuild/bazel-worker-api/releases/download/v0.0.2/bazel-worker-api-v0.0.2.tar.gz", | ||
"patches": { | ||
"module_dot_bazel_version.patch": "sha256-ONcAAN74sAY0Mk/emC/zVg31KeS8e1maJwzZJLba2PA=" | ||
}, | ||
"patch_strip": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,8 @@ | |
} | ||
], | ||
"versions": [ | ||
"0.0.1" | ||
"0.0.1", | ||
"0.0.2" | ||
], | ||
"yanked_versions": {}, | ||
"repository": [ | ||
|