aboutsummaryrefslogtreecommitdiff
path: root/settings.gradle
diff options
context:
space:
mode:
authorEric Anderson <ejona@google.com>2016-03-22 11:31:36 -0700
committerEric Anderson <ejona@google.com>2016-03-22 15:40:51 -0700
commit99a6d8de27f0fa3e4d41e0712dddb7a3c037a82f (patch)
treeef2d805bb418fc760601426142c8e13b62114747 /settings.gradle
parent1ff6ecbb2194a78790228f72aae04ad9c5179a1d (diff)
downloadgrpc-grpc-java-99a6d8de27f0fa3e4d41e0712dddb7a3c037a82f.tar.gz
Add native support for Protobuf Lite
Lite already worked by using the protobuf project, but would bring in extra dependencies that are not intended to work with lite. Although protobuf is not yet providing a lite package on Maven Central, we will be able to swap to it once it is available. There isn't any new original code in the Java portion, except for a new overload in ProtoUtils that accepts Message instead of MessageLite. Depending on Message in ProtoUtils allows us to support extra features out-of-the-box without any changes to the generated code. For example, JSON encoding could be supported in this way if Marshaller is enhanced. However, now codegen must be aware of Lite in order to choose with Util class to use. That is new code.
Diffstat (limited to 'settings.gradle')
-rw-r--r--settings.gradle2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings.gradle b/settings.gradle
index f235a3351..9bed7a107 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -4,6 +4,7 @@ include ":grpc-stub"
include ":grpc-auth"
include ":grpc-okhttp"
include ":grpc-protobuf"
+include ":grpc-protobuf-lite"
include ":grpc-protobuf-nano"
include ":grpc-netty"
include ":grpc-grpclb"
@@ -18,6 +19,7 @@ project(':grpc-stub').projectDir = "$rootDir/stub" as File
project(':grpc-auth').projectDir = "$rootDir/auth" as File
project(':grpc-okhttp').projectDir = "$rootDir/okhttp" as File
project(':grpc-protobuf').projectDir = "$rootDir/protobuf" as File
+project(':grpc-protobuf-lite').projectDir = "$rootDir/protobuf-lite" as File
project(':grpc-protobuf-nano').projectDir = "$rootDir/protobuf-nano" as File
project(':grpc-netty').projectDir = "$rootDir/netty" as File
project(':grpc-grpclb').projectDir = "$rootDir/grpclb" as File