Compatibility with Gradle TestKit • opensavvy.prepared.compat.gradle • buildKts
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())
}
See also¶
-
buildGroovyGroovy equivalent
-
settingsKtsSettings file
-
Gradle.projectSelect the project
Accessor for the build.gradle.kts
file.
Example¶
See also¶
-
buildGroovyGroovy equivalent
-
settingsKtsSettings file
-
Gradle.projectSelect the project