kotlin: Set JVM max memory heap size for tests

In build.properties.kt add a section:

tasks.withType<Test> {
    // ...
    maxHeapSize = "20m"
}
Published on: 17 Oct 2023