buildKts
Helper function to write the build.gradle.kts
file.
Example
test("Create a Kotlin build file") {
gradle.project("foo").buildKts("""
println("Loading the project :foo…")
""".trimIndent())
}
Content copied to clipboard
See also
Accessor for the build.gradle.kts
file.
Example
test("Access the Kotlin build file") {
println(gradle.project("foo").buildKts())
}
Content copied to clipboard