-
- 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
@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 StringapiVersionprivate final StringbaseNameprivate final ConfigurableFileCollectioncommonSourcesprivate final KotlinNativeCompilationData<?>compilationprivate final List<String>compilerPluginCommandLineprivate final CompilerPluginOptionscompilerPluginOptionsprivate final Booleandebuggableprivate final List<String>defaultSerializedCompilerArgumentsprivate final BooleanenableEndorsedLibsprivate final Set<String>enabledLanguageFeaturesprivate final Set<String>experimentalAnnotationsInUseprivate final StringkotlinNativeVersionprivate final KotlinCommonOptionskotlinOptionsprivate Provider<KotlinCompilerPluginData>kotlinPluginDataprivate final LanguageSettingslanguageSettingsprivate final StringlanguageVersionprivate final FileCollectionlibrariesprivate final StringmoduleNameprivate final Set<String>optInAnnotationsInUseprivate final Booleanoptimizedprivate final Provider<File>outputFileprivate final CompilerOutputKindoutputKindprivate final BooleanprogressiveModeprivate final List<String>serializedCompilerArgumentsprivate final StringshortModuleNameprivate final Stringtargetprivate 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 KspTaskNative(KotlinNativeCompilationData<?> injected)
-
Method Summary
Modifier and Type Method Description Provider<Collection<String>>getAdditionalCompilerOptions()FileCollectiongetCompilerPluginClasspath()UnitsetCompilerPluginClasspath(FileCollection compilerPluginClasspath)final StringgetApiVersion()StringgetBaseName()final ConfigurableFileCollectiongetCommonSources()final KotlinNativeCompilationData<?>getCompilation()final List<String>getCompilerPluginCommandLine()final CompilerPluginOptionsgetCompilerPluginOptions()BooleangetDebuggable()final List<String>getDefaultSerializedCompilerArguments()final BooleangetEnableEndorsedLibs()final Set<String>getEnabledLanguageFeatures()final Set<String>getExperimentalAnnotationsInUse()final StringgetKotlinNativeVersion()KotlinCommonOptionsgetKotlinOptions()final Provider<KotlinCompilerPluginData>getKotlinPluginData()final UnitsetKotlinPluginData(Provider<KotlinCompilerPluginData> kotlinPluginData)final LanguageSettingsgetLanguageSettings()final StringgetLanguageVersion()final FileCollectiongetLibraries()final StringgetModuleName()final Set<String>getOptInAnnotationsInUse()BooleangetOptimized()Provider<File>getOutputFile()CompilerOutputKindgetOutputKind()final BooleangetProgressiveMode()final List<String>getSerializedCompilerArguments()final StringgetShortModuleName()final StringgetTarget()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)-
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 com.google.devtools.ksp.gradle.KspTaskNative
compile, kotlinOptions, kotlinOptions -
Methods inherited from class org.gradle.api.tasks.SourceTask
conventionMapping, conventionMapping, getConventionMapping -
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.KotlinNativeCompile
getClasspath, getSource, kotlinOptions, setClasspath -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinNativeCompile
getDestinationDir, getDestinationDirectory, getSourceCompatibility, getTargetCompatibility, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibility -
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)
-
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
final List<String> getDefaultSerializedCompilerArguments()
-
getEnableEndorsedLibs
final Boolean getEnableEndorsedLibs()
-
getEnabledLanguageFeatures
final Set<String> getEnabledLanguageFeatures()
-
getExperimentalAnnotationsInUse
final Set<String> getExperimentalAnnotationsInUse()
-
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
final FileCollection getLibraries()
-
getModuleName
final String getModuleName()
-
getOptInAnnotationsInUse
final Set<String> getOptInAnnotationsInUse()
-
getOptimized
Boolean getOptimized()
-
getOutputFile
Provider<File> getOutputFile()
-
getOutputKind
CompilerOutputKind getOutputKind()
-
getProgressiveMode
final Boolean getProgressiveMode()
-
getSerializedCompilerArguments
final List<String> getSerializedCompilerArguments()
-
getShortModuleName
final String getShortModuleName()
-
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)
-
-
-
-