dev Npm
Deprecated
Deprecated in favor of npmDev
Replace with
npmDev(name, version) /* must not be passed to the implementation(...) or api(...) calls */Deprecated - wrapping npm dependencies in implementation(devNpm(...)) is deprecated. Declare them with npmDev instead, as a standalone statement:
kotlin.sourceSets["jsMain"].dependencies {
npmDev("is-odd-even", "^1.1.0")
}Scheduled for removal in Kotlin 2.7.
Parameters
The NPM dependency name
The NPM dependency version
Deprecated
Deprecated in favor of npmDev
Replace with
npmDev(name, directory) /* must not be passed to the implementation(...) or api(...) calls */Deprecated - wrapping npm dependencies in implementation(devNpm(...)) is deprecated. Declare them with npmDev instead, as a standalone statement:
kotlin.sourceSets["jsMain"].dependencies {
npmDev("is-odd-even", project.file("npm/is-odd-even"))
}Scheduled for removal in Kotlin 2.7.
Parameters
The NPM dependency name
The directory where dependency files are located (See NPM directory keyword)
Deprecated
Deprecated in favor of npmDev
Replace with
npmDev("dependency-name", directory) /* must not be passed to the implementation(...) or api(...) calls */Deprecated - wrapping npm dependencies in implementation(devNpm(...)) is deprecated. Declare them with npmDev instead, as a standalone statement with an explicit dependency name:
kotlin.sourceSets["jsMain"].dependencies {
npmDev("is-odd-even", project.file("npm/is-odd-even"))
}Scheduled for removal in Kotlin 2.7.
Parameters
The directory where dependency files are located (See NPM directory keyword)