I'm trying to get this build to pass on Travis, but Gradle runs out of memory when running the ./gradlew :chronolens-test:dokkaJavadoc
task.
When I run the task locally, it passes. I tried increasing the Gradle memory (e.g., in in this commit), but to no avail. According to Travis documentation, I believe the environment I configured should have at least 7 GB of RAM, so Gradle using up to 2-3 GB shouldn't be an issue (especially since it passes locally with the same RAM settings).
I'm not sure what I'm doing wrong. Any ideas on how I can make the build green?
Thanks!