-
- 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
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.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpack
compareTo, configure, cssSupport, 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, rules, scssSupport, 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
-
KotlinWebpack
KotlinWebpack(KotlinJsCompilation compilation, ObjectFactory objects)
-
-
Method Detail
-
getFileResolver
@Inject() FileResolver getFileResolver()
-
getRules
KotlinWebpackRulesContainer getRules()
-
getExecHandleFactory
@Inject() ExecHandleFactory getExecHandleFactory()
-
getMetrics
@Internal() final Property<BuildMetricsReporter> getMetrics()
-
getCompilationId
@Input() final String getCompilationId()
-
getMode
final KotlinWebpackConfig.Mode getMode()
-
setMode
final Unit setMode(@Input() KotlinWebpackConfig.Mode mode)
-
getEntryProperty
@PathSensitive(value = PathSensitivity.ABSOLUTE)@InputFile() final RegularFileProperty getEntryProperty()
-
getRuntimeClasspath
@PathSensitive(value = PathSensitivity.ABSOLUTE)@IgnoreEmptyDirectories()@InputFiles() final FileCollection getRuntimeClasspath()
-
getConfigFile
@OutputFile() File getConfigFile()
-
getSaveEvaluatedConfigFile
final Boolean getSaveEvaluatedConfigFile()
-
setSaveEvaluatedConfigFile
final Unit setSaveEvaluatedConfigFile(@Input() Boolean saveEvaluatedConfigFile)
-
getOutput
final KotlinWebpackOutput getOutput()
-
getOutputPath
@Internal() final File getOutputPath()
-
getDestinationDirectory
@Internal() final File getDestinationDirectory()
-
setDestinationDirectory
final Unit setDestinationDirectory(File destinationDirectory)
-
getOutputFileName
@Internal() final String getOutputFileName()
-
setOutputFileName
final Unit setOutputFileName(String outputFileName)
-
getOutputFile
@OutputFile() File getOutputFile()
-
getConfigDirectory
@PathSensitive(value = PathSensitivity.ABSOLUTE)@Optional()@IgnoreEmptyDirectories()@InputDirectory() File getConfigDirectory()
-
getReportDir
@Internal() File getReportDir()
-
getReportDirProvider
@OutputDirectory() Provider<File> getReportDirProvider()
-
getEvaluatedConfigFile
@Internal() File getEvaluatedConfigFile()
-
getEvaluatedConfigFileProvider
@OutputFile() Provider<File> getEvaluatedConfigFileProvider()
-
getNodeArgs
final List<String> getNodeArgs()
-
setNodeArgs
final Unit setNodeArgs(@Input() List<String> nodeArgs)
-
getSourceMaps
final Boolean getSourceMaps()
-
setSourceMaps
final Unit setSourceMaps(@Input() Boolean sourceMaps)
-
getCssSupport
@Internal() final KotlinWebpackCssRule getCssSupport()
-
setCssSupport
final Unit setCssSupport(@Deprecated(message = "use cssSupport methods instead") KotlinWebpackCssRule cssSupport)
-
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)
-
getSynthConfig
final KotlinWebpackConfig getSynthConfig()
-
getWebpackMajorVersion
final WebpackMajorVersion getWebpackMajorVersion()
-
getNodeModulesRequired
@Internal() Boolean getNodeModulesRequired()
-
getRequiredNpmDependencies
@Internal() Set<RequiredKotlinJsDependency> getRequiredNpmDependencies()
-
getCompilation
KotlinJsCompilation getCompilation()
-
webpackConfigApplier
final Unit webpackConfigApplier(Function1<KotlinWebpackConfig, Unit> body)
-
-
-
-