Skip to content

Commit d17a4ab

Browse files
committed
Change com_github_grpc_grpc_kotlin to grpc_kotlin.
1 parent e850691 commit d17a4ab

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

MODULE.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module(
2-
name = "com_github_grpc_grpc_kotlin",
2+
name = "grpc_kotlin",
33
version = "2.1.0",
44
)
55

bzl-examples/bzlmod/MODULE.bazel

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ module(
55

66
bazel_dep(name = "protobuf", version = "30.2")
77
bazel_dep(name = "rules_kotlin", version = "2.1.3")
8-
bazel_dep(name = "com_github_grpc_grpc_kotlin", version = "0.0.0")
8+
bazel_dep(name = "grpc_kotlin", version = "0.0.0")
99
bazel_dep(name = "rules_jvm_external", version = "6.7")
1010
bazel_dep(name = "aspect_rules_lint", version = "1.3.4")
1111
bazel_dep(name = "rules_java", version = "8.11.0")
1212
bazel_dep(name = "buildifier_prebuilt", version = "8.0.3")
1313
bazel_dep(name = "rules_buf", version = "0.3.0")
1414

1515
local_path_override(
16-
module_name = "com_github_grpc_grpc_kotlin",
16+
module_name = "grpc_kotlin",
1717
path = "../../",
1818
)
1919

@@ -32,7 +32,7 @@ maven.install(
3232
lock_file = "//:maven_install.json",
3333
strict_visibility = True,
3434
)
35-
use_repo(maven, "maven", "grpc_kotlin_maven")
35+
use_repo(maven, "grpc_kotlin_maven", "maven")
3636

3737
install_ktfmt = use_extension("//:extensions.bzl", "install_ktfmt")
3838
use_repo(install_ktfmt, "ktfmt")

bzl-examples/bzlmod/java/io/grpc/examples/bzlmod/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
load("@com_github_grpc_grpc_kotlin//:kt_jvm_grpc.bzl", "kt_jvm_grpc_library", "kt_jvm_proto_library")
1+
load("@grpc_kotlin//:kt_jvm_grpc.bzl", "kt_jvm_grpc_library", "kt_jvm_proto_library")
22
load("@protobuf//bazel:proto_library.bzl", "proto_library")
33
load("@rules_kotlin//kotlin:jvm.bzl", "kt_jvm_library")
44

kt_jvm_grpc.bzl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ def kt_jvm_grpc_library(
117117
fail("Expected exactly one dep", "deps")
118118

119119
kt_deps.extend([
120-
"@com_github_grpc_grpc_kotlin//stub/src/main/java/io/grpc/kotlin:stub",
121-
"@com_github_grpc_grpc_kotlin//stub/src/main/java/io/grpc/kotlin:context",
120+
"@grpc_kotlin//stub/src/main/java/io/grpc/kotlin:stub",
121+
"@grpc_kotlin//stub/src/main/java/io/grpc/kotlin:context",
122122
])
123123

124124
kt_grpc_label = ":%s_DO_NOT_DEPEND_kt_grpc" % name
@@ -217,8 +217,8 @@ def kt_jvm_grpc_no_java_library(
217217
srcs = [kt_grpc_label],
218218
deps = [
219219
java_grpc_dep,
220-
"@com_github_grpc_grpc_kotlin//stub/src/main/java/io/grpc/kotlin:stub",
221-
"@com_github_grpc_grpc_kotlin//stub/src/main/java/io/grpc/kotlin:context",
220+
"@grpc_kotlin//stub/src/main/java/io/grpc/kotlin:stub",
221+
"@grpc_kotlin//stub/src/main/java/io/grpc/kotlin:context",
222222
],
223223
compatible_with = compatible_with,
224224
restricted_to = restricted_to,

0 commit comments

Comments
 (0)