Advanced configuration (Gradle Plugin)

January 23, 2020 ยท View on GitHub

There are some advanced configuration properties for the Gradle Plugin.

PropertyTypeDefaultDescription
schemasFile collection(required)Defines the schemas for the code generation.
outputDirectoryDirectory"generated/graphql/kotlin/main/"Defines the output directory for the generated code.
generatedGlobalPrefixString?nullDefines the global prefix for all generated types.
generatedBasePackageString"graphql.kotlin.toolkit.codegen"Defines the base package for the generated code.
generateAllBooleantrueDefines if the code generator shall generate code for all types. (See here for more information)
enableSpringBootIntegrationBooleanfalseDefines if the code generator shall generate code which can simplify usage with the Spring Boot Integration (See here for more information)