Compatibility with Gradle TestKit • opensavvy.prepared.compat.gradle • Gradle • project
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¶
-
Gradle.rootProjectAccess the root project
-
Gradle.runnerExecute the test and check the outputs