Author: jleroux
Date: Fri Jul 29 13:17:32 2016
New Revision: 1754518
URL:
http://svn.apache.org/viewvc?rev=1754518&view=revLog:
Increases the JVM max memory from 512 to 1024
Adds a comment about cleanAll location (below all other clean tasks)
Modified:
ofbiz/trunk/build.gradle
Modified: ofbiz/trunk/build.gradle
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/build.gradle?rev=1754518&r1=1754517&r2=1754518&view=diff==============================================================================
--- ofbiz/trunk/build.gradle (original)
+++ ofbiz/trunk/build.gradle Fri Jul 29 13:17:32 2016
@@ -33,7 +33,7 @@ apply plugin: "org.owasp.dependencycheck
apply from: 'common.gradle'
// java settings
-def jvmArguments = ['-Xms128M', '-Xmx512M']
+def jvmArguments = ['-Xms128M', '-Xmx1024M']
ext.ofbizMainClass = 'org.apache.ofbiz.base.start.Start'
javadoc.failOnError = false
sourceCompatibility = '1.8'
@@ -641,6 +641,9 @@ task cleanAnt(group: cleanupGroup, type:
delete 'ofbiz.jar'
}
+// Keep this task below all other clean tasks The location of
+// declaration is important because it means that it will automatically
+// run whenever the task cleanAll executes (dependency matched by regex)
def cleanTasks = getTasksMatchingRegex(/^clean.+/)
task cleanAll(group: cleanupGroup, dependsOn: [cleanTasks, clean]) {
description 'Execute all cleaning tasks.'