settingsGroovy
Helper function to write the settings.gradle
file.
Example
test("Create a groovy settings file") {
gradle.settingsGroovy("""
println "Loading the settings…"
""".trimIndent())
}
Content copied to clipboard
See also
Kotlin equivalent
Build script file
Accessor for the settings.gradle
file.
Example
test("Access the groovy settings file") {
println(gradle.settingsGroovy())
}
Content copied to clipboard
See also
Kotlin equivalent
Build script file