Skip to content

Compatibility with Gradle TestKitopensavvy.prepared.compat.gradleGradleproject

project

fun project(path: String): Project

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

Example

Create the modules/foo/build.gradle file:

test("Configure the :modules:foo project") {
    gradle.project("modules/foo").buildGroovy("""
        println "Configuring the project!"
    """.trimIndent())
}

See also