diff options
author | Carl Mastrangelo <notcarl@google.com> | 2017-06-06 15:27:59 -0700 |
---|---|---|
committer | Eric Anderson <ejona@google.com> | 2017-06-16 15:03:14 -0700 |
commit | d6d3a53d2543ebcbdccfa71e15d24335a57d4084 (patch) | |
tree | e9ea44a9f111d576c9a66d4ee97e21568f0fe5d1 /README.md | |
parent | 2a3cb8fd236c700ae46c1422dd28cfd2523e537e (diff) | |
download | grpc-grpc-java-d6d3a53d2543ebcbdccfa71e15d24335a57d4084.tar.gz |
all: update readme to point to 1.4.0
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -28,37 +28,37 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`: <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-netty</artifactId> - <version>1.3.0</version> + <version>1.4.0</version> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-protobuf</artifactId> - <version>1.3.0</version> + <version>1.4.0</version> </dependency> <dependency> <groupId>io.grpc</groupId> <artifactId>grpc-stub</artifactId> - <version>1.3.0</version> + <version>1.4.0</version> </dependency> ``` Or for Gradle with non-Android, add to your dependencies: ```gradle -compile 'io.grpc:grpc-netty:1.3.0' -compile 'io.grpc:grpc-protobuf:1.3.0' -compile 'io.grpc:grpc-stub:1.3.0' +compile 'io.grpc:grpc-netty:1.4.0' +compile 'io.grpc:grpc-protobuf:1.4.0' +compile 'io.grpc:grpc-stub:1.4.0' ``` For Android client, use `grpc-okhttp` instead of `grpc-netty` and `grpc-protobuf-lite` or `grpc-protobuf-nano` instead of `grpc-protobuf`: ```gradle -compile 'io.grpc:grpc-okhttp:1.3.0' -compile 'io.grpc:grpc-protobuf-lite:1.3.0' -compile 'io.grpc:grpc-stub:1.3.0' +compile 'io.grpc:grpc-okhttp:1.4.0' +compile 'io.grpc:grpc-protobuf-lite:1.4.0' +compile 'io.grpc:grpc-stub:1.4.0' ``` [the JARs]: -http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.3.0%22 +http://search.maven.org/#search%7Cga%7C1%7Cg%3A%22io.grpc%22%20AND%20v%3A%221.4.0%22 Development snapshots are available in [Sonatypes's snapshot repository](https://oss.sonatype.org/content/repositories/snapshots/). @@ -85,9 +85,9 @@ For protobuf-based codegen integrated with the Maven build system, you can use <artifactId>protobuf-maven-plugin</artifactId> <version>0.5.0</version> <configuration> - <protocArtifact>com.google.protobuf:protoc:3.2.0:exe:${os.detected.classifier}</protocArtifact> + <protocArtifact>com.google.protobuf:protoc:3.3.0:exe:${os.detected.classifier}</protocArtifact> <pluginId>grpc-java</pluginId> - <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.3.0:exe:${os.detected.classifier}</pluginArtifact> + <pluginArtifact>io.grpc:protoc-gen-grpc-java:1.4.0:exe:${os.detected.classifier}</pluginArtifact> </configuration> <executions> <execution> @@ -127,7 +127,7 @@ protobuf { } plugins { grpc { - artifact = 'io.grpc:protoc-gen-grpc-java:1.3.0' + artifact = 'io.grpc:protoc-gen-grpc-java:1.4.0' } } generateProtoTasks { |