api / org.gradle.kotlin.dsl / org.gradle.api.invocation.Gradle

Extensions for org.gradle.api.invocation.Gradle

apply

fun <T : Plugin<Gradle>> Gradle.apply(): Unit

Applies the plugin of the given type T. Does nothing if the plugin has already been applied.