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.StringGRAPHQL_EXTENSIONThe extension name to configure the GraphQL pluginstatic java.lang.StringGRAPHQL_GENERATE_CODE_TASK_NAMEThe name of the task that generates the code from the given GraphQL schemasstatic java.lang.StringGRAPHQL_SOURCE_SET_NAMEThe 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 voidapply(org.gradle.api.Project project)
-
Field Details
-
GRAPHQL_EXTENSION
public static final java.lang.String GRAPHQL_EXTENSIONThe extension name to configure the GraphQL plugin- See Also:
- Constant Field Values
-
GRAPHQL_GENERATE_CODE_TASK_NAME
public static final java.lang.String GRAPHQL_GENERATE_CODE_TASK_NAMEThe name of the task that generates the code from the given GraphQL schemas- See Also:
- Constant Field Values
-
GRAPHQL_SOURCE_SET_NAME
public static final java.lang.String GRAPHQL_SOURCE_SET_NAMEThe name of SourceSet that contains the code generated by the GraphQL plugin- See Also:
- Constant Field Values
-
-
Constructor Details
-
GraphqlPlugin
public GraphqlPlugin()
-
-
Method Details
-
apply
public void apply(org.gradle.api.Project project)- Specified by:
applyin interfaceorg.gradle.api.Plugin<org.gradle.api.Project>
-