Package io.quarkus.grpc.runtime.config
Interface GrpcCodeGenConfig
@ConfigMapping(prefix="quarkus.generate-code.grpc")
@ConfigRoot(phase=BUILD_TIME)
public interface GrpcCodeGenConfig
not really used, here only to describe config options for code generation
-
Method Summary
Modifier and TypeMethodDescriptionControls whether Kotlin code is generated when thequarkus-kotlinextension is present (in which case the default istrue).Specify the dependencies that are allowed to have proto files that can be imported by this application's protosgRPC code generation can scan dependencies of the application for proto files to generate Java stubs from.
-
Method Details
-
scanForProto
gRPC code generation can scan dependencies of the application for proto files to generate Java stubs from. This property sets the scope of the dependencies to scan. Applicable values:- none - default - don't scan dependencies
- a comma separated list of groupId:artifactId coordinates to scan
- all - scan all dependencies
-
scanForImports
Specify the dependencies that are allowed to have proto files that can be imported by this application's protosApplicable values:
- none - default - don't scan dependencies
- a comma separated list of groupId:artifactId coordinates to scan
- all - scan all dependencies
By default, com.google.protobuf:protobuf-java.
-
generateKotlin
Controls whether Kotlin code is generated when thequarkus-kotlinextension is present (in which case the default istrue).
-