-
- 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.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
@CacheableTask() public abstract class KotlinJsIrLink extends Kotlin2JsCompile
-
-
Field Summary
Fields Modifier and Type Field Description private final FileCollectionsourcesprivate final KotlinJsIrOutputGranularityoutputGranularityprivate KotlinJsBinaryModemodeprivate final DirectoryPropertydestinationDirectoryprivate final DirectoryPropertynormalizedDestinationDirectoryprivate final FilerootCacheDirectoryprivate final Property<File>outputFilePropertyprivate final FileoutputFileprivate final RegularFilePropertyoptionalOutputFileprivate final KotlinJsOptionskotlinOptionsprivate Booleanincrementalprivate final GradleBuildStartParametersstartParametersprivate final Property<String>ownModuleNameprivate final Provider<RegularFile>abiSnapshotFileprivate final Property<String>abiSnapshotRelativePathprivate final Property<BuildMetricsReporter>metricsprivate Booleanenabledprivate final Property<Duration>timeoutprivate final TaskStateInternalstateprivate BooleanimpliesSubProjectsprivate final BooleanhasCustomActionsprivate final Set<Provider<out BuildService<?>>>requiredServicesprivate 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 Property<Boolean>useDaemonFallbackStrategyprivate 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 KotlinJsIrLink(ObjectFactory objectFactory, WorkerExecutor workerExecutor, ProjectLayout projectLayout)
-
Method Summary
Modifier and Type Method Description FileCollectiongetSources()final KotlinJsIrOutputGranularitygetOutputGranularity()final KotlinJsBinaryModegetMode()final UnitsetMode(KotlinJsBinaryMode mode)DirectoryPropertygetDestinationDirectory()final DirectoryPropertygetNormalizedDestinationDirectory()final FilegetRootCacheDirectory()UnitprocessArgs(K2JSCompilerArguments args)UnitsetupCompilerArgs(K2JSCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.Kotlin2JsCompile
createCompilerArgs, getKotlinOptions, getOptionalOutputFile, getOutputFile, getOutputFileProperty -
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, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, 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
getLibraries -
Methods inherited from class org.jetbrains.kotlin.gradle.internal.CompilerArgumentAwareWithInput
getDefaultSerializedCompilerArguments, getFilteredArgumentsMap, 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.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)
-
getDestinationDirectory
@Internal() DirectoryProperty getDestinationDirectory()
-
getNormalizedDestinationDirectory
@OutputDirectory() final DirectoryProperty getNormalizedDestinationDirectory()
-
getRootCacheDirectory
@Internal() final File getRootCacheDirectory()
-
processArgs
Unit processArgs(K2JSCompilerArguments args)
-
setupCompilerArgs
Unit setupCompilerArgs(K2JSCompilerArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)
-
-
-
-