Class GrpcApiPlugin
java.lang.Object
org.curioswitch.gradle.plugins.grpcapi.GrpcApiPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
public class GrpcApiPlugin
extends java.lang.Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
A simple gradle plugin that configures the protobuf-gradle-plugin with appropriate defaults for a
GRPC API definition.
The project will be configured as a Java library with the GRPC dependencies, and the protobuf compiler will generate both Java code and a descriptor set with source code\ info for using in documentation services.
-
Constructor Summary
Constructors Constructor Description GrpcApiPlugin() -
Method Summary
Modifier and Type Method Description voidapply(org.gradle.api.Project project)
-
Constructor Details
-
GrpcApiPlugin
public GrpcApiPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project)- Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-