-
- 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.KotlinJsDce,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAware,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAwareWithInput,org.jetbrains.kotlin.gradle.internal.tasks.TaskWithLocalState
@CacheableTask() public abstract class KotlinJsDce extends AbstractKotlinCompileTool<K2JSDceArguments> implements KotlinJsDce
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classKotlinJsDce.Companion
-
Field Summary
Fields Modifier and Type Field Description private BooleankotlinFilesOnlyprivate final KotlinJsDceOptionsdceOptionsprivate final List<String>keepprivate List<String>jvmArgsprivate final Property<BuildMetricsReporter>metricsprivate final List<String>serializedCompilerArgumentsprivate final List<String>defaultSerializedCompilerArgumentsprivate final List<String>serializedCompilerArgumentsIgnoreClasspathIssuesprivate final Map<String, String>filteredArgumentsMapprivate final ConfigurableFileCollectionlocalStateDirectories
-
Constructor Summary
Constructors Constructor Description KotlinJsDce()
-
Method Summary
Modifier and Type Method Description final BooleangetKotlinFilesOnly()final UnitsetKotlinFilesOnly(@Internal() Boolean kotlinFilesOnly)KotlinJsDceOptionsgetDceOptions()List<String>getKeep()final List<String>getJvmArgs()final UnitsetJvmArgs(@Input() List<String> jvmArgs)Property<BuildMetricsReporter>getMetrics()List<String>getSerializedCompilerArguments()List<String>getDefaultSerializedCompilerArguments()List<String>getSerializedCompilerArgumentsIgnoreClasspathIssues()Map<String, String>getFilteredArgumentsMap()abstract ConfigurableFileCollectiongetLocalStateDirectories()K2JSDceArgumentscreateCompilerArgs()UnitsetupCompilerArgs(K2JSDceArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)Unitkeep(String fqn)FileCollectiongetClasspath()final UnitperformDce(InputChanges inputChanges)-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinJsDce
dceOptions, dceOptions, 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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getKotlinFilesOnly
final Boolean getKotlinFilesOnly()
-
setKotlinFilesOnly
final Unit setKotlinFilesOnly(@Internal() Boolean kotlinFilesOnly)
-
getDceOptions
@Internal() KotlinJsDceOptions getDceOptions()
-
getJvmArgs
final List<String> getJvmArgs()
-
setJvmArgs
final Unit setJvmArgs(@Input() List<String> jvmArgs)
-
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()
-
createCompilerArgs
K2JSDceArguments createCompilerArgs()
-
setupCompilerArgs
Unit setupCompilerArgs(K2JSDceArguments args, Boolean defaultsOnly, Boolean ignoreClasspathResolutionErrors)
-
getClasspath
@Incremental() FileCollection getClasspath()
-
performDce
final Unit performDce(InputChanges inputChanges)
-
-
-
-