mirror of https://github.com/grpc/grpc-java.git
Split protobuf into its own project
We don't want core to depend on protobuf.
This commit is contained in:
parent
1e257c440e
commit
e23f899491
|
|
@ -21,8 +21,8 @@ executables {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':grpc-stub'),
|
testCompile project(':grpc-protobuf'),
|
||||||
libraries.protobuf
|
project(':grpc-stub')
|
||||||
}
|
}
|
||||||
|
|
||||||
binaries.all {
|
binaries.all {
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,7 @@ plugins {
|
||||||
description = 'gRPC: Core'
|
description = 'gRPC: Core'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile libraries.protobuf,
|
compile libraries.guava,
|
||||||
libraries.guava,
|
|
||||||
libraries.jsr305
|
libraries.jsr305
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ buildscript {
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':grpc-core'),
|
compile project(':grpc-core'),
|
||||||
project(':grpc-netty'),
|
project(':grpc-netty'),
|
||||||
project(':grpc-okhttp'),
|
project(':grpc-protobuf'),
|
||||||
project(':grpc-stub'),
|
project(':grpc-stub'),
|
||||||
libraries.jsonp
|
libraries.jsonp
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ dependencies {
|
||||||
compile project(':grpc-core'),
|
compile project(':grpc-core'),
|
||||||
project(':grpc-netty'),
|
project(':grpc-netty'),
|
||||||
project(':grpc-okhttp'),
|
project(':grpc-okhttp'),
|
||||||
|
project(':grpc-protobuf'),
|
||||||
project(':grpc-stub'),
|
project(':grpc-stub'),
|
||||||
project(':grpc-testing'),
|
project(':grpc-testing'),
|
||||||
libraries.junit,
|
libraries.junit,
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
description = 'gRPC: Protobuf'
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
compile project(':grpc-core'),
|
||||||
|
libraries.protobuf,
|
||||||
|
libraries.guava
|
||||||
|
}
|
||||||
|
|
@ -3,6 +3,7 @@ include ":grpc-core"
|
||||||
include ":grpc-stub"
|
include ":grpc-stub"
|
||||||
include ":grpc-auth"
|
include ":grpc-auth"
|
||||||
include ":grpc-okhttp"
|
include ":grpc-okhttp"
|
||||||
|
include ":grpc-protobuf"
|
||||||
include ":grpc-nano"
|
include ":grpc-nano"
|
||||||
include ":grpc-netty"
|
include ":grpc-netty"
|
||||||
include ":grpc-testing"
|
include ":grpc-testing"
|
||||||
|
|
@ -16,6 +17,7 @@ project(':grpc-core').projectDir = "$rootDir/core" as File
|
||||||
project(':grpc-stub').projectDir = "$rootDir/stub" as File
|
project(':grpc-stub').projectDir = "$rootDir/stub" as File
|
||||||
project(':grpc-auth').projectDir = "$rootDir/auth" as File
|
project(':grpc-auth').projectDir = "$rootDir/auth" as File
|
||||||
project(':grpc-okhttp').projectDir = "$rootDir/okhttp" as File
|
project(':grpc-okhttp').projectDir = "$rootDir/okhttp" as File
|
||||||
|
project(':grpc-protobuf').projectDir = "$rootDir/protobuf" as File
|
||||||
project(':grpc-nano').projectDir = "$rootDir/nano" as File
|
project(':grpc-nano').projectDir = "$rootDir/nano" as File
|
||||||
project(':grpc-netty').projectDir = "$rootDir/netty" as File
|
project(':grpc-netty').projectDir = "$rootDir/netty" as File
|
||||||
project(':grpc-testing').projectDir = "$rootDir/testing" as File
|
project(':grpc-testing').projectDir = "$rootDir/testing" as File
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue