-
- All Implemented Interfaces:
-
kotlin.Comparable
,org.gradle.api.Task
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.TaskInternal
,org.gradle.api.plugins.ExtensionAware
,org.gradle.util.Configurable
,org.jetbrains.kotlin.gradle.internal.tasks.TaskWithLocalState
,org.jetbrains.kotlin.gradle.tasks.BaseKapt
,org.jetbrains.kotlin.gradle.tasks.UsesKotlinJavaToolchain
@CacheableTask() public abstract class KaptTask extends DefaultTask implements TaskWithLocalState, UsesKotlinJavaToolchain, BaseKapt
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
KaptTask.Companion
-
Field Summary
Fields Modifier and Type Field Description private final ConfigurableFileCollection
compilerClasspath
private final ConfigurableFileCollection
classpathStructure
private final ListProperty<CompilerPluginConfig>
kaptPluginOptions
private final List<Object>
annotationProcessorOptionProviders
private final Property<Boolean>
includeCompileClasspath
private final Provider<KotlinJavaToolchain>
kotlinJavaToolchainProvider
private Boolean
useBuildCache
private final Property<BuildMetricsReporter>
metrics
private final Property<Boolean>
verbose
private final ConfigurableFileCollection
localStateDirectories
private final KotlinJavaToolchain
kotlinJavaToolchain
private final DirectoryProperty
classesDir
private final ConfigurableFileCollection
classpath
private final ConfigurableFileCollection
compiledSources
private final Property<String>
defaultJavaSourceCompatibility
private final DirectoryProperty
destinationDir
private final DirectoryProperty
incAptCache
private final ConfigurableFileCollection
kaptClasspath
private final ListProperty<String>
kaptClasspathConfigurationNames
private final ConfigurableFileCollection
kaptExternalClasspath
private final DirectoryProperty
kotlinSourcesDestinationDir
private final ConfigurableFileCollection
source
private final Property<String>
sourceSetName
private final DirectoryProperty
stubsDir
-
Constructor Summary
Constructors Constructor Description KaptTask(ObjectFactory objectFactory)
-
Method Summary
Modifier and Type Method Description abstract ConfigurableFileCollection
getCompilerClasspath()
abstract ConfigurableFileCollection
getClasspathStructure()
abstract ListProperty<CompilerPluginConfig>
getKaptPluginOptions()
List<Object>
getAnnotationProcessorOptionProviders()
Property<Boolean>
getIncludeCompileClasspath()
final Provider<KotlinJavaToolchain>
getKotlinJavaToolchainProvider()
final Boolean
getUseBuildCache()
final Unit
setUseBuildCache(Boolean useBuildCache)
Property<BuildMetricsReporter>
getMetrics()
abstract Property<Boolean>
getVerbose()
abstract ConfigurableFileCollection
getLocalStateDirectories()
KotlinJavaToolchain
getKotlinJavaToolchain()
abstract DirectoryProperty
getClassesDir()
abstract ConfigurableFileCollection
getClasspath()
abstract ConfigurableFileCollection
getCompiledSources()
abstract Property<String>
getDefaultJavaSourceCompatibility()
abstract DirectoryProperty
getDestinationDir()
abstract DirectoryProperty
getIncAptCache()
abstract ConfigurableFileCollection
getKaptClasspath()
abstract ListProperty<String>
getKaptClasspathConfigurationNames()
abstract ConfigurableFileCollection
getKaptExternalClasspath()
abstract DirectoryProperty
getKotlinSourcesDestinationDir()
abstract ConfigurableFileCollection
getSource()
abstract Property<String>
getSourceSetName()
abstract DirectoryProperty
getStubsDir()
-
Methods inherited from class org.jetbrains.kotlin.gradle.internal.KaptTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.gradle.api.DefaultTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getCompilerClasspath
@Classpath() abstract ConfigurableFileCollection getCompilerClasspath()
-
getClasspathStructure
@PathSensitive(value = PathSensitivity.NONE)@Incremental()@IgnoreEmptyDirectories()@Optional()@InputFiles() abstract ConfigurableFileCollection getClasspathStructure()
-
getKaptPluginOptions
@Internal() abstract ListProperty<CompilerPluginConfig> getKaptPluginOptions()
-
getAnnotationProcessorOptionProviders
List<Object> getAnnotationProcessorOptionProviders()
-
getIncludeCompileClasspath
@Input() Property<Boolean> getIncludeCompileClasspath()
-
getKotlinJavaToolchainProvider
final Provider<KotlinJavaToolchain> getKotlinJavaToolchainProvider()
-
getUseBuildCache
@Internal() final Boolean getUseBuildCache()
-
setUseBuildCache
final Unit setUseBuildCache(Boolean useBuildCache)
-
getMetrics
@Internal() Property<BuildMetricsReporter> getMetrics()
-
getVerbose
@Input() abstract Property<Boolean> getVerbose()
-
getLocalStateDirectories
@Internal() abstract ConfigurableFileCollection getLocalStateDirectories()
-
getKotlinJavaToolchain
KotlinJavaToolchain getKotlinJavaToolchain()
-
getClassesDir
abstract DirectoryProperty getClassesDir()
-
getClasspath
abstract ConfigurableFileCollection getClasspath()
-
getCompiledSources
abstract ConfigurableFileCollection getCompiledSources()
-
getDefaultJavaSourceCompatibility
abstract Property<String> getDefaultJavaSourceCompatibility()
-
getDestinationDir
abstract DirectoryProperty getDestinationDir()
-
getIncAptCache
abstract DirectoryProperty getIncAptCache()
-
getKaptClasspath
abstract ConfigurableFileCollection getKaptClasspath()
-
getKaptClasspathConfigurationNames
abstract ListProperty<String> getKaptClasspathConfigurationNames()
-
getKaptExternalClasspath
abstract ConfigurableFileCollection getKaptExternalClasspath()
-
getKotlinSourcesDestinationDir
abstract DirectoryProperty getKotlinSourcesDestinationDir()
-
getSource
abstract ConfigurableFileCollection getSource()
-
getSourceSetName
abstract Property<String> getSourceSetName()
-
getStubsDir
abstract DirectoryProperty getStubsDir()
-
-
-
-