diff options
author | Eric Anderson <ejona@google.com> | 2018-08-15 17:39:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-15 17:39:20 -0700 |
commit | 3792242ae11ad9a4992ea551629fe108be128d87 (patch) | |
tree | f7f5cc9e6976349c141db124217f32b094087b1e /netty | |
parent | 0d4051ca6ee0c0240d79f88082831c22c26c4844 (diff) | |
download | grpc-grpc-java-3792242ae11ad9a4992ea551629fe108be128d87.tar.gz |
alts: Use grpc-netty-shaded instead of grpc-netty
There's no good way to provide users of ALTS a choice between grpc-netty
and grpc-netty-shaded. Since Netty is not exposed through the ALTS API
surface, we opt for the shaded version as it has fewer deployment
issues. However, this also means that we _can't_ expose any Netty API,
like EventLoopGroup.
Diffstat (limited to 'netty')
-rw-r--r-- | netty/shaded/build.gradle | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/netty/shaded/build.gradle b/netty/shaded/build.gradle index a44ebef81..434b7fb10 100644 --- a/netty/shaded/build.gradle +++ b/netty/shaded/build.gradle @@ -24,6 +24,12 @@ artifacts { // We want uploadArchives to handle the shadowJar; we don't care abo // uploadShadow archives shadowJar } +jar { + // Must use a different classifier to avoid conflicting with shadowJar + classifier = 'original' +} +configurations.archives.artifacts.removeAll { it.classifier == "original" } + shadowJar { classifier = null dependencies { |