-
- 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 IntegratedDukatTask extends DukatTask
-
-
Field Summary
Fields Modifier and Type Field Description private final FiledestinationDirprivate final <ERROR CLASS>compilationNameprivate final BooleannodeModulesRequiredprivate final Set<RequiredKotlinJsDependency>requiredNpmDependenciesprivate ExternalsOutputFormatexternalsOutputFormatprivate final List<DtsResolver.Dts>dtsprivate StringqualifiedPackageNameprivate final List<File>dTsFilesprivate final <ERROR CLASS>inputsprivate final Stringoperationprivate final transient KotlinJsCompilationcompilation
-
Constructor Summary
Constructors Constructor Description IntegratedDukatTask(KotlinJsCompilation compilation)
-
Method Summary
Modifier and Type Method Description FilegetDestinationDir()Destination directory for files with converted declarations final <ERROR CLASS>getCompilationName()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 <ERROR CLASS>getInputs()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
-
IntegratedDukatTask
IntegratedDukatTask(KotlinJsCompilation compilation)
-
-
Method Detail
-
getDestinationDir
@OutputDirectory() File getDestinationDir()
Destination directory for files with converted declarations
-
getCompilationName
@Internal() final <ERROR CLASS> 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()
-
getInputs
@Input() final <ERROR CLASS> getInputs()
-
getOperation
@Internal() final String getOperation()
-
getCompilation
KotlinJsCompilation getCompilation()
-
-
-
-