grpc_kotlin@1.5.0-rc.5 (#5856)
Release: https://github.com/grpc/grpc-kotlin/releases/tag/v1.5.0-rc.5
_Automated by [Publish to
BCR](https://github.com/bazel-contrib/publish-to-bcr)_
diff --git a/modules/grpc_kotlin/1.5.0-rc.5/MODULE.bazel b/modules/grpc_kotlin/1.5.0-rc.5/MODULE.bazel
new file mode 100644
index 0000000..a22e9e4
--- /dev/null
+++ b/modules/grpc_kotlin/1.5.0-rc.5/MODULE.bazel
@@ -0,0 +1,43 @@
+module(
+ name = "grpc_kotlin",
+ # Note: the Publish-to-BCR app will patch this line to stamp the version being published.
+ version = "1.5.0-rc.5",
+ compatibility_level = 1,
+)
+
+bazel_dep(name = "protobuf", version = "31.1") # Max version without causing compiler errors.
+bazel_dep(name = "rules_kotlin", version = "2.1.9")
+bazel_dep(name = "rules_java", version = "8.15.2")
+bazel_dep(name = "rules_jvm_external", version = "6.8")
+bazel_dep(name = "grpc-java", version = "1.71.0")
+
+# Formatter.
+bazel_dep(name = "format", version = "0.0.0", dev_dependency = True)
+local_path_override(
+ module_name = "format",
+ path = "tools/format",
+)
+
+grpc_kotlin_maven = use_extension("@rules_jvm_external//:extensions.bzl", "maven")
+grpc_kotlin_maven.install(
+ name = "grpc_kotlin_maven",
+ # Rerun whenever adding new artifacts.
+ # $ REPIN=1 bazelisk run @grpc_kotlin_maven//:pin
+ artifacts = [
+ "com.google.jimfs:jimfs:1.3.0",
+ "com.google.truth:truth:1.4.4",
+ "com.google.truth.extensions:truth-proto-extension:1.4.4",
+ "com.google.protobuf:protobuf-java:4.30.2",
+ "com.google.protobuf:protobuf-kotlin:4.30.2",
+ "com.google.guava:guava:33.3.1-android",
+ "com.squareup:kotlinpoet:1.14.2", # Max version without causing compiler errors.
+ "junit:junit:4.13.2",
+ "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.1",
+ "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.10.1",
+ ],
+ fetch_sources = False,
+ generate_compat_repositories = True,
+ lock_file = "//:grpc_kotlin_maven_install.json",
+ strict_visibility = True,
+)
+use_repo(grpc_kotlin_maven, "grpc_kotlin_maven")
diff --git a/modules/grpc_kotlin/1.5.0-rc.5/patches/module_dot_bazel_version.patch b/modules/grpc_kotlin/1.5.0-rc.5/patches/module_dot_bazel_version.patch
new file mode 100644
index 0000000..a3a6a2a
--- /dev/null
+++ b/modules/grpc_kotlin/1.5.0-rc.5/patches/module_dot_bazel_version.patch
@@ -0,0 +1,13 @@
+===================================================================
+--- a/MODULE.bazel
++++ b/MODULE.bazel
+@@ -1,8 +1,8 @@
+ module(
+ name = "grpc_kotlin",
+ # Note: the Publish-to-BCR app will patch this line to stamp the version being published.
+- version = "0.0.0",
++ version = "1.5.0-rc.5",
+ compatibility_level = 1,
+ )
+
+ bazel_dep(name = "protobuf", version = "31.1") # Max version without causing compiler errors.
diff --git a/modules/grpc_kotlin/1.5.0-rc.5/presubmit.yml b/modules/grpc_kotlin/1.5.0-rc.5/presubmit.yml
new file mode 100644
index 0000000..5c8b336
--- /dev/null
+++ b/modules/grpc_kotlin/1.5.0-rc.5/presubmit.yml
@@ -0,0 +1,33 @@
+matrix:
+ platform:
+ - ubuntu2204
+ - macos
+ bazel:
+ - 8.x
+tasks:
+ verify_targets:
+ name: Verify build targets
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_flags:
+ - '--cxxopt=-std=c++17'
+ - '--host_cxxopt=-std=c++17'
+ build_targets:
+ - '@grpc_kotlin//...'
+bcr_test_module:
+ module_path: bzl-examples/bzlmod
+ matrix:
+ platform:
+ - ubuntu2204
+ - macos
+ bazel:
+ - 8.x
+ tasks:
+ run_test_module:
+ name: Run test module
+ platform: ${{ platform }}
+ bazel: ${{ bazel }}
+ build_targets:
+ - java/...
+ test_targets:
+ - javatests/...
diff --git a/modules/grpc_kotlin/1.5.0-rc.5/source.json b/modules/grpc_kotlin/1.5.0-rc.5/source.json
new file mode 100644
index 0000000..21ecee1
--- /dev/null
+++ b/modules/grpc_kotlin/1.5.0-rc.5/source.json
@@ -0,0 +1,9 @@
+{
+ "integrity": "sha256-qsZ75Mrq6/IFiItFGdNNpvFr/BbUBP+pJZPZHwto0to=",
+ "strip_prefix": "grpc-kotlin-1.5.0-rc.5",
+ "url": "https://github.com/grpc/grpc-kotlin/archive/refs/tags/v1.5.0-rc.5.tar.gz",
+ "patches": {
+ "module_dot_bazel_version.patch": "sha256-7IXNk2QzY0NeGVOY6qbE+MS2XMXdEkJIitbA3yaWj8c="
+ },
+ "patch_strip": 1
+}
diff --git a/modules/grpc_kotlin/metadata.json b/modules/grpc_kotlin/metadata.json
index 22506f0..2077807 100644
--- a/modules/grpc_kotlin/metadata.json
+++ b/modules/grpc_kotlin/metadata.json
@@ -3,15 +3,9 @@
"maintainers": [
{
"email": "",
- "github": "duckladydinh",
- "github_user_id": 22922064,
- "name": "Lam Gia Thuan"
- },
- {
- "email": "",
"github": "bshaffer",
"github_user_id": 103941,
- "name": "bshaffer"
+ "name": "Brent Shaffer"
},
{
"email": "",
@@ -24,13 +18,20 @@
"github": "lowasser",
"github_user_id": 544569,
"name": "Louis Wasserman"
+ },
+ {
+ "email": "",
+ "github": "duckladydinh",
+ "github_user_id": 22922064,
+ "name": "Lam Gia Thuan"
}
],
"repository": [
"github:grpc/grpc-kotlin"
],
"versions": [
- "1.5.0-rc.1"
+ "1.5.0-rc.1",
+ "1.5.0-rc.5"
],
"yanked_versions": {}
}