Skip to content

Commit

Permalink
all: rename Bazel workspace to io_grpc_grpc_java
Browse files Browse the repository at this point in the history
Fixes #4095
  • Loading branch information
cgrushko authored and carl-mastrangelo committed Feb 22, 2018
1 parent 713ac0a commit 2db5e0d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion WORKSPACE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
workspace(name = "grpc_java")
workspace(name = "io_grpc_grpc_java")

load("//:repositories.bzl", "grpc_java_repositories")

Expand Down
21 changes: 10 additions & 11 deletions examples/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@grpc_java//:java_grpc_library.bzl", "java_grpc_library")
load("@io_grpc_grpc_java//:java_grpc_library.bzl", "java_grpc_library")

proto_library(
name = "helloworld_proto",
Expand Down Expand Up @@ -71,11 +71,11 @@ java_library(
"@com_google_guava_guava//jar",
"@com_google_protobuf//:protobuf_java",
"@com_google_protobuf//:protobuf_java_util",
"@grpc_java//alts",
"@grpc_java//core",
"@grpc_java//netty",
"@grpc_java//protobuf",
"@grpc_java//stub",
"@io_grpc_grpc_java//alts",
"@io_grpc_grpc_java//core",
"@io_grpc_grpc_java//netty",
"@io_grpc_grpc_java//protobuf",
"@io_grpc_grpc_java//stub",
"@io_netty_netty_handler//jar",
],
)
Expand Down Expand Up @@ -104,8 +104,8 @@ java_binary(
main_class = "io.grpc.examples.alts.HelloWorldAltsClient",
runtime_deps = [
":examples",
"@grpc_java//alts",
"@grpc_java//netty",
"@io_grpc_grpc_java//alts",
"@io_grpc_grpc_java//netty",
],
)

Expand All @@ -115,10 +115,9 @@ java_binary(
main_class = "io.grpc.examples.alts.HelloWorldAltsServer",
runtime_deps = [
":examples",
"@grpc_java//alts",
"@grpc_java//netty",
"@io_grpc_grpc_java//alts",
"@io_grpc_grpc_java//netty",
],

)

java_binary(
Expand Down
7 changes: 3 additions & 4 deletions examples/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ workspace(name = "examples")

# For released versions, use the tagged git-repository:
# git_repository(
# name = "grpc_java",
# name = "io_grpc_grpc_java",
# remote = "https://github.com/grpc/grpc-java.git",
# tag = "<TAG>",
# )
local_repository(
name = "grpc_java",
name = "io_grpc_grpc_java",
path = "..",
)

load("@grpc_java//:repositories.bzl", "grpc_java_repositories")
load("@io_grpc_grpc_java//:repositories.bzl", "grpc_java_repositories")

grpc_java_repositories()

0 comments on commit 2db5e0d

Please sign in to comment.