File tree Expand file tree Collapse file tree 2 files changed +26
-24
lines changed Expand file tree Collapse file tree 2 files changed +26
-24
lines changed Original file line number Diff line number Diff line change @@ -42,19 +42,20 @@ tasks.named('test') {
4242}
4343
4444protobuf {
45- protoc {
46- artifact = " com.google.protobuf:protoc:${ dependencyManagement.importedProperties['protobuf-java.version']} "
47- }
48- plugins {
49- grpc {
50- artifact = " io.grpc:protoc-gen-grpc-java:${ dependencyManagement.importedProperties['grpc.version']} "
51- }
52- }
53- generateProtoTasks {
54- all()* . plugins {
55- grpc {
45+ protoc {
46+ artifact = " com.google.protobuf:protoc:${ dependencyManagement.importedProperties['protobuf-java.version']} "
47+ }
48+ plugins {
49+ grpc {
50+ artifact = " io.grpc:protoc-gen-grpc-java:${ dependencyManagement.importedProperties['grpc.version']} "
51+ }
52+ }
53+ generateProtoTasks {
54+ all()* . plugins {
55+ grpc {
5656 option ' jakarta_omit'
57+ option ' @generated=omit'
5758 }
5859 }
59- }
60+ }
6061}
Original file line number Diff line number Diff line change @@ -42,19 +42,20 @@ tasks.named('test') {
4242}
4343
4444protobuf {
45- protoc {
46- artifact = " com.google.protobuf:protoc:${ dependencyManagement.importedProperties['protobuf-java.version']} "
47- }
48- plugins {
49- grpc {
50- artifact = " io.grpc:protoc-gen-grpc-java:${ dependencyManagement.importedProperties['grpc.version']} "
51- }
52- }
53- generateProtoTasks {
54- all()* . plugins {
55- grpc {
45+ protoc {
46+ artifact = " com.google.protobuf:protoc:${ dependencyManagement.importedProperties['protobuf-java.version']} "
47+ }
48+ plugins {
49+ grpc {
50+ artifact = " io.grpc:protoc-gen-grpc-java:${ dependencyManagement.importedProperties['grpc.version']} "
51+ }
52+ }
53+ generateProtoTasks {
54+ all()* . plugins {
55+ grpc {
5656 option ' jakarta_omit'
57+ option ' @generated=omit'
5758 }
5859 }
59- }
60+ }
6061}
You can’t perform that action at this time.
0 commit comments