kotlin

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

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.


Applies the given Kotlin plugin module.

For example: plugins { kotlin("jvm") version "1.9.20" }

Visit the plugin portal to see the list of available plugins.

Parameters

module

simple name of the Kotlin Gradle plugin module, for example "jvm", "android", "kapt", "plugin.allopen" etc...