mirror of https://github.com/grpc/grpc-java.git
Start 1.2.0 development cycle
This commit is contained in:
parent
fdeade4ee2
commit
e8aef5b4bb
|
@ -32,7 +32,7 @@ protobuf {
|
|||
}
|
||||
plugins {
|
||||
grpc {
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
}
|
||||
generateProtoTasks {
|
||||
|
@ -61,10 +61,10 @@ dependencies {
|
|||
compile 'com.google.guava:guava:18.0'
|
||||
compile 'com.squareup.okhttp:okhttp:2.2.0'
|
||||
// You need to build grpc-java to obtain these libraries below.
|
||||
compile 'io.grpc:grpc-protobuf-nano:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-okhttp:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-stub:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-testing:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-protobuf-nano:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-okhttp:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-stub:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-testing:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'javax.annotation:javax.annotation-api:1.2'
|
||||
}
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
/**
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: services.proto")
|
||||
public class BenchmarkServiceGrpc {
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
/**
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: services.proto")
|
||||
public class WorkerServiceGrpc {
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ subprojects {
|
|||
apply plugin: "com.google.osdetector"
|
||||
|
||||
group = "io.grpc"
|
||||
version = "1.1.0-SNAPSHOT" // CURRENT_GRPC_VERSION
|
||||
version = "1.2.0-SNAPSHOT" // CURRENT_GRPC_VERSION
|
||||
|
||||
sourceCompatibility = 1.6
|
||||
targetCompatibility = 1.6
|
||||
|
|
|
@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
* </pre>
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: test.proto")
|
||||
public class TestServiceGrpc {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
* </pre>
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: test.proto")
|
||||
public class TestServiceGrpc {
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@ import java.io.IOException;
|
|||
* </pre>
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: test.proto")
|
||||
public class TestServiceGrpc {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ need to make the following changes:
|
|||
```diff
|
||||
--- a/examples/build.gradle
|
||||
+++ b/examples/build.gradle
|
||||
@@ -27,6 +27,7 @@ def grpcVersion = '1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
@@ -27,6 +27,7 @@ def grpcVersion = '1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
dependencies {
|
||||
compile "io.grpc:grpc-netty:${grpcVersion}"
|
||||
compile "io.grpc:grpc-protobuf:${grpcVersion}"
|
||||
|
|
|
@ -34,7 +34,7 @@ protobuf {
|
|||
artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0"
|
||||
}
|
||||
grpc {
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
}
|
||||
generateProtoTasks {
|
||||
|
@ -57,8 +57,8 @@ dependencies {
|
|||
compile 'com.squareup.okhttp:okhttp:2.2.0'
|
||||
|
||||
// You need to build grpc-java to obtain these libraries below.
|
||||
compile 'io.grpc:grpc-okhttp:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-protobuf-lite:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-stub:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-okhttp:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-protobuf-lite:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-stub:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'javax.annotation:javax.annotation-api:1.2'
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@ protobuf {
|
|||
artifact = "com.google.protobuf:protoc-gen-javalite:3.0.0"
|
||||
}
|
||||
grpc {
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
artifact = 'io.grpc:protoc-gen-grpc-java:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
}
|
||||
}
|
||||
generateProtoTasks {
|
||||
|
@ -55,8 +55,8 @@ dependencies {
|
|||
compile 'com.squareup.okhttp:okhttp:2.2.0'
|
||||
|
||||
// You need to build grpc-java to obtain these libraries below.
|
||||
compile 'io.grpc:grpc-okhttp:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-protobuf-lite:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-stub:1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-okhttp:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-protobuf-lite:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'io.grpc:grpc-stub:1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
compile 'javax.annotation:javax.annotation-api:1.2'
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ repositories {
|
|||
|
||||
// Feel free to delete the comment at the next line. It is just for safely
|
||||
// updating the version in our release process.
|
||||
def grpcVersion = '1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def grpcVersion = '1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
|
||||
dependencies {
|
||||
compile "io.grpc:grpc-netty:${grpcVersion}"
|
||||
|
|
|
@ -6,11 +6,11 @@
|
|||
<packaging>jar</packaging>
|
||||
<!-- Feel free to delete the comment at the end of these lines. It is just
|
||||
for safely updating the version in our release process. -->
|
||||
<version>1.1.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
|
||||
<version>1.2.0-SNAPSHOT</version><!-- CURRENT_GRPC_VERSION -->
|
||||
<name>examples</name>
|
||||
<url>http://maven.apache.org</url>
|
||||
<properties>
|
||||
<grpc.version>1.1.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
||||
<grpc.version>1.2.0-SNAPSHOT</grpc.version><!-- CURRENT_GRPC_VERSION -->
|
||||
</properties>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
|
|
@ -4,7 +4,7 @@ description = "Thrift Examples"
|
|||
|
||||
startScripts.enabled = false
|
||||
|
||||
def grpcVersion = '1.1.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
def grpcVersion = '1.2.0-SNAPSHOT' // CURRENT_GRPC_VERSION
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
|
|
@ -18,7 +18,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
/**
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: load_balancer.proto")
|
||||
public class LoadBalancerGrpc {
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
/**
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: health.proto")
|
||||
public class HealthGrpc {
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
/**
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: io/grpc/reflection/v1alpha/reflection.proto")
|
||||
public class ServerReflectionGrpc {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
* </pre>
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: io/grpc/reflection/testing/dynamic_reflection_test.proto")
|
||||
public class AnotherDynamicServiceGrpc {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
* </pre>
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: io/grpc/reflection/testing/dynamic_reflection_test.proto")
|
||||
public class DynamicServiceGrpc {
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
/**
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: io/grpc/reflection/testing/reflection_test.proto")
|
||||
public class ReflectableServiceGrpc {
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
/**
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: io/grpc/testing/integration/metrics.proto")
|
||||
public class MetricsServiceGrpc {
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
* </pre>
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: io/grpc/testing/integration/test.proto")
|
||||
public class ReconnectServiceGrpc {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
* </pre>
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: io/grpc/testing/integration/test.proto")
|
||||
public class TestServiceGrpc {
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ import static io.grpc.stub.ServerCalls.asyncUnimplementedStreamingCall;
|
|||
* </pre>
|
||||
*/
|
||||
@javax.annotation.Generated(
|
||||
value = "by gRPC proto compiler (version 1.1.0-SNAPSHOT)",
|
||||
value = "by gRPC proto compiler (version 1.2.0-SNAPSHOT)",
|
||||
comments = "Source: io/grpc/testing/integration/test.proto")
|
||||
public class UnimplementedServiceGrpc {
|
||||
|
||||
|
|
Loading…
Reference in New Issue