Project

Represents a Gradle project.

To access an instance of this type, use Gradle.rootProject or Gradle.project.

Properties

Link copied to clipboard
val buildDir: <Error class: unknown class>

The build directory for this Project.

Link copied to clipboard
val Project.buildGroovy: <Error class: unknown class>

Accessor for the build.gradle file.

Link copied to clipboard
val Project.buildKts: <Error class: unknown class>

Accessor for the build.gradle.kts file.

Link copied to clipboard

The subdirectory of Gradle.dir in which this project is located.

Functions

Link copied to clipboard
suspend fun Project.buildGroovy(text: String): <Error class: unknown class>

Helper function to write the build.gradle file.

Link copied to clipboard
suspend fun Project.buildKts(text: String): <Error class: unknown class>

Helper function to write the build.gradle.kts file.