all: sync tcnative version

The helloworld TLS example can not run properly with the outdated examples/build.gradle.
This commit is contained in:
ZHANG Dapeng 2018-12-03 13:19:17 -08:00 committed by GitHub
parent 8ecdec73fd
commit e9ba65a42e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 5 deletions

View File

@ -90,7 +90,7 @@ In Maven, you can use the [os-maven-plugin](https://github.com/trustin/os-maven-
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative-boringssl-static</artifactId>
<version>2.0.7.Final</version>
<version>2.0.17.Final</version>
</dependency>
</dependencies>
</project>
@ -108,7 +108,7 @@ buildscript {
}
dependencies {
compile 'io.netty:netty-tcnative-boringssl-static:2.0.7.Final'
compile 'io.netty:netty-tcnative-boringssl-static:2.0.17.Final'
}
```
@ -143,7 +143,7 @@ In Maven, you can use the [os-maven-plugin](https://github.com/trustin/os-maven-
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-tcnative</artifactId>
<version>2.0.7.Final</version>
<version>2.0.17.Final</version>
<classifier>${tcnative.classifier}</classifier>
</dependency>
</dependencies>
@ -211,7 +211,7 @@ if (osdetector.os == "linux" && osdetector.release.isLike("fedora")) {
}
dependencies {
compile 'io.netty:netty-tcnative:2.0.7.Final:' + tcnative_classifier
compile 'io.netty:netty-tcnative:2.0.17.Final:' + tcnative_classifier
}
```

View File

@ -219,6 +219,10 @@ subprojects {
netty: "io.netty:netty-codec-http2:[${nettyVersion}]",
netty_epoll: "io.netty:netty-transport-native-epoll:${nettyVersion}" + epoll_suffix,
netty_proxy_handler: "io.netty:netty-handler-proxy:${nettyVersion}",
// Keep the following references of tcnative version in sync whenever it's updated
// SECURITY.md (multiple occurrences)
// examples/build.gradle
netty_tcnative: 'io.netty:netty-tcnative-boringssl-static:2.0.17.Final',
conscrypt: 'org.conscrypt:conscrypt-openjdk-uber:1.0.1',

View File

@ -23,7 +23,7 @@ targetCompatibility = 1.7
// 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.18.0-SNAPSHOT' // CURRENT_GRPC_VERSION
def nettyTcNativeVersion = '2.0.7.Final'
def nettyTcNativeVersion = '2.0.17.Final'
def protobufVersion = '3.5.1'
def protocVersion = '3.5.1-1'