{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/422","labels_url":"https://api.github.com/repos/gradle/gradle/issues/422/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/422/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/422/events","html_url":"https://github.com/gradle/gradle/pull/422","id":62256747,"number":422,"title":"GRADLE-3084 escaping of $ in unix scripts","user":{"login":"jscancella","id":7903917,"avatar_url":"https://avatars.githubusercontent.com/u/7903917?v=3","gravatar_id":"","url":"https://api.github.com/users/jscancella","html_url":"https://github.com/jscancella","followers_url":"https://api.github.com/users/jscancella/followers","following_url":"https://api.github.com/users/jscancella/following{/other_user}","gists_url":"https://api.github.com/users/jscancella/gists{/gist_id}","starred_url":"https://api.github.com/users/jscancella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jscancella/subscriptions","organizations_url":"https://api.github.com/users/jscancella/orgs","repos_url":"https://api.github.com/users/jscancella/repos","events_url":"https://api.github.com/users/jscancella/events{/privacy}","received_events_url":"https://api.github.com/users/jscancella/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gradle/gradle/labels/application-plugin","name":"application-plugin","color":"e11d21"},{"url":"https://api.github.com/repos/gradle/gradle/labels/cla-received","name":"cla-received","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/gradle/gradle/milestones/2","html_url":"https://github.com/gradle/gradle/milestones/waiting-for-commiter","labels_url":"https://api.github.com/repos/gradle/gradle/milestones/2/labels","id":702038,"number":2,"title":"waiting-for-commiter","description":null,"creator":{"login":"adammurdoch","id":99316,"avatar_url":"https://avatars.githubusercontent.com/u/99316?v=3","gravatar_id":"","url":"https://api.github.com/users/adammurdoch","html_url":"https://github.com/adammurdoch","followers_url":"https://api.github.com/users/adammurdoch/followers","following_url":"https://api.github.com/users/adammurdoch/following{/other_user}","gists_url":"https://api.github.com/users/adammurdoch/gists{/gist_id}","starred_url":"https://api.github.com/users/adammurdoch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adammurdoch/subscriptions","organizations_url":"https://api.github.com/users/adammurdoch/orgs","repos_url":"https://api.github.com/users/adammurdoch/repos","events_url":"https://api.github.com/users/adammurdoch/events{/privacy}","received_events_url":"https://api.github.com/users/adammurdoch/received_events","type":"User","site_admin":false},"open_issues":29,"closed_issues":14,"state":"open","created_at":"2014-06-26T03:41:50Z","updated_at":"2015-11-16T16:35:43Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-03-17T02:01:22Z","updated_at":"2015-11-16T16:45:36Z","closed_at":"2015-11-16T16:35:43Z","pull_request":{"url":"https://api.github.com/repos/gradle/gradle/pulls/422","html_url":"https://github.com/gradle/gradle/pull/422","diff_url":"https://github.com/gradle/gradle/pull/422.diff","patch_url":"https://github.com/gradle/gradle/pull/422.patch"},"body":"Added variable escapeMetaCharactersInDefaultJvmOpts to application plugin so that you are able to programmatically turn off the escape of the $ when creating unix run scripts. This is enabled by default, to disable and revert to old behavior set escapeMetaCharactersInDefaultJvmOpts = true in application closure\r\n\r\nlinks to https://issues.gradle.org/browse/GRADLE-3084"},"comment":{"url":"https://api.github.com/repos/gradle/gradle/issues/comments/157093439","html_url":"https://github.com/gradle/gradle/pull/422#issuecomment-157093439","issue_url":"https://api.github.com/repos/gradle/gradle/issues/422","id":157093439,"user":{"login":"johnscancella","id":8711605,"avatar_url":"https://avatars.githubusercontent.com/u/8711605?v=3","gravatar_id":"","url":"https://api.github.com/users/johnscancella","html_url":"https://github.com/johnscancella","followers_url":"https://api.github.com/users/johnscancella/followers","following_url":"https://api.github.com/users/johnscancella/following{/other_user}","gists_url":"https://api.github.com/users/johnscancella/gists{/gist_id}","starred_url":"https://api.github.com/users/johnscancella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnscancella/subscriptions","organizations_url":"https://api.github.com/users/johnscancella/orgs","repos_url":"https://api.github.com/users/johnscancella/repos","events_url":"https://api.github.com/users/johnscancella/events{/privacy}","received_events_url":"https://api.github.com/users/johnscancella/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T16:45:36Z","updated_at":"2015-11-16T16:45:36Z","body":"@bmuschko I did see the work that you all put into the new script generation and have been using it (though for me it kinda defeats the purpose of having gradle generate the script if I supply a customized one to it. But maybe that is just me).\r\n\r\nI just looked at your spec, and it is unclear to me if the default is still the logic of escaping meta-characters? If you are still defaulting to escaping the meta-characters I would just like to add my $0.02 that I believe that to go against the spirit of gradle (sensible defaults). That is not something I would have suspected, hence why this issue was raised.\r\n\r\nthanks for looking into this issue, and I hope that I can contribute to an accepted solution in the future."}}