grails/grails-gradle-plugin — pull request #25 by ellerycrane (2012-11-24 00:33:20+00:00)
Title: Fixed javaagent config overriding jvmArgs

The previous version of the `configureReloadAgent()` method would override ALL existing jvmArgs of the `JavaExecSpec` to set the `-javaagent` argument. This change checks if there are existing java arguments first, and if there are, adds to them instead of replacing them.