-
- 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.CompilerArgumentAware,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAwareWithInput,org.jetbrains.kotlin.gradle.internal.tasks.TaskWithLocalState,org.jetbrains.kotlin.gradle.tasks.BaseKapt,org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemon,org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemonWithNormalization,org.jetbrains.kotlin.gradle.tasks.UsesKotlinJavaToolchain
public abstract class KaptWithKotlincTask extends KaptTask implements CompilerArgumentAwareWithInput<K2JVMCompilerArguments>, CompileUsingKotlinDaemonWithNormalization
-
-
Field Summary
Fields Modifier and Type Field Description private final ConfigurableFileCollectionpluginClasspathprivate final Provider<GradleCompileTaskProvider>taskProviderprivate final ListProperty<String>kotlinDaemonJvmArgumentsprivate final ConfigurableFileCollectioncompilerClasspathprivate final ConfigurableFileCollectionclasspathStructureprivate final ListProperty<CompilerPluginConfig>kaptPluginOptionsprivate final List<Object>annotationProcessorOptionProvidersprivate final Property<Boolean>includeCompileClasspathprivate final Provider<KotlinJavaToolchain>kotlinJavaToolchainProviderprivate BooleanuseBuildCacheprivate final Property<BuildMetricsReporter>metricsprivate final Property<Boolean>verboseprivate Booleanenabledprivate final Property<Duration>timeoutprivate final TaskStateInternalstateprivate BooleanimpliesSubProjectsprivate final BooleanhasCustomActionsprivate final Set<Provider<out BuildService<?>>>requiredServicesprivate final ConfigurableFileCollectionlocalStateDirectoriesprivate final KotlinJavaToolchainkotlinJavaToolchainprivate final DirectoryPropertyclassesDirprivate final ConfigurableFileCollectionclasspathprivate final ConfigurableFileCollectioncompiledSourcesprivate final Property<String>defaultJavaSourceCompatibilityprivate final DirectoryPropertydestinationDirprivate final DirectoryPropertyincAptCacheprivate final ConfigurableFileCollectionkaptClasspathprivate final ListProperty<String>kaptClasspathConfigurationNamesprivate final ConfigurableFileCollectionkaptExternalClasspathprivate final DirectoryPropertykotlinSourcesDestinationDirprivate final ConfigurableFileCollectionsourceprivate final Property<String>sourceSetNameprivate final DirectoryPropertystubsDirprivate final List<String>serializedCompilerArgumentsprivate final List<String>defaultSerializedCompilerArgumentsprivate final List<String>serializedCompilerArgumentsIgnoreClasspathIssuesprivate final Map<String, String>filteredArgumentsMapprivate final Provider<List<String>>normalizedKotlinDaemonJvmArgumentsprivate final Property<KotlinCompilerExecutionStrategy>compilerExecutionStrategyprivate final Property<Boolean>useDaemonFallbackStrategy
-
Constructor Summary
Constructors Constructor Description KaptWithKotlincTask(ObjectFactory objectFactory)
-
Method Summary
Modifier and Type Method Description abstract ConfigurableFileCollectiongetPluginClasspath()final Provider<GradleCompileTaskProvider>getTaskProvider()abstract ListProperty<String>getKotlinDaemonJvmArguments()K2JVMCompilerArgumentscreateCompilerArgs()UnitsetupCompilerArgs(K2JVMCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)final Unitcompile(InputChanges inputChanges)-
Methods inherited from class org.jetbrains.kotlin.gradle.internal.KaptTask
getAnnotationProcessorOptionProviders, getClasspathStructure, getCompilerClasspath, getIncludeCompileClasspath, getKaptPluginOptions, getKotlinJavaToolchainProvider, getMetrics, getUseBuildCache, getVerbose, setUseBuildCache -
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects -
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, 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.jetbrains.kotlin.gradle.internal.tasks.TaskWithLocalState
getLocalStateDirectories -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.UsesKotlinJavaToolchain
getKotlinJavaToolchain -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.BaseKapt
getClassesDir, getClasspath, getCompiledSources, getDefaultJavaSourceCompatibility, getDestinationDir, getIncAptCache, getKaptClasspath, getKaptClasspathConfigurationNames, getKaptExternalClasspath, getKotlinSourcesDestinationDir, getSource, getSourceSetName, getStubsDir -
Methods inherited from class org.jetbrains.kotlin.gradle.internal.CompilerArgumentAwareWithInput
getDefaultSerializedCompilerArguments, getFilteredArgumentsMap, getSerializedCompilerArguments, getSerializedCompilerArgumentsIgnoreClasspathIssues -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemonWithNormalization
getNormalizedKotlinDaemonJvmArguments -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemon
getCompilerExecutionStrategy, getUseDaemonFallbackStrategy -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getPluginClasspath
@Classpath() abstract ConfigurableFileCollection getPluginClasspath()
-
getTaskProvider
@Internal() final Provider<GradleCompileTaskProvider> getTaskProvider()
-
getKotlinDaemonJvmArguments
abstract ListProperty<String> getKotlinDaemonJvmArguments()
-
createCompilerArgs
K2JVMCompilerArguments createCompilerArgs()
-
setupCompilerArgs
Unit setupCompilerArgs(K2JVMCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)
-
-
-
-