Closed atais closed 3 years ago
It should respect the Test
configuration from https://docs.gradle.org/current/dsl/org.gradle.api.tasks.testing.Test.html
Have you tried the following?
test {
maxHeapSize = "2g"
}
Wow, I did not expect configuration from the main gradle testing plugin to have impact here! You might want to add such one-liner to the readme :-) or maybe it is just not obvious for gradle newbie, don't know.
Anyways, I have ended up using:
test {
jvmArgs '-Xmx2g'
}
which I think does the same and it works. Thanks a lot!
Hello
I am migrating Scala project from maven to gradle. In previous configuration we had
and I cannot find a way to setup java opts with this wrapper. Is it possible at all?