[#988] Possibility to append java memory options to dependencies command

[lighthouse #988](http://play.lighthouseapp.com/projects/57987/tickets/988)