-
- 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.KotlinCompile,org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile,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
@CacheableTask() public abstract class KspTaskJS extends Kotlin2JsCompile implements KspTask
-
-
Field Summary
Fields Modifier and Type Field Description private final Provider<RegularFile>abiSnapshotFileprivate final Property<String>abiSnapshotRelativePathprivate final Property<KotlinCompilerExecutionStrategy>compilerExecutionStrategyprivate final List<String>defaultSerializedCompilerArgumentsprivate final Map<String, String>filteredArgumentsMapprivate final ConfigurableFileCollectionfriendPathsprivate Booleanincrementalprivate final ListProperty<String>kotlinDaemonJvmArgumentsprivate final KotlinJsOptionskotlinOptionsprivate final ConfigurableFileCollectionlocalStateDirectoriesprivate final Property<BuildMetricsReporter>metricsprivate final Provider<List<String>>normalizedKotlinDaemonJvmArgumentsprivate final RegularFilePropertyoptionalOutputFileprivate final FileoutputFileprivate final Property<File>outputFilePropertyprivate final ConfigurableFileCollectionpluginClasspathprivate final List<String>serializedCompilerArgumentsprivate final List<String>serializedCompilerArgumentsIgnoreClasspathIssuesprivate final ListProperty<String>sourceFilesExtensionsprivate final ArrayList<String>startParametersprivate 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 KspTaskJS(ObjectFactory objectFactory, WorkerExecutor workerExecutor)
-
Method Summary
Modifier and Type Method Description final Provider<RegularFile>getAbiSnapshotFile()final Property<String>getAbiSnapshotRelativePath()abstract Property<KotlinCompilerExecutionStrategy>getCompilerExecutionStrategy()List<String>getDefaultSerializedCompilerArguments()Map<String, String>getFilteredArgumentsMap()final ConfigurableFileCollectiongetFriendPaths()final BooleangetIncremental()final UnitsetIncremental(Boolean incremental)abstract ListProperty<String>getKotlinDaemonJvmArguments()KotlinJsOptionsgetKotlinOptions()abstract ConfigurableFileCollectiongetLocalStateDirectories()Property<BuildMetricsReporter>getMetrics()Provider<List<String>>getNormalizedKotlinDaemonJvmArguments()abstract RegularFilePropertygetOptionalOutputFile()final FilegetOutputFile()abstract Property<File>getOutputFileProperty()ConfigurableFileCollectiongetPluginClasspath()List<String>getSerializedCompilerArguments()List<String>getSerializedCompilerArgumentsIgnoreClasspathIssues()final ListProperty<String>getSourceFilesExtensions()final ArrayList<String>getStartParameters()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(K2JSCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)final UnitcallCompilerAsync$kotlin_gradle_plugin(K2JSCompilerArguments args, SourceRoots sourceRoots, InputChanges inputChanges, TaskOutputsBackup taskOutputsBackup)final BooleanisIncrementalCompilationEnabled$kotlin_gradle_plugin()-
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.KspTaskJS
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.Kotlin2JsCompile
execute -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile
getClasspath, getSource -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompileTool
getDestinationDir, getDestinationDirectory, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibility -
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile
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()
-
getCompilerExecutionStrategy
abstract Property<KotlinCompilerExecutionStrategy> getCompilerExecutionStrategy()
-
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
KotlinJsOptions getKotlinOptions()
-
getLocalStateDirectories
abstract ConfigurableFileCollection getLocalStateDirectories()
-
getMetrics
Property<BuildMetricsReporter> getMetrics()
-
getNormalizedKotlinDaemonJvmArguments
Provider<List<String>> getNormalizedKotlinDaemonJvmArguments()
-
getOptionalOutputFile
abstract RegularFileProperty getOptionalOutputFile()
-
getOutputFile
final File getOutputFile()
-
getOutputFileProperty
abstract Property<File> getOutputFileProperty()
-
getPluginClasspath
ConfigurableFileCollection getPluginClasspath()
-
getSerializedCompilerArguments
List<String> getSerializedCompilerArguments()
-
getSerializedCompilerArgumentsIgnoreClasspathIssues
List<String> getSerializedCompilerArgumentsIgnoreClasspathIssues()
-
getSourceFilesExtensions
final ListProperty<String> getSourceFilesExtensions()
-
getStartParameters
final ArrayList<String> getStartParameters()
-
getOptions
@Internal() abstract ListProperty<SubpluginOption> getOptions()
-
getDestination
@OutputDirectory() abstract File getDestination()
-
setDestination
abstract Unit setDestination(File destination)
-
getOverridePluginClasspath
@Optional()@Classpath() abstract Property<FileCollection> getOverridePluginClasspath()
-
getBlockOtherCompilerPlugins
@Input() abstract Boolean getBlockOtherCompilerPlugins()
-
setBlockOtherCompilerPlugins
abstract Unit setBlockOtherCompilerPlugins(Boolean blockOtherCompilerPlugins)
-
getApOptions
@Input() abstract MapProperty<String, String> getApOptions()
-
getProcessorClasspath
@Classpath() 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(K2JSCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)
-
callCompilerAsync$kotlin_gradle_plugin
final Unit callCompilerAsync$kotlin_gradle_plugin(K2JSCompilerArguments args, SourceRoots sourceRoots, InputChanges inputChanges, TaskOutputsBackup taskOutputsBackup)
-
isIncrementalCompilationEnabled$kotlin_gradle_plugin
final Boolean isIncrementalCompilationEnabled$kotlin_gradle_plugin()
-
-
-
-