-
- 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.KotlinJsDce,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAware,org.jetbrains.kotlin.gradle.internal.CompilerArgumentAwareWithInput,org.jetbrains.kotlin.gradle.internal.tasks.TaskWithLocalState,org.jetbrains.kotlin.gradle.tasks.KotlinCompileTool
@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 FileCollectionsourcesprivate final ConfigurableFileCollectionlibrariesprivate final Property<BuildMetricsReporter>metricsprivate final DirectoryPropertydestinationDirectoryprivate 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(ObjectFactory objectFactory)
-
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)FileCollectiongetSources()abstract ConfigurableFileCollectiongetLibraries()Property<BuildMetricsReporter>getMetrics()abstract DirectoryPropertygetDestinationDirectory()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)final UnitperformDce(InputChanges inputChanges)-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.KotlinJsDce
dceOptions, dceOptions, 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 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)
-
getSources
@Incremental()@InputFiles()@IgnoreEmptyDirectories()@PathSensitive(value = PathSensitivity.RELATIVE) FileCollection getSources()
-
getLibraries
@Incremental()@InputFiles() abstract ConfigurableFileCollection getLibraries()
-
getMetrics
@Internal() Property<BuildMetricsReporter> getMetrics()
-
getDestinationDirectory
abstract DirectoryProperty getDestinationDirectory()
-
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)
-
performDce
final Unit performDce(InputChanges inputChanges)
-
-
-
-