-
- 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.api.tasks.util.PatternFilterable,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.BaseKotlinCompile,org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemon,org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemonWithNormalization,org.jetbrains.kotlin.gradle.tasks.KotlinCompileTool
public abstract class AbstractKotlinCompile<T extends CommonCompilerArguments> extends AbstractKotlinCompileTool<T> implements CompileUsingKotlinDaemonWithNormalization, BaseKotlinCompile
-
-
Field Summary
Fields Modifier and Type Field Description private Booleanincrementalprivate final ArrayList<String>startParametersprivate final Property<String>ownModuleNameprivate final Provider<RegularFile>abiSnapshotFileprivate final Property<String>abiSnapshotRelativePathprivate final FileCollectionsourcesprivate final Property<BuildMetricsReporter>metricsprivate final DirectoryPropertydestinationDirectoryprivate final ConfigurableFileCollectionlibrariesprivate final List<String>serializedCompilerArgumentsprivate final List<String>defaultSerializedCompilerArgumentsprivate final List<String>serializedCompilerArgumentsIgnoreClasspathIssuesprivate final Map<String, String>filteredArgumentsMapprivate final ConfigurableFileCollectionlocalStateDirectoriesprivate final Provider<List<String>>normalizedKotlinDaemonJvmArgumentsprivate final Property<KotlinCompilerExecutionStrategy>compilerExecutionStrategyprivate final ListProperty<String>kotlinDaemonJvmArgumentsprivate final ConfigurableFileCollectionfriendPathsprivate final Property<String>moduleNameprivate final Property<Boolean>multiPlatformEnabledprivate final ConfigurableFileCollectionpluginClasspathprivate final ListProperty<CompilerPluginConfig>pluginOptionsprivate final Property<String>sourceSetNameprivate final Property<Boolean>useModuleDetection
-
Constructor Summary
Constructors Constructor Description AbstractKotlinCompile(ObjectFactory objectFactory)
-
Method Summary
Modifier and Type Method Description final BooleangetIncremental()final UnitsetIncremental(Boolean incremental)final ArrayList<String>getStartParameters()abstract Property<String>getOwnModuleName()final Provider<RegularFile>getAbiSnapshotFile()final Property<String>getAbiSnapshotRelativePath()FileCollectiongetSources()Property<BuildMetricsReporter>getMetrics()abstract DirectoryPropertygetDestinationDirectory()abstract ConfigurableFileCollectiongetLibraries()List<String>getSerializedCompilerArguments()List<String>getDefaultSerializedCompilerArguments()List<String>getSerializedCompilerArgumentsIgnoreClasspathIssues()Map<String, String>getFilteredArgumentsMap()abstract ConfigurableFileCollectiongetLocalStateDirectories()Provider<List<String>>getNormalizedKotlinDaemonJvmArguments()abstract Property<KotlinCompilerExecutionStrategy>getCompilerExecutionStrategy()abstract ListProperty<String>getKotlinDaemonJvmArguments()abstract ConfigurableFileCollectiongetFriendPaths()abstract Property<String>getModuleName()abstract Property<Boolean>getMultiPlatformEnabled()abstract ConfigurableFileCollectiongetPluginClasspath()abstract ListProperty<CompilerPluginConfig>getPluginOptions()abstract Property<String>getSourceSetName()abstract Property<Boolean>getUseModuleDetection()final Unitexecute(InputChanges inputChanges)UnitsetupCompilerArgs(T args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile
disallowSourceChanges, exclude, exclude, exclude, exclude, getExcludes, getIncludes, include, include, include, include, setExcludes, setIncludes, setSource, source -
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 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.internal.CompilerArgumentAwareWithInput
createCompilerArgs -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getIncremental
@Internal() final Boolean getIncremental()
-
setIncremental
final Unit setIncremental(Boolean incremental)
-
getStartParameters
@Internal() final ArrayList<String> getStartParameters()
-
getOwnModuleName
@Input() abstract Property<String> getOwnModuleName()
-
getAbiSnapshotFile
@Internal() final Provider<RegularFile> getAbiSnapshotFile()
-
getAbiSnapshotRelativePath
@Input() final Property<String> getAbiSnapshotRelativePath()
-
getSources
FileCollection getSources()
-
getMetrics
@Internal() Property<BuildMetricsReporter> getMetrics()
-
getDestinationDirectory
abstract DirectoryProperty getDestinationDirectory()
-
getLibraries
abstract ConfigurableFileCollection getLibraries()
-
getSerializedCompilerArguments
@Internal() List<String> getSerializedCompilerArguments()
-
getDefaultSerializedCompilerArguments
@Internal() List<String> getDefaultSerializedCompilerArguments()
-
getSerializedCompilerArgumentsIgnoreClasspathIssues
@Internal() List<String> getSerializedCompilerArgumentsIgnoreClasspathIssues()
-
getFilteredArgumentsMap
@Input() Map<String, String> getFilteredArgumentsMap()
-
getLocalStateDirectories
@Internal() abstract ConfigurableFileCollection getLocalStateDirectories()
-
getNormalizedKotlinDaemonJvmArguments
@Internal() Provider<List<String>> getNormalizedKotlinDaemonJvmArguments()
-
getCompilerExecutionStrategy
abstract Property<KotlinCompilerExecutionStrategy> getCompilerExecutionStrategy()
-
getKotlinDaemonJvmArguments
abstract ListProperty<String> getKotlinDaemonJvmArguments()
-
getFriendPaths
abstract ConfigurableFileCollection getFriendPaths()
-
getModuleName
abstract Property<String> getModuleName()
-
getMultiPlatformEnabled
abstract Property<Boolean> getMultiPlatformEnabled()
-
getPluginClasspath
abstract ConfigurableFileCollection getPluginClasspath()
-
getPluginOptions
abstract ListProperty<CompilerPluginConfig> getPluginOptions()
-
getSourceSetName
abstract Property<String> getSourceSetName()
-
getUseModuleDetection
abstract Property<Boolean> getUseModuleDetection()
-
setupCompilerArgs
Unit setupCompilerArgs(T args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)
-
-
-
-