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
    void apply​(org.gradle.api.Project project)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • apply

      public void apply​(org.gradle.api.Project project)
      Specified by:
      apply in interface org.gradle.api.Plugin<org.gradle.api.Project>