-
- 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.util.Configurable,org.jetbrains.kotlin.gradle.targets.js.npm.RequiresNpmDependencies
public class SeparateDukatTask extends DukatTask
-
-
Field Summary
Fields Modifier and Type Field Description private final Set<RequiredKotlinJsDependency>requiredNpmDependenciesprivate FiledestinationDirprivate final StringcompilationNameprivate final BooleannodeModulesRequiredprivate ExternalsOutputFormatexternalsOutputFormatprivate final List<DtsResolver.Dts>dtsprivate StringqualifiedPackageNameprivate final List<File>dTsFilesprivate final List<String>inputsprivate final Stringoperationprivate final transient KotlinJsCompilationcompilation
-
Constructor Summary
Constructors Constructor Description SeparateDukatTask(KotlinJsCompilation compilation)
-
Method Summary
Modifier and Type Method Description Set<RequiredKotlinJsDependency>getRequiredNpmDependencies()FilegetDestinationDir()Destination directory for files with converted declarations UnitsetDestinationDir(File destinationDir)Destination directory for files with converted declarations final StringgetCompilationName()BooleangetNodeModulesRequired()final ExternalsOutputFormatgetExternalsOutputFormat()ExternalsOutputFormat what to generate, sources or binaries final UnitsetExternalsOutputFormat(@Input() ExternalsOutputFormat externalsOutputFormat)ExternalsOutputFormat what to generate, sources or binaries final List<DtsResolver.Dts>getDts()final StringgetQualifiedPackageName()Package name for the generated file (by default filename.d.ts renamed to filename.d. final UnitsetQualifiedPackageName(@Input() @Optional() String qualifiedPackageName)Package name for the generated file (by default filename.d.ts renamed to filename.d. final List<File>getDTsFiles()final List<String>getInputs()final StringgetOperation()KotlinJsCompilationgetCompilation()-
Methods inherited from class org.jetbrains.kotlin.gradle.targets.js.dukat.SeparateDukatTask
run -
Methods inherited from class org.jetbrains.kotlin.gradle.targets.js.dukat.DukatTask
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
-
-
Constructor Detail
-
SeparateDukatTask
SeparateDukatTask(KotlinJsCompilation compilation)
-
-
Method Detail
-
getRequiredNpmDependencies
Set<RequiredKotlinJsDependency> getRequiredNpmDependencies()
-
getDestinationDir
@OutputDirectory() File getDestinationDir()
Destination directory for files with converted declarations
-
setDestinationDir
Unit setDestinationDir(File destinationDir)
Destination directory for files with converted declarations
-
getCompilationName
@Internal() final String getCompilationName()
-
getNodeModulesRequired
@Internal() Boolean getNodeModulesRequired()
-
getExternalsOutputFormat
final ExternalsOutputFormat getExternalsOutputFormat()
ExternalsOutputFormat what to generate, sources or binaries
-
setExternalsOutputFormat
final Unit setExternalsOutputFormat(@Input() ExternalsOutputFormat externalsOutputFormat)
ExternalsOutputFormat what to generate, sources or binaries
-
getDts
@Internal() final List<DtsResolver.Dts> getDts()
-
getQualifiedPackageName
final String getQualifiedPackageName()
Package name for the generated file (by default filename.d.ts renamed to filename.d.kt)
-
setQualifiedPackageName
final Unit setQualifiedPackageName(@Input() @Optional() String qualifiedPackageName)
Package name for the generated file (by default filename.d.ts renamed to filename.d.kt)
-
getDTsFiles
@Internal() final List<File> getDTsFiles()
-
getOperation
@Internal() final String getOperation()
-
getCompilation
KotlinJsCompilation getCompilation()
-
-
-
-