-
- 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.dsl.KotlinCompile
,org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile
,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAware
,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.KotlinCompilationTask
,org.jetbrains.kotlin.gradle.tasks.KotlinCompileTool
@CacheableTask() public abstract class KotlinJsIrLink extends Kotlin2JsCompile
-
-
Field Summary
Fields Modifier and Type Field Description private final FileCollection
sources
private final KotlinJsIrOutputGranularity
outputGranularity
private KotlinJsBinaryMode
mode
private final DirectoryProperty
normalizedDestinationDirectory
private final File
rootCacheDirectory
private final KotlinJsOptions
kotlinOptions
private final Property<File>
outputFileProperty
private final File
outputFile
private final RegularFileProperty
optionalOutputFile
private final KotlinJsCompilerOptions
compilerOptions
private Boolean
incremental
private final Property<String>
ownModuleName
private final GradleBuildStartParameters
startParameters
private final Provider<RegularFile>
abiSnapshotFile
private final Property<String>
abiSnapshotRelativePath
private final Property<BuildMetricsReporter>
metrics
private Boolean
enabled
private final Property<Duration>
timeout
private final TaskStateInternal
state
private Boolean
impliesSubProjects
private final Boolean
hasCustomActions
private final Set<Provider<out BuildService<?>>>
requiredServices
private final DirectoryProperty
destinationDirectory
private final ConfigurableFileCollection
libraries
private final List<String>
serializedCompilerArguments
private final List<String>
serializedCompilerArgumentsIgnoreClasspathIssues
private final List<String>
defaultSerializedCompilerArguments
private final ConfigurableFileCollection
localStateDirectories
private final Provider<List<String>>
normalizedKotlinDaemonJvmArguments
private final Property<KotlinCompilerExecutionStrategy>
compilerExecutionStrategy
private final ListProperty<String>
kotlinDaemonJvmArguments
private final Property<Boolean>
useDaemonFallbackStrategy
private final ConfigurableFileCollection
friendPaths
private final Property<String>
moduleName
private final Property<Boolean>
multiPlatformEnabled
private final ConfigurableFileCollection
pluginClasspath
private final ListProperty<CompilerPluginConfig>
pluginOptions
private final Property<String>
sourceSetName
private final Property<Boolean>
useModuleDetection
-
Constructor Summary
Constructors Constructor Description KotlinJsIrLink(ObjectFactory objectFactory, WorkerExecutor workerExecutor)
-
Method Summary
Modifier and Type Method Description FileCollection
getSources()
final KotlinJsIrOutputGranularity
getOutputGranularity()
final KotlinJsBinaryMode
getMode()
final Unit
setMode(KotlinJsBinaryMode mode)
final DirectoryProperty
getNormalizedDestinationDirectory()
final File
getRootCacheDirectory()
Unit
processArgs(K2JSCompilerArguments args)
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
createCompilerArgs, getCompilerOptions, getKotlinOptions, getOptionalOutputFile, getOutputFile, getOutputFileProperty, setupCompilerArgs
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile
execute, getAbiSnapshotFile, getAbiSnapshotRelativePath, getIncremental, getOwnModuleName, getStartParameters, setIncremental
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompileTool
disallowSourceChanges, exclude, exclude, exclude, exclude, getExcludes, getIncludes, getMetrics, include, include, include, include, setExcludes, setIncludes, setSource, source
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects
-
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, 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.jetbrains.kotlin.gradle.tasks.KotlinCompileTool
getDestinationDirectory, getLibraries
-
Methods inherited from class org.jetbrains.kotlin.gradle.internal.CompilerArgumentAware
getDefaultSerializedCompilerArguments, getSerializedCompilerArguments, getSerializedCompilerArgumentsIgnoreClasspathIssues
-
Methods inherited from class org.jetbrains.kotlin.gradle.internal.tasks.TaskWithLocalState
getLocalStateDirectories
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemonWithNormalization
getNormalizedKotlinDaemonJvmArguments
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.CompileUsingKotlinDaemon
getCompilerExecutionStrategy, getKotlinDaemonJvmArguments, getUseDaemonFallbackStrategy
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.BaseKotlinCompile
getFriendPaths, getModuleName, getMultiPlatformEnabled, getPluginClasspath, getPluginOptions, getSourceSetName, getUseModuleDetection
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
compilerOptions, compilerOptions
-
Methods inherited from class org.jetbrains.kotlin.gradle.dsl.KotlinCompile
kotlinOptions, kotlinOptions, kotlinOptions
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSources
@Internal() FileCollection getSources()
-
getOutputGranularity
@Input() final KotlinJsIrOutputGranularity getOutputGranularity()
-
getMode
@Internal()@Deprecated(message = "Please use modeProperty instead.") final KotlinJsBinaryMode getMode()
-
setMode
final Unit setMode(KotlinJsBinaryMode mode)
-
getNormalizedDestinationDirectory
@Internal() final DirectoryProperty getNormalizedDestinationDirectory()
-
getRootCacheDirectory
@Internal() final File getRootCacheDirectory()
-
processArgs
Unit processArgs(K2JSCompilerArguments args)
-
-
-
-