KotlinDependencyHandler
Represents a DSL for managing the dependencies of Kotlin entities that implement a HasKotlinDependencies interface.
Properties
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.
Creates a dependency to a NPM module that is added to devDependencies. The name of the dependency is derived either from the package.json
file located in the directory or the directory name itself.
Creates a dependency to a NPM module that is added to devDependencies.
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 <<<<<<< HEAD <<<<<<< HEAD in KotlinTopLevelExtensionConfig.coreLibrariesVersion. ||||||| parent of d8f8907bc52f (fixup! Gradle Add public KotlinBaseExtension interface) in KotlinTopLevelExtension.coreLibrariesVersion. ======= in KotlinBaseExtension.coreLibrariesVersion.
Creates a dependency to an official Kotlin library.
Creates a dependency to a NPM module that is added to optionalDependencies. The name of the dependency is derived either from the package.json
file located in the directory or the directory name itself.
Creates a dependency to a NPM module that is added to optionalDependencies.
Creates a dependency to a NPM module that is added to peerDependencies.
Creates a Gradle project dependency.
Adds a runtimeOnly
module dependency to this entity.
Adds a runtimeOnly
dependency to this entity.