There's no such configuration property on CreateStartScripts task ( http://gradle.org/current/docs/dsl/org.gradle.api.tasks.application.CreateStartScripts.html). Therefore you cannot simply configure the application plugin's task to do it. Can you add a jira ticket for it?
I guess you could write a task that tweaks the content of the output batch file :/ Cheers! On Thu, Sep 1, 2011 at 6:27 PM, StormeHawke <[email protected]>wrote: > We have an application that generates very large lists based on an input > file. Without going into the specifics, basically the application uses far > more than the default max memory assigned by Java, so we've been manually > modifying the .bat file generated by the gradle app plugin to add a > -Xmx1024 > parameter. > > Is there a way to tell Gradle to do this for us automatically? > > -- > View this message in context: > http://gradle.1045684.n5.nabble.com/Gradle-App-plugin-Set-max-memory-tp4759026p4759026.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 > > > -- Szczepan Faber Principal engineer@gradleware Lead@mockito
