Class CodegenPluginExtension

java.lang.Object
com.netflix.graphql.dgs.codegen.gradle.CodegenPluginExtension

public abstract class CodegenPluginExtension extends Object
Configuration for adding the client core dependency.
  • Constructor Details

    • CodegenPluginExtension

      public CodegenPluginExtension()
      Enabled by default
  • Method Details

    • getClientCoreConventionsEnabled

      public abstract org.gradle.api.provider.Property<Boolean> getClientCoreConventionsEnabled()
      Returns:
      Enable adding client core dependency
    • getClientCoreVersion

      public abstract org.gradle.api.provider.Property<String> getClientCoreVersion()
      Returns:
      Version of the client core library to add
    • getClientCoreScope

      public abstract org.gradle.api.provider.Property<String> getClientCoreScope()
      Describes the configuration/scope that the client-core library is going to be added to.
      Returns:
      Scope of the added dependency. Defaults to ClientUtilsConventions.GRADLE_CLASSPATH_CONFIGURATION