-
- All Implemented Interfaces:
-
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
@CacheableTask() public abstract class KotlinCompileCommon extends AbstractKotlinCompile<K2MetadataCompilerArguments> implements KotlinCommonCompile
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classKotlinCompileCommon.Configurator
-
Field Summary
Fields Modifier and Type Field Description private final KotlinMultiplatformCommonOptionskotlinOptionsprivate Booleanincrementalprivate final ArrayList<String>startParametersprivate final ConfigurableFileCollectionpluginClasspathprivate final ListProperty<String>sourceFilesExtensionsprivate final Provider<RegularFile>abiSnapshotFileprivate final Property<String>abiSnapshotRelativePathprivate final ConfigurableFileCollectionfriendPathsprivate final ListProperty<String>kotlinDaemonJvmArgumentsprivate final Property<BuildMetricsReporter>metricsprivate 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>compilerExecutionStrategy
-
Constructor Summary
Constructors Constructor Description KotlinCompileCommon(KotlinMultiplatformCommonOptions kotlinOptions, WorkerExecutor workerExecutor)
-
Method Summary
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinCompileCommon
execute -
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile
getClasspath, getSource -
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.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.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.AbstractKotlinCompileTool
getDestinationDir, getDestinationDirectory, getSourceCompatibility, getTargetCompatibility, setClasspath, setDestinationDir, setDestinationDir, setSourceCompatibility, setTargetCompatibility -
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
-
-
Constructor Detail
-
KotlinCompileCommon
KotlinCompileCommon(KotlinMultiplatformCommonOptions kotlinOptions, WorkerExecutor workerExecutor)
-
-
Method Detail
-
getKotlinOptions
KotlinMultiplatformCommonOptions getKotlinOptions()
-
getIncremental
@Internal() final Boolean getIncremental()
-
setIncremental
final Unit setIncremental(Boolean incremental)
-
getStartParameters
@Internal() final ArrayList<String> getStartParameters()
-
getPluginClasspath
@Classpath() ConfigurableFileCollection getPluginClasspath()
-
getSourceFilesExtensions
@Input() final ListProperty<String> getSourceFilesExtensions()
-
getAbiSnapshotFile
@Internal() final Provider<RegularFile> getAbiSnapshotFile()
-
getAbiSnapshotRelativePath
@Input() final Property<String> getAbiSnapshotRelativePath()
-
getFriendPaths
@Internal() final ConfigurableFileCollection getFriendPaths()
-
getKotlinDaemonJvmArguments
abstract ListProperty<String> getKotlinDaemonJvmArguments()
-
getMetrics
@Internal() Property<BuildMetricsReporter> getMetrics()
-
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()
-
createCompilerArgs
K2MetadataCompilerArguments createCompilerArgs()
-
setupCompilerArgs
Unit setupCompilerArgs(K2MetadataCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)
-
-
-
-