api / org.gradle.kotlin.dsl / org.gradle.api.artifacts.dsl.DependencyHandler / kotlin

kotlin

fun DependencyHandler.kotlin(module: String, version: String? = null): Any

Builds the dependency notation for the named Kotlin module at the given version.

Parameters

module - simple name of the Kotlin module, for example "reflect".

version - optional desired version, unspecified if null.