Compatibility with Gradle TestKit • opensavvy.prepared.compat.gradle
Package-level declarations¶
Types¶
Gradle¶
class Gradle
Control center for Gradle TestKit. See gradle.
Project¶
class Project
Represents a Gradle project.
Properties¶
buildDir¶
buildGroovy¶
val Project.buildGroovy:
Accessor for the build.gradle file.
buildKts¶
Accessor for the build.gradle.kts file.
dir¶
The subdirectory of Gradle.dir in which this project is located.
gradle¶
Control center for Gradle TestKit.
settingsGroovy¶
val Gradle.settingsGroovy:
Accessor for the settings.gradle file.
settingsKts¶
val Gradle.settingsKts:
Accessor for the settings.gradle.kts file.
Functions¶
buildGroovy¶
suspend fun Project.buildGroovy(text: String):
Helper function to write the build.gradle file.
buildKts¶
Helper function to write the build.gradle.kts file.
settingsGroovy¶
suspend fun Gradle.settingsGroovy(text: String):
Helper function to write the settings.gradle file.
settingsKts¶
suspend fun Gradle.settingsKts(text: String):
Helper function to write the settings.gradle.kts file.