grails/grails-gradle-plugin — pull request #26 by ellerycrane (2012-11-24 01:30:38+00:00)
Title: Fix configureReloadAgent jvm arg override

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.