NpmDependency

interface NpmDependency : NamedInput

A simple representation of a npm dependency

Types

Link copied to clipboard
object Companion
Link copied to clipboard
enum Type : Enum<NpmDependency.Type>

Npm dependency type. More info

Functions

Link copied to clipboard
@Input
abstract override fun getName(): String

Properties

Link copied to clipboard
@get:Input
@get:Optional
abstract val type: Property<NpmDependency.Type>

Dependency type

Link copied to clipboard
@get:Input
abstract val version: Property<String>

Dependency version specification. More info