google/protobuf-gradle-plugin

extractIncludeProto execute so slowly

fingerdancer opened this issue · 0 comments

On my local desktop extractIncludeProto task will take about 1 minute, but on the Azure Devops Pipeline, it will take about 6 minutes.
Why is the gap so wide, is there any way to optimize it ?

My configuration as follows.
plugins {
id 'java'
id 'jacoco'
id 'org.sonarqube' version '4.3.0.3225'
id 'org.springframework.boot' version '3.0.13'
id 'io.spring.dependency-management' version '1.1.0'
id 'com.google.protobuf' version "0.9.4"
}

protobuf {
protoc {
artifact = "com.google.protobuf:protoc:3.18.1"
}
plugins {
grpc {
artifact = "io.grpc:protoc-gen-grpc-java:1.56.1"
}
}
generateProtoTasks {
all()*.plugins {
grpc {}
}
}
}