task test(type: Test, overwrite: true, dependsOn: [setupUser]) {
maxHeapSize "3000m"
allJvmArgs "-Xmx3000m"
}
Run Code Online (Sandbox Code Playgroud)
错误:
* What went wrong:
A problem occurred evaluating root project 'myproject'.
> Could not find method allJvmArgs() for arguments [-Xmx3000m] on root project 'myproject'.
Run Code Online (Sandbox Code Playgroud)
无论我尝试什么,我跑的时候都会遇到堆问题gradle test.我正在使用1.0-milestone-9