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 {
|
||||
compile project(':grpc-stub'),
|
||||
libraries.protobuf
|
||||
testCompile project(':grpc-protobuf'),
|
||||
project(':grpc-stub')
|
||||
}
|
||||
|
||||
binaries.all {
|
||||
|
|
|
|||
|
|
@ -5,8 +5,7 @@ plugins {
|
|||
description = 'gRPC: Core'
|
||||
|
||||
dependencies {
|
||||
compile libraries.protobuf,
|
||||
libraries.guava,
|
||||
compile libraries.guava,
|
||||
libraries.jsr305
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ buildscript {
|
|||
dependencies {
|
||||
compile project(':grpc-core'),
|
||||
project(':grpc-netty'),
|
||||
project(':grpc-okhttp'),
|
||||
project(':grpc-protobuf'),
|
||||
project(':grpc-stub'),
|
||||
libraries.jsonp
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ dependencies {
|
|||
compile project(':grpc-core'),
|
||||
project(':grpc-netty'),
|
||||
project(':grpc-okhttp'),
|
||||
project(':grpc-protobuf'),
|
||||
project(':grpc-stub'),
|
||||
project(':grpc-testing'),
|
||||
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-auth"
|
||||
include ":grpc-okhttp"
|
||||
include ":grpc-protobuf"
|
||||
include ":grpc-nano"
|
||||
include ":grpc-netty"
|
||||
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-auth').projectDir = "$rootDir/auth" 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-netty').projectDir = "$rootDir/netty" as File
|
||||
project(':grpc-testing').projectDir = "$rootDir/testing" as File
|
||||
|
|
|
|||
Loading…
Reference in New Issue