NpmPublishTask
Summary
A task to publish a given NpmPackage to a
given NpmRegistry.
The task can be created and configured in a build.gradle.kts
file by registering it with correct type.
build.gradle.kts | |
---|---|
Properties
Property | Type | Default | When Kotlin plugin is present |
---|---|---|---|
registry |
NpmRegistry | ||
packageDir |
Directory | ||
dry |
Boolean | false | |
tag |
String |
Property | CLI | System/Gradle | Environment |
---|---|---|---|
registry |
|||
packageDir |
|||
dry |
--dry |
||
tag |
--tag |
registry
A registry to publish to
packageDir
The directory where the assembled and ready-to-publish package is
dry
Controls dry-tun mode for the execution.
tag
Sets a tag to label published package version More info