Gradle

class Gradle(source)

Control center for Gradle TestKit. See gradle.

Properties

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

A temporary directory unique for each test, in which the Gradle files are created.

Link copied to clipboard

Accessor for the files of the root project.

Link copied to clipboard
val Gradle.settingsGroovy: <Error class: unknown class>

Accessor for the settings.gradle file.

Link copied to clipboard
val Gradle.settingsKts: <Error class: unknown class>

Accessor for the settings.gradle.kts file.

Functions

Link copied to clipboard
fun project(path: String): Project

Accessor for the files of a project, given its path.

Link copied to clipboard
suspend fun runner(): GradleRunner

Instantiates a GradleRunner in dir.

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

Helper function to write the settings.gradle file.

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

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