-
- 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 abstract class DukatTask extends DefaultTask implements RequiresNpmDependencies
-
-
Field Summary
Fields Modifier and Type Field Description private final StringcompilationNameprivate final BooleannodeModulesRequiredprivate final Set<RequiredKotlinJsDependency>requiredNpmDependenciesprivate ExternalsOutputFormatexternalsOutputFormatprivate final List<DtsResolver.Dts>dtsprivate StringqualifiedPackageNameprivate final List<File>dTsFilesprivate final List<String>inputsprivate final FiledestinationDirprivate final Stringoperationprivate final transient KotlinJsCompilationcompilation
-
Constructor Summary
Constructors Constructor Description DukatTask(KotlinJsCompilation compilation)
-
Method Summary
Modifier and Type Method Description final StringgetCompilationName()BooleangetNodeModulesRequired()Set<RequiredKotlinJsDependency>getRequiredNpmDependencies()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()abstract FilegetDestinationDir()Destination directory for files with converted declarations final StringgetOperation()KotlinJsCompilationgetCompilation()Unitrun()-
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
-
DukatTask
DukatTask(KotlinJsCompilation compilation)
-
-
Method Detail
-
getCompilationName
@Internal() final String getCompilationName()
-
getNodeModulesRequired
@Internal() Boolean getNodeModulesRequired()
-
getRequiredNpmDependencies
@Internal() Set<RequiredKotlinJsDependency> getRequiredNpmDependencies()
-
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()
-
getDestinationDir
@OutputDirectory() abstract File getDestinationDir()
Destination directory for files with converted declarations
-
getOperation
@Internal() final String getOperation()
-
getCompilation
KotlinJsCompilation getCompilation()
-
-
-
-