All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.grpc.runtime.config.GrpcCodeGenConfig Maven / Gradle / Ivy

There is a newer version: 3.15.1
Show newest version
package io.quarkus.grpc.runtime.config;

import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

/**
 * not really used, here only to describe config options for code generation
 */
@ConfigRoot(name = "generate-code.grpc", phase = ConfigPhase.BUILD_TIME)
public class GrpcCodeGenConfig {

    /**
     * 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
  • *
*/ @ConfigItem(defaultValue = "none") public String scanForProto; /** * Specify the dependencies that are allowed to have proto files that can be imported by this application's protos * * Applicable 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. */ @ConfigItem(defaultValue = "com.google.protobuf:protobuf-java") public String scanForImports; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy