On Oct 1, 2008, at 7:56 PM, snesbitt wrote:
All:
Noob alert.
I am using the java plugin and the project I am evaluating gradle on
requires that I up the memoryMaximumSize in order to complete
compilation.
This does not appear to be a configuration option directly
supported by the
compile task (according to both source and the API docs)
So is there an indirect way of setting attributes such as
memoryMaximumSize?
The default behavior of Gradle is not to fork javac. This is just
because it is the same as Ant behave. I'm not sure if this is a good
default.
Anyway. There are two ways to solve your problem. The first is to
fork javac and pass proper arguments to the forked JVM:
compile.options.fork(memoryMaximumSize: 512M, memoryInitialSize: 128M)
The second option, if you don't want to fork javac, is to change the
start up options of the JVM running Gradle. See: http://gradle.org/
getting-started.html
- Hans
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email