properties

suspend fun Gradle.properties(text: String)(source)

Helper function to write the gradle.properties file.

Example

test("Configure the JVM heap") {
gradle.properties("""
org.gradle.jvmargs=-Xmx3g -Xms200m
""".trimIndent())
}

Accessor for the gradle.properties file.

Example

test("Access the gradle.properties file") {
println(gradle.properties())
}