File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,11 @@ subprojects {
7676
7777 dependencies {
7878
79- dependency " com.google.protobuf:protobuf-java:${ ext['protobuf.version']} "
79+ dependencySet(group : ' com.google.protobuf' , version : ext[' protobuf.version' ]) {
80+ entry ' protobuf-java'
81+ entry ' protoc'
82+ }
83+ dependency " com.google.protobuf:protoc:${ ext['protobuf.version']} "
8084
8185 dependency " javax.inject:javax.inject:1"
8286 dependency " javax.annotation:javax.annotation-api:1.2"
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ protobuf {
4242 generatedFilesBaseDir = " ${ projectDir} /src/generated"
4343
4444 protoc {
45- artifact = " com.google.protobuf:protoc: ${ ext['protobuf.version'] } "
45+ artifact = " com.google.protobuf:protoc"
4646 }
4747 plugins {
4848 rsocketRpc {
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ description = 'RSocket RPC Metrics IDL'
22
33protobuf {
44 protoc {
5- artifact = ' com.google.protobuf:protoc:3.6.1 '
5+ artifact = ' com.google.protobuf:protoc'
66 }
77 generateProtoTasks {
88 all(). each { task ->
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ description = 'RSocket RPC Protobf IDL'
66
77protobuf {
88 protoc {
9- artifact = " com.google.protobuf:protoc: ${ ext['protobuf.version'] } "
9+ artifact = " com.google.protobuf:protoc"
1010 }
1111 generateProtoTasks {
1212 all(). each { task ->
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ protobuf {
2222 generatedFilesBaseDir = " ${ projectDir} /src/generated"
2323
2424 protoc {
25- artifact = " com.google.protobuf:protoc: ${ ext['protobuf.version'] } "
25+ artifact = " com.google.protobuf:protoc"
2626 }
2727 plugins {
2828 rsocketRpc {
You can’t perform that action at this time.
0 commit comments