You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2016/07/29 13:17:33 UTC
svn commit: r1754518 - /ofbiz/trunk/build.gradle
Author: jleroux
Date: Fri Jul 29 13:17:32 2016
New Revision: 1754518
URL: http://svn.apache.org/viewvc?rev=1754518&view=rev
Log:
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.'