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
buildGroovy
val Project.buildGroovy: Prepared<Path>
Accessor for the `build.gradle` file.
buildKts
Accessor for the `build.gradle.kts` file.
gradle
Control center for Gradle TestKit.
settingsGroovy
val Gradle.settingsGroovy: Prepared<Path>
Accessor for the `settings.gradle` file.
settingsKts
val Gradle.settingsKts: Prepared<Path>
Accessor for the `settings.gradle.kts` file.
Functions
buildGroovy
suspend fun Project.buildGroovy(text: String)
Helper function to write the `build.gradle` file.
buildKts