Gradle’s Kotlin DSL provides an enhanced editing experience in supported IDEs, with superior content assist, refactoring, documentation, and more. For an introduction see theKotlin DSL Primer.
The Kotlin DSL is implemented on top of Gradle’s Java API. Many of the objects, functions and properties you use in your build scripts come from the Gradle API and the APIs of the applied plugins. This reference covers both the Kotlin DSL and the Java API, but it doesn't include functionality provided by external plugins.
The main package of the Kotlin DSL isorg.gradle.kotlin.dsl. All members of this package are implicitly imported and readily available in.gradle.kts
scripts in addition to the Java APIdefault imports.
Gradle’s Kotlin DSL provides an enhanced editing experience in supported IDEs, with superior content assist, refactoring, documentation, and more. For an introduction see theKotlin DSL Primer.
The Kotlin DSL is implemented on top of Gradle’s Java API. Many of the objects, functions and properties you use in your build scripts come from the Gradle API and the APIs of the applied plugins. This reference covers both the Kotlin DSL and the Java API, but it doesn't include functionality provided by external plugins.
The main package of the Kotlin DSL isorg.gradle.kotlin.dsl. All members of this package are implicitly imported and readily available in.gradle.kts
scripts in addition to the Java APIdefault imports.
The standardorg.gradle.api.Plugin implementations.
Aorg.gradle.api.Plugin for generating parsers from Antlr grammars.
Aorg.gradle.api.Plugin which compiles and tests Scala sources.
The standardorg.gradle.api.Task implementations.
The Ant integrationorg.gradle.api.Task implementations.
The archive bundlingorg.gradle.api.Task implementations.
The compilationorg.gradle.api.Task implementations.
The diagnosticorg.gradle.api.Task implementations.
The documentation generationorg.gradle.api.Task implementations.
The unit testingorg.gradle.api.Task implementations.
The Gradle wrapperorg.gradle.api.Task.
Aorg.gradle.api.Plugin for generating Eclipse files.
Classes for the model used by theorg.gradle.plugins.ide.eclipse.EclipsePlugin.
Aorg.gradle.api.Plugin for generating IDEA files.
Classes for the model used by theorg.gradle.plugins.ide.idea.IdeaPlugin.