ApolloGenerateSourcesTask

@CacheableTask
abstract class ApolloGenerateSourcesTask : DefaultTask

Constructors

Link copied to clipboard
fun ApolloGenerateSourcesTask()

Functions

Link copied to clipboard
open override fun appendParallelSafeAction(p0: Action<in Task>)
Link copied to clipboard
open operator override fun compareTo(other: Task): Int
Link copied to clipboard
open override fun configure(p0: Closure<Any>): Task
Link copied to clipboard
open override fun dependsOn(vararg p0: Any): Task
Link copied to clipboard
open override fun doFirst(p0: Closure<Any>): Task
open override fun doFirst(p0: Action<in Task>): Task
open override fun doFirst(p0: String, p1: Action<in Task>): Task
Link copied to clipboard
open override fun doLast(p0: Closure<Any>): Task
open override fun doLast(p0: Action<in Task>): Task
open override fun doLast(p0: String, p1: Action<in Task>): Task
Link copied to clipboard
open override fun finalizedBy(vararg p0: Any): Task
Link copied to clipboard
open override fun getActions(): MutableList<Action<in Task>>
Link copied to clipboard
open override fun getAnt(): AntBuilder
Link copied to clipboard
@Internal
open override fun getAsDynamicObject(): DynamicObject
Link copied to clipboard
@Input
fun getCompilerJavaHooksVersion(): String
Link copied to clipboard
@Input
fun getCompilerKotlinHooksVersion(): String
Link copied to clipboard
open override fun getConvention(): Convention
Link copied to clipboard
open override fun getDependsOn(): MutableSet<Any>
Link copied to clipboard
open override fun getDescription(): String?
Link copied to clipboard
open override fun getDestroyables(): TaskDestroyables
Link copied to clipboard
open override fun getDidWork(): Boolean
Link copied to clipboard
@Internal
open override fun getExtensions(): ExtensionContainer
Link copied to clipboard
open override fun getFinalizedBy(): TaskDependency
Link copied to clipboard
open override fun getGroup(): String?
Link copied to clipboard
open override fun getIdentityPath(): Path
Link copied to clipboard
open override fun getInputs(): TaskInputsInternal
Link copied to clipboard
open override fun getLocalState(): TaskLocalState
Link copied to clipboard
open override fun getLogging(): LoggingManagerInternal
Link copied to clipboard
open override fun getMustRunAfter(): TaskDependency
Link copied to clipboard
open override fun getName(): String
Link copied to clipboard
open override fun getOnlyIf(): Spec<in TaskInternal>
Link copied to clipboard
@Input
fun getOperationOutputGeneratorVersion(): String
Link copied to clipboard
open override fun getOutputs(): TaskOutputsInternal
Link copied to clipboard
@Input
fun getPackageNameGeneratorVersion(): String
Link copied to clipboard
open override fun getPath(): String
Link copied to clipboard
open override fun getProject(): Project
Link copied to clipboard
open override fun getShouldRunAfter(): TaskDependency
Link copied to clipboard
open override fun getStandardOutputCapture(): StandardOutputCapture
Link copied to clipboard
open override fun getTaskActions(): MutableList<InputChangesAwareTaskAction>
Link copied to clipboard
open override fun getTaskDependencies(): TaskDependencyInternal
Link copied to clipboard
open override fun getTaskIdentity(): TaskIdentity<*>
Link copied to clipboard
open override fun getTemporaryDir(): File
Link copied to clipboard
open override fun getTemporaryDirFactory(): Factory<File>
Link copied to clipboard
open override fun hasProperty(p0: String): Boolean
Link copied to clipboard
open override fun hasTaskActions(): Boolean
Link copied to clipboard
open override fun mustRunAfter(vararg p0: Any): Task
Link copied to clipboard
open override fun onlyIf(p0: Closure<Any>)
open override fun onlyIf(p0: Spec<in Task>)
Link copied to clipboard
open override fun prependParallelSafeAction(p0: Action<in Task>)
Link copied to clipboard
open override fun property(p0: String): Any?
Link copied to clipboard
open override fun replaceLogger(p0: Logger)
Link copied to clipboard
open override fun setActions(p0: MutableList<Action<in Task>>)
Link copied to clipboard
open override fun setDependsOn(p0: MutableIterable<*>)
Link copied to clipboard
open override fun setDescription(p0: String?)
Link copied to clipboard
open override fun setDidWork(p0: Boolean)
Link copied to clipboard
open override fun setFinalizedBy(p0: MutableIterable<*>)
Link copied to clipboard
open override fun setGroup(p0: String?)
Link copied to clipboard
open override fun setMustRunAfter(p0: MutableIterable<*>)
Link copied to clipboard
open override fun setOnlyIf(p0: Closure<Any>)
open override fun setOnlyIf(p0: Spec<in Task>)
Link copied to clipboard
open override fun setProperty(p0: String, p1: Any)
Link copied to clipboard
open override fun setShouldRunAfter(p0: MutableIterable<*>)
Link copied to clipboard
open override fun shouldRunAfter(vararg p0: Any): TaskDependency
Link copied to clipboard
fun taskAction()
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard
@get:Input
@get:Optional
abstract val addJvmOverloads: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val addTypename: Property<String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val alwaysGenerateTypesMatching: SetProperty<String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val classesForEnumsMatching: ListProperty<String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val codegenModels: Property<String>
Link copied to clipboard
@get:Internal
lateinit var compilerJavaHooks: ApolloCompilerJavaHooks
Link copied to clipboard
@get:Internal
lateinit var compilerKotlinHooks: ApolloCompilerKotlinHooks
Link copied to clipboard
@get:OutputDirectory
@get:Optional
abstract val debugDir: DirectoryProperty
Link copied to clipboard
@get:Input
@get:Optional
abstract val decapitalizeFields: Property<Boolean>
Link copied to clipboard
@get:Internal
var enabled: Boolean
Link copied to clipboard
@get:Internal
abstract val failOnWarnings: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val fieldsOnDisjointTypesMustMerge: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val flattenModels: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateDataBuilders: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generatedSchemaName: Property<String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateFilterNotNull: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateFragmentImplementations: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateModelBuilders: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateOptionalOperationVariables: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generatePrimitiveTypes: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateQueryDocument: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateResponseFields: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateSchema: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val generateTestBuilders: Property<Boolean>
Link copied to clipboard
@get:InputFiles
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val graphqlFiles: ConfigurableFileCollection
Link copied to clipboard
val hasCustomActions: Boolean
Link copied to clipboard
var impliesSubProjects: Boolean
Link copied to clipboard
@get:Input
@get:Optional
abstract val languageVersion: Property<String>
Link copied to clipboard
val logger: Logger
Link copied to clipboard
@get:InputFiles
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val metadataFiles: ConfigurableFileCollection
Link copied to clipboard
@get:OutputFile
@get:Optional
abstract val metadataOutputFile: RegularFileProperty
Link copied to clipboard
@get:Input
@get:Optional
abstract val nullableFieldStyle: Property<JavaNullable>
Link copied to clipboard
@get:Inject
abstract val objectFactory: ObjectFactory
Link copied to clipboard
@get:OutputFile
abstract val operationManifestFile: RegularFileProperty
Link copied to clipboard
@get:Input
abstract val operationManifestFormat: Property<String>
Link copied to clipboard
@get:Internal
lateinit var operationOutputGenerator: OperationOutputGenerator
Link copied to clipboard
@get:OutputDirectory
abstract val outputDir: DirectoryProperty
Link copied to clipboard
@get:Internal
lateinit var packageNameGenerator: PackageNameGenerator
Link copied to clipboard
@get:Input
abstract val projectPath: Property<String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val requiresOptInAnnotation: Property<String>
Link copied to clipboard
@get:Input
abstract val rootFolders: ListProperty<String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val scalarAdapterMapping: MapProperty<String, String>
Link copied to clipboard
@get:Input
@get:Optional
abstract val scalarTypeMapping: MapProperty<String, String>
Link copied to clipboard
@get:InputFiles
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val schemaFiles: ConfigurableFileCollection

It's ok to have schemaFiles empty if there is some metadata

Link copied to clipboard
@get:Input
@get:Optional
abstract val sealedClassesForEnumsMatching: ListProperty<String>
Link copied to clipboard
val state: TaskStateInternal
Link copied to clipboard
@get:Input
@get:Optional
abstract val targetLanguage: Property<TargetLanguage>
Link copied to clipboard
@get:OutputDirectory
abstract val testDir: DirectoryProperty
Link copied to clipboard
val timeout: Property<Duration>
Link copied to clipboard
@get:InputFiles
@get:PathSensitive(value = PathSensitivity.RELATIVE)
abstract val usedCoordinates: ConfigurableFileCollection
Link copied to clipboard
@get:Input
@get:Optional
abstract val useSchemaPackageNameForFragments: Property<Boolean>
Link copied to clipboard
@get:Input
@get:Optional
abstract val useSemanticNaming: Property<Boolean>
Link copied to clipboard
@get:Internal
abstract val warnOnDeprecatedUsages: Property<Boolean>