properties
Helper function to write the gradle.properties file.
Example
test("Configure the JVM heap") {
gradle.properties("""
org.gradle.jvmargs=-Xmx3g -Xms200m
""".trimIndent())
}Content copied to clipboard
Accessor for the gradle.properties file.
Example
test("Access the gradle.properties file") {
println(gradle.properties())
}Content copied to clipboard