diff --git a/build.gradle b/build.gradle index c93348b1..813a8259 100644 --- a/build.gradle +++ b/build.gradle @@ -112,7 +112,6 @@ def createProgramTask(taskName, mainClassName, taskDescription) { main = mainClassName classpath = sourceSets.main.runtimeClasspath args commandLineArgsOr([]) - maxHeapSize '8g' } } @@ -130,7 +129,6 @@ def createScript(name, mainClass) { mainClassName = mainClass applicationName = name classpath = tasks[JavaPlugin.JAR_TASK_NAME].outputs.files + configurations.runtime - defaultJvmOpts = ['-Xmx8g'] } tasks[taskName].dependsOn(project.jar)