-
- All Implemented Interfaces:
-
com.google.devtools.ksp.gradle.KspTask,kotlin.Comparable,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,org.gradle.api.internal.IConventionAware,org.gradle.api.internal.TaskInternal,org.gradle.api.plugins.ExtensionAware,org.gradle.api.tasks.util.PatternFilterable,org.gradle.util.Configurable,org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompile,org.jetbrains.kotlin.gradle.dsl.KotlinCompile,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAware,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAwareWithInput,org.jetbrains.kotlin.gradle.internal.tasks.TaskWithLocalState,org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemon,org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemonWithNormalization
public abstract class KspTaskMetadata extends KotlinCompileCommon implements KspTask
-
-
Field Summary
Fields Modifier and Type Field Description private final Provider<RegularFile>abiSnapshotFileprivate final Property<String>abiSnapshotRelativePathprivate final List<String>defaultSerializedCompilerArgumentsprivate final Map<String, String>filteredArgumentsMapprivate final ConfigurableFileCollectionfriendPathsprivate Booleanincrementalprivate final ListProperty<String>kotlinDaemonJvmArgumentsprivate final KotlinMultiplatformCommonOptionskotlinOptionsprivate final ConfigurableFileCollectionlocalStateDirectoriesprivate final BuildMetricsReportermetricsprivate final Provider<List<String>>normalizedKotlinDaemonJvmArgumentsprivate final ConfigurableFileCollectionpluginClasspathprivate final List<String>serializedCompilerArgumentsprivate final List<String>serializedCompilerArgumentsIgnoreClasspathIssuesprivate final ListProperty<String>sourceFilesExtensionsprivate final ListProperty<SubpluginOption>optionsprivate Filedestinationprivate final Property<FileCollection>overridePluginClasspathprivate BooleanblockOtherCompilerPluginsprivate final MapProperty<String, String>apOptionsprivate final ConfigurableFileCollectionprocessorClasspathprivate final DirectoryPropertykspCacheDirprivate BooleanisKspIncremental
-
Constructor Summary
Constructors Constructor Description KspTaskMetadata()
-
Method Summary
Modifier and Type Method Description final Provider<RegularFile>getAbiSnapshotFile()final Property<String>getAbiSnapshotRelativePath()List<String>getDefaultSerializedCompilerArguments()Map<String, String>getFilteredArgumentsMap()final ConfigurableFileCollectiongetFriendPaths()final BooleangetIncremental()final UnitsetIncremental(Boolean incremental)abstract ListProperty<String>getKotlinDaemonJvmArguments()KotlinMultiplatformCommonOptionsgetKotlinOptions()abstract ConfigurableFileCollectiongetLocalStateDirectories()BuildMetricsReportergetMetrics()Provider<List<String>>getNormalizedKotlinDaemonJvmArguments()ConfigurableFileCollectiongetPluginClasspath()List<String>getSerializedCompilerArguments()List<String>getSerializedCompilerArgumentsIgnoreClasspathIssues()final ListProperty<String>getSourceFilesExtensions()abstract ListProperty<SubpluginOption>getOptions()abstract FilegetDestination()abstract UnitsetDestination(File destination)abstract Property<FileCollection>getOverridePluginClasspath()abstract BooleangetBlockOtherCompilerPlugins()abstract UnitsetBlockOtherCompilerPlugins(Boolean blockOtherCompilerPlugins)abstract MapProperty<String, String>getApOptions()abstract ConfigurableFileCollectiongetProcessorClasspath()abstract DirectoryPropertygetKspCacheDir()Output directory that contains caches necessary to support incremental annotation processing. abstract BooleangetIsKspIncremental()abstract UnitsetIsKspIncremental(Boolean isKspIncremental)UnitconfigureCompilation(KotlinCompilationData<?> kotlinCompilation, AbstractKotlinCompile<?> kotlinCompile)UnitsetupCompilerArgs(K2MetadataCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)final UnitcallCompilerAsync$kotlin_gradle_plugin(K2MetadataCompilerArguments args, SourceRoots sourceRoots, ChangedFiles changedFiles)-
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 org.gradle.api.internal.ConventionTask
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.tasks.SourceTask
conventionMapping, conventionMapping, getConventionMapping -
Methods inherited from class com.google.devtools.ksp.gradle.KspTaskMetadata
createCompilerArgs -
Methods inherited from class org.gradle.api.tasks.compile.AbstractCompile
exclude, exclude, exclude, exclude, getExcludes, getIncludes, getPatternSetFactory, include, include, include, include, setExcludes, setIncludes, setSource, setSource, source -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinCompileCommon
execute -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompileTool
getClasspath, getDestinationDir, getDestinationDirectory, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibility -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile
getSource -
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCommonCompile
kotlinOptions, kotlinOptions, kotlinOptions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAbiSnapshotFile
final Provider<RegularFile> getAbiSnapshotFile()
-
getAbiSnapshotRelativePath
final Property<String> getAbiSnapshotRelativePath()
-
getDefaultSerializedCompilerArguments
List<String> getDefaultSerializedCompilerArguments()
-
getFilteredArgumentsMap
Map<String, String> getFilteredArgumentsMap()
-
getFriendPaths
final ConfigurableFileCollection getFriendPaths()
-
getIncremental
final Boolean getIncremental()
-
setIncremental
final Unit setIncremental(Boolean incremental)
-
getKotlinDaemonJvmArguments
abstract ListProperty<String> getKotlinDaemonJvmArguments()
-
getKotlinOptions
KotlinMultiplatformCommonOptions getKotlinOptions()
-
getLocalStateDirectories
abstract ConfigurableFileCollection getLocalStateDirectories()
-
getMetrics
BuildMetricsReporter getMetrics()
-
getNormalizedKotlinDaemonJvmArguments
Provider<List<String>> getNormalizedKotlinDaemonJvmArguments()
-
getPluginClasspath
ConfigurableFileCollection getPluginClasspath()
-
getSerializedCompilerArguments
List<String> getSerializedCompilerArguments()
-
getSerializedCompilerArgumentsIgnoreClasspathIssues
List<String> getSerializedCompilerArgumentsIgnoreClasspathIssues()
-
getSourceFilesExtensions
final ListProperty<String> getSourceFilesExtensions()
-
getOptions
@Internal() abstract ListProperty<SubpluginOption> getOptions()
-
getDestination
@OutputDirectory() abstract File getDestination()
-
setDestination
abstract Unit setDestination(File destination)
-
getOverridePluginClasspath
@Optional()@PathSensitive(value = PathSensitivity.RELATIVE)@InputFiles() abstract Property<FileCollection> getOverridePluginClasspath()
-
getBlockOtherCompilerPlugins
@Input() abstract Boolean getBlockOtherCompilerPlugins()
-
setBlockOtherCompilerPlugins
abstract Unit setBlockOtherCompilerPlugins(Boolean blockOtherCompilerPlugins)
-
getApOptions
@Input() abstract MapProperty<String, String> getApOptions()
-
getProcessorClasspath
@PathSensitive(value = PathSensitivity.RELATIVE)@InputFiles() abstract ConfigurableFileCollection getProcessorClasspath()
-
getKspCacheDir
@LocalState() abstract DirectoryProperty getKspCacheDir()
Output directory that contains caches necessary to support incremental annotation processing.
-
getIsKspIncremental
@Input() abstract Boolean getIsKspIncremental()
-
setIsKspIncremental
abstract Unit setIsKspIncremental(Boolean isKspIncremental)
-
configureCompilation
Unit configureCompilation(KotlinCompilationData<?> kotlinCompilation, AbstractKotlinCompile<?> kotlinCompile)
-
setupCompilerArgs
Unit setupCompilerArgs(K2MetadataCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)
-
callCompilerAsync$kotlin_gradle_plugin
final Unit callCompilerAsync$kotlin_gradle_plugin(K2MetadataCompilerArguments args, SourceRoots sourceRoots, ChangedFiles changedFiles)
-
-
-
-