-
- All Implemented Interfaces:
-
com.google.devtools.ksp.gradle.KspTask,kotlin.Comparable,org.gradle.api.Task,org.gradle.api.internal.DynamicObjectAware,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.internal.CompilerArgumentAware,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAwareWithInput,org.jetbrains.kotlin.gradle.internal.tasks.TaskWithLocalState,org.jetbrains.kotlin.gradle.tasks.KotlinCompileTool
@CacheableTask() public abstract class KspTaskNative extends KotlinNativeCompile implements KspTask
-
-
Field Summary
Fields Modifier and Type Field Description private final Provider<Collection<String>>additionalCompilerOptionsprivate FileCollectioncompilerPluginClasspathprivate final FileCollectionsourcesprivate final StringapiVersionprivate final StringbaseNameprivate final ConfigurableFileCollectioncommonSourcesprivate final KotlinNativeCompilationData<?>compilationprivate final List<String>compilerPluginCommandLineprivate final CompilerPluginOptionscompilerPluginOptionsprivate final Booleandebuggableprivate final List<String>defaultSerializedCompilerArgumentsprivate final DirectoryPropertydestinationDirectoryprivate final BooleanenableEndorsedLibsprivate final Set<String>enabledLanguageFeaturesprivate final Map<String, String>filteredArgumentsMapprivate final StringkotlinNativeVersionprivate final KotlinCommonOptionskotlinOptionsprivate Provider<KotlinCompilerPluginData>kotlinPluginDataprivate final LanguageSettingslanguageSettingsprivate final StringlanguageVersionprivate final ConfigurableFileCollectionlibrariesprivate final ConfigurableFileCollectionlocalStateDirectoriesprivate final Property<BuildMetricsReporter>metricsprivate final StringmoduleNameprivate final Set<String>optInAnnotationsInUseprivate final Booleanoptimizedprivate final Provider<File>outputFileprivate final CompilerOutputKindoutputKindprivate final BooleanprogressiveModeprivate final List<String>serializedCompilerArgumentsprivate final List<String>serializedCompilerArgumentsIgnoreClasspathIssuesprivate final StringshortModuleNameprivate final Stringtargetprivate final ListProperty<SubpluginOption>optionsprivate final ListProperty<CommandLineArgumentProvider>commandLineArgumentProvidersprivate Filedestinationprivate final ConfigurableFileCollectionoverridePluginClasspathprivate BooleanblockOtherCompilerPluginsprivate final MapProperty<String, String>apOptionsprivate final ConfigurableFileCollectionprocessorClasspathprivate final DirectoryPropertykspCacheDirprivate BooleanisKspIncremental
-
Constructor Summary
Constructors Constructor Description KspTaskNative(KotlinNativeCompilationData<?> compilation, ObjectFactory objectFactory)
-
Method Summary
Modifier and Type Method Description Provider<Collection<String>>getAdditionalCompilerOptions()FileCollectiongetCompilerPluginClasspath()UnitsetCompilerPluginClasspath(FileCollection compilerPluginClasspath)FileCollectiongetSources()final StringgetApiVersion()StringgetBaseName()final ConfigurableFileCollectiongetCommonSources()final KotlinNativeCompilationData<?>getCompilation()final List<String>getCompilerPluginCommandLine()final CompilerPluginOptionsgetCompilerPluginOptions()BooleangetDebuggable()List<String>getDefaultSerializedCompilerArguments()abstract DirectoryPropertygetDestinationDirectory()final BooleangetEnableEndorsedLibs()final Set<String>getEnabledLanguageFeatures()Map<String, String>getFilteredArgumentsMap()final StringgetKotlinNativeVersion()KotlinCommonOptionsgetKotlinOptions()final Provider<KotlinCompilerPluginData>getKotlinPluginData()final UnitsetKotlinPluginData(Provider<KotlinCompilerPluginData> kotlinPluginData)final LanguageSettingsgetLanguageSettings()final StringgetLanguageVersion()ConfigurableFileCollectiongetLibraries()abstract ConfigurableFileCollectiongetLocalStateDirectories()Property<BuildMetricsReporter>getMetrics()final StringgetModuleName()final Set<String>getOptInAnnotationsInUse()BooleangetOptimized()Provider<File>getOutputFile()CompilerOutputKindgetOutputKind()final BooleangetProgressiveMode()List<String>getSerializedCompilerArguments()List<String>getSerializedCompilerArgumentsIgnoreClasspathIssues()final StringgetShortModuleName()final StringgetTarget()abstract ListProperty<SubpluginOption>getOptions()abstract ListProperty<CommandLineArgumentProvider>getCommandLineArgumentProviders()abstract FilegetDestination()abstract UnitsetDestination(File destination)abstract ConfigurableFileCollectiongetOverridePluginClasspath()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)final Unit_0()-
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.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompileTool
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 com.google.devtools.ksp.gradle.KspTaskNative
compile, createCompilerArgs, kotlinOptions, kotlinOptions, setupCompilerArgs -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinNativeCompile
disallowSourceChanges, exclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludes, setSource, source -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile
kotlinOptions -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getAdditionalCompilerOptions
Provider<Collection<String>> getAdditionalCompilerOptions()
-
getCompilerPluginClasspath
FileCollection getCompilerPluginClasspath()
-
setCompilerPluginClasspath
Unit setCompilerPluginClasspath(FileCollection compilerPluginClasspath)
-
getSources
@InputFiles()@SkipWhenEmpty()@IgnoreEmptyDirectories()@PathSensitive(value = PathSensitivity.RELATIVE) FileCollection getSources()
-
getApiVersion
final String getApiVersion()
-
getBaseName
String getBaseName()
-
getCommonSources
final ConfigurableFileCollection getCommonSources()
-
getCompilation
final KotlinNativeCompilationData<?> getCompilation()
-
getCompilerPluginCommandLine
final List<String> getCompilerPluginCommandLine()
-
getCompilerPluginOptions
final CompilerPluginOptions getCompilerPluginOptions()
-
getDebuggable
Boolean getDebuggable()
-
getDefaultSerializedCompilerArguments
List<String> getDefaultSerializedCompilerArguments()
-
getDestinationDirectory
abstract DirectoryProperty getDestinationDirectory()
-
getEnableEndorsedLibs
final Boolean getEnableEndorsedLibs()
-
getEnabledLanguageFeatures
final Set<String> getEnabledLanguageFeatures()
-
getFilteredArgumentsMap
Map<String, String> getFilteredArgumentsMap()
-
getKotlinNativeVersion
final String getKotlinNativeVersion()
-
getKotlinOptions
KotlinCommonOptions getKotlinOptions()
-
getKotlinPluginData
final Provider<KotlinCompilerPluginData> getKotlinPluginData()
-
setKotlinPluginData
final Unit setKotlinPluginData(Provider<KotlinCompilerPluginData> kotlinPluginData)
-
getLanguageSettings
final LanguageSettings getLanguageSettings()
-
getLanguageVersion
final String getLanguageVersion()
-
getLibraries
ConfigurableFileCollection getLibraries()
-
getLocalStateDirectories
abstract ConfigurableFileCollection getLocalStateDirectories()
-
getMetrics
Property<BuildMetricsReporter> getMetrics()
-
getModuleName
final String getModuleName()
-
getOptInAnnotationsInUse
final Set<String> getOptInAnnotationsInUse()
-
getOptimized
Boolean getOptimized()
-
getOutputFile
Provider<File> getOutputFile()
-
getOutputKind
CompilerOutputKind getOutputKind()
-
getProgressiveMode
final Boolean getProgressiveMode()
-
getSerializedCompilerArguments
List<String> getSerializedCompilerArguments()
-
getSerializedCompilerArgumentsIgnoreClasspathIssues
List<String> getSerializedCompilerArgumentsIgnoreClasspathIssues()
-
getShortModuleName
final String getShortModuleName()
-
getOptions
@Internal() abstract ListProperty<SubpluginOption> getOptions()
-
getCommandLineArgumentProviders
abstract ListProperty<CommandLineArgumentProvider> getCommandLineArgumentProviders()
-
getDestination
@OutputDirectory() abstract File getDestination()
-
setDestination
abstract Unit setDestination(File destination)
-
getOverridePluginClasspath
@Optional()@Classpath() abstract ConfigurableFileCollection 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)
-
-
-
-