Kotlin Dependency Handler
Represents a DSL for managing the dependencies of Kotlin entities that implement a HasKotlinDependencies interface.
Functions
Adds an api module dependency to this entity.
Adds an api dependency to this entity.
Adds a compileOnly module dependency to this entity.
Adds a compileOnly dependency to this entity.
Deprecated - wrapping npm dependencies in implementation(devNpm(...)) is deprecated. Declare them with npmDev instead, as a standalone statement with an explicit dependency name:
Deprecated - wrapping npm dependencies in implementation(devNpm(...)) is deprecated. Declare them with npmDev instead, as a standalone statement:
Adds an implementation module dependency to this entity.
Adds an implementation dependency to this entity.
Creates a dependency to an official Kotlin library with the same version that is configured in org.jetbrains.kotlin.gradle.dsl.KotlinBaseExtension.coreLibrariesVersion.
Creates a dependency to an official Kotlin library.
Declares a dependency on a NPM module located in a local directory that is added to devDependencies.
Declares a dependency on a NPM module that is added to devDependencies.
Declares a dependency on a NPM module located in a local directory that is added to devDependencies.
Declares a dependency on a NPM module located in a local directory that is added to optionalDependencies.
Declares a dependency on a NPM module that is added to optionalDependencies.
Declares a dependency on a NPM module located in a local directory that is added to optionalDependencies.
Deprecated - wrapping npm dependencies in implementation(optionalNpm(...)) is deprecated. Declare them with npmOptional instead, as a standalone statement with an explicit dependency name:
Deprecated - wrapping npm dependencies in implementation(optionalNpm(...)) is deprecated. Declare them with npmOptional instead, as a standalone statement:
Adds a runtimeOnly module dependency to this entity.
Adds a runtimeOnly dependency to this entity.