-
- 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.dsl.WebpackRulesDsl,org.jetbrains.kotlin.gradle.targets.js.npm.RequiresNpmDependencies
@CacheableTask() public abstract class KotlinWebpack extends DefaultTask implements RequiresNpmDependencies, WebpackRulesDsl
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description KotlinWebpack(KotlinJsCompilation compilation, ObjectFactory objects)
-
Method Summary
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getLifecycleDependencies, getOnlyIf, getReasonNotToTrackState, getReasonTaskIsIncompatibleWithConfigurationCache, getRequiredServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isCompatibleWithConfigurationCache, isEnabled, isHasCustomActions, notCompatibleWithConfigurationCache, prependParallelSafeAction, setImpliesSubProjects -
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService -
Methods inherited from class org.jetbrains.kotlin.gradle.targets.js.dsl.WebpackRulesDsl
cssSupport, rules, scssSupport -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
KotlinWebpack
KotlinWebpack(KotlinJsCompilation compilation, ObjectFactory objects)
-
-
Method Detail
-
getRules
KotlinWebpackRulesContainer getRules()
-
getExecHandleFactory
@Inject() ExecHandleFactory getExecHandleFactory()
-
getCompilationId
@Input() final String getCompilationId()
-
getMode
final KotlinWebpackConfig.Mode getMode()
-
setMode
final Unit setMode(@Input() KotlinWebpackConfig.Mode mode)
-
getInputFilesDirectory
@Internal() abstract DirectoryProperty getInputFilesDirectory()
-
getEntryModuleName
@Input() abstract Property<String> getEntryModuleName()
-
getNpmProjectDir
@Internal() final Provider<File> getNpmProjectDir()
-
getInputFiles
@PathSensitive(value = PathSensitivity.RELATIVE)@InputFiles()@NormalizeLineEndings() final FileTree getInputFiles()
-
getEntry
@Internal() final Provider<RegularFile> getEntry()
-
getConfigFile
@OutputFile() Provider<File> getConfigFile()
-
getOutput
final KotlinWebpackOutput getOutput()
-
getOutputPath
@Internal() final File getOutputPath()
-
getDestinationDirectory
@OutputDirectory() final File getDestinationDirectory()
-
setDestinationDirectory
final Unit setDestinationDirectory(File destinationDirectory)
-
getOutputFileName
@Internal() final String getOutputFileName()
-
setOutputFileName
final Unit setOutputFileName(String outputFileName)
-
getOutputFile
@Internal() File getOutputFile()
-
getConfigDirectory
@PathSensitive(value = PathSensitivity.NAME_ONLY)@Optional()@IgnoreEmptyDirectories()@NormalizeLineEndings()@InputDirectory() File getConfigDirectory()
-
getNodeArgs
final List<String> getNodeArgs()
-
setNodeArgs
final Unit setNodeArgs(@Input() List<String> nodeArgs)
-
getSourceMaps
final Boolean getSourceMaps()
-
setSourceMaps
final Unit setSourceMaps(@Input() Boolean sourceMaps)
-
getDevServer
final KotlinWebpackConfig.DevServer getDevServer()
-
setDevServer
final Unit setDevServer(@Input() @Optional() KotlinWebpackConfig.DevServer devServer)
-
getDevtool
final String getDevtool()
-
setDevtool
final Unit setDevtool(@Input() String devtool)
-
getGenerateConfigOnly
final Boolean getGenerateConfigOnly()
-
setGenerateConfigOnly
final Unit setGenerateConfigOnly(@Incubating() @Internal() Boolean generateConfigOnly)
-
getWebpackMajorVersion
final WebpackMajorVersion getWebpackMajorVersion()
-
getNodeModulesRequired
@Internal() Boolean getNodeModulesRequired()
-
getRequiredNpmDependencies
@Internal() Set<RequiredKotlinJsDependency> getRequiredNpmDependencies()
-
getCompilation
KotlinJsCompilation getCompilation()
-
webpackConfigApplier
final Unit webpackConfigApplier(Action<KotlinWebpackConfig> body)
-
-
-
-