plugin adds task to Gradle.
A gradle distribution comes out of the box with:
https://plugins.gradle.org/
Gradle - Kotlin DSL (Ref)
configure<PluginClass> { message.set("Hi") greeter.set("Gradle") }
Example: ShadowJar
configure<ShadowJar> { archiveBaseName.set("myBaseName") }