Class GraphqlPlugin

java.lang.Object
com.graphql_java_generator.gradleplugin.GraphqlPlugin
All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>

public class GraphqlPlugin
extends java.lang.Object
implements org.gradle.api.Plugin<org.gradle.api.Project>
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String GRAPHQL_EXTENSION
    The extension name to configure the GraphQL plugin
    static java.lang.String GRAPHQL_GENERATE_CODE_TASK_NAME
    The name of the task that generates the code from the given GraphQL schemas
    static java.lang.String GRAPHQL_SOURCE_SET_NAME
    The name of SourceSet that contains the code generated by the GraphQL plugin
  • Constructor Summary

    Constructors 
    Constructor Description
    GraphqlPlugin()  
  • 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
  • Field Details

  • 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>