Class GraphQLPlugin
java.lang.Object
com.graphql_java_generator.gradleplugin.GraphQLPlugin
- All Implemented Interfaces:
org.gradle.api.Plugin<org.gradle.api.Project>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe extension name to configure the GraphQL plugin, for the client code generation taskstatic final StringThe name of the task that generates the client code from the given GraphQL schemasstatic final StringThe extension name to configure the GraphQL plugin, for the generatePojo taskstatic final StringThe name of the task that generates the POJOs from the given GraphQL schemasstatic final StringThe extension name to configure the GraphQL plugin, for the server code generation taskstatic final StringThe name of the task that generates the server code from the given GraphQL schemasstatic final StringThe extension name to configure the GraphQL plugin, for the code generation taskstatic final StringThe name of the task that generates the code from the given GraphQL schemasstatic final StringThe extension name to configure the GraphQL merge taskstatic final StringThe name of the task that generates a GraphqL that merges several GraphQL schemas -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(org.gradle.api.Project project) Retrieve the version of the graphql-maven-plugin-logic library, that contains all the plugin logic.Retrieve the gradle project.version, that has been copied into the 'plugin.version' property of the 'application.properties' file
-
Field Details
-
GENERATE_CLIENT_CODE_EXTENSION
The extension name to configure the GraphQL plugin, for the client code generation task- See Also:
-
GENERATE_CLIENT_CODE_TASK_NAME
The name of the task that generates the client code from the given GraphQL schemas- See Also:
-
GENERATE_POJO_EXTENSION
The extension name to configure the GraphQL plugin, for the generatePojo task- See Also:
-
GENERATE_POJO_TASK_NAME
The name of the task that generates the POJOs from the given GraphQL schemas- See Also:
-
GENERATE_SERVER_CODE_EXTENSION
The extension name to configure the GraphQL plugin, for the server code generation task- See Also:
-
GENERATE_SERVER_CODE_TASK_NAME
The name of the task that generates the server code from the given GraphQL schemas- See Also:
-
GRAPHQL_EXTENSION
The extension name to configure the GraphQL plugin, for the code generation task- See Also:
-
GRAPHQL_GENERATE_CODE_TASK_NAME
The name of the task that generates the code from the given GraphQL schemas- See Also:
-
MERGE_EXTENSION
The extension name to configure the GraphQL merge task- See Also:
-
MERGE_TASK_NAME
The name of the task that generates a GraphqL that merges several GraphQL schemas- See Also:
-
-
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>
-
getVersion
Retrieve the gradle project.version, that has been copied into the 'plugin.version' property of the 'application.properties' file -
getDependenciesVersion
Retrieve the version of the graphql-maven-plugin-logic library, that contains all the plugin logic. This version has been copied into the 'plugin.version' property of the 'application.properties' file
-