ptornagh wrote:
>
> Hi all,
> I'm really new to gradle.
> I have several subprojects (I'm using java plugin) and compiling I got an
> OutOfMemoryError: Java heap space.
> I searched the mailing list and I found that the solution should be to
> use:
>
> compile.getOptions().fork([memoryMaximumSize:"512m"]) .
>
> I placed it into the "subprojects" scope and I'm getting the following
> error:
>
> "Could not find property 'compile' on project mySubProject"
>
> I know it's probably a silly question...but what am I missing?
>
> Thanks,
> Paolo
>
I figured it out:
do not refer to compile property, but refer to compileJava property instead
:
with compileJava.options.fork(memoryMaximumSize: '512m')
I had the job done.
--
View this message in context:
http://old.nabble.com/compile-property-and-OutOfMemory-problem-tp26156670p26157117.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email