Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

services: update v1alpha reflection.proto to match grpc-proto repo #4973

Merged
merged 1 commit into from
Oct 18, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions services/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ buildscript {

description = "gRPC: Services"

[compileJava].each() {
// v1alpha of reflection.proto is deprecated at the file level.
// Without this workaround, the project can not compile.
it.options.compilerArgs += [
"-Xlint:-deprecation",
]
}

dependencies {
compile project(':grpc-protobuf'),
project(':grpc-stub')
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,15 @@
// limitations under the License.
// Service exported by server reflection


// Warning: this entire file is deprecated. Use this instead:
// https://github.com/grpc/grpc-proto/blob/master/grpc/reflection/v1/reflection.proto

syntax = "proto3";

package grpc.reflection.v1alpha;

option deprecated = true;
option java_multiple_files = true;
option java_package = "io.grpc.reflection.v1alpha";
option java_outer_classname = "ServerReflectionProto";
Expand Down