{"action":"created","issue":{"url":"https://api.github.com/repos/grails/grails-gradle-plugin/issues/135","labels_url":"https://api.github.com/repos/grails/grails-gradle-plugin/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-gradle-plugin/issues/135/comments","events_url":"https://api.github.com/repos/grails/grails-gradle-plugin/issues/135/events","html_url":"https://github.com/grails/grails-gradle-plugin/issues/135","id":56646183,"number":135,"title":"[Question] Invoke Grails commands inside other Gradle tasks","user":{"login":"bwolff","id":1532631,"avatar_url":"https://avatars.githubusercontent.com/u/1532631?v=3","gravatar_id":"","url":"https://api.github.com/users/bwolff","html_url":"https://github.com/bwolff","followers_url":"https://api.github.com/users/bwolff/followers","following_url":"https://api.github.com/users/bwolff/following{/other_user}","gists_url":"https://api.github.com/users/bwolff/gists{/gist_id}","starred_url":"https://api.github.com/users/bwolff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwolff/subscriptions","organizations_url":"https://api.github.com/users/bwolff/orgs","repos_url":"https://api.github.com/users/bwolff/repos","events_url":"https://api.github.com/users/bwolff/events{/privacy}","received_events_url":"https://api.github.com/users/bwolff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-05T09:28:31Z","updated_at":"2015-02-05T22:20:18Z","closed_at":null,"body":"Hi,\r\n\r\nI wasn't sure where I can ask questions about this plugin, so I'm using an issue here. Sorry for that ;).\r\n\r\nI try to use Gradle to manage a \"framework\" that consists of multiple Grails plugins. To simplify management tasks for all the plugins (ike setting the version, building, deploying to maven repos, etc.), I was looking into using Gradle and came across this plugin here as well.\r\n\r\nMy question is if it is possible to invoke Grails commands inside other Gradle tasks. In your docs you show example of how to invoke Grails commands from the cmd line by calling the \"dynamic\" grails- tasks. I would like to do the same inside a Gradle tasks so I can call these commands on multiple Grails projects in a predefined sequence.\r\n\r\nI hope I described my use-case properly. Do you maybe have an idea how this could be achieved using your plugin?\r\n\r\nThank you very much.\r\n\r\nCheers,\r\nBen"},"comment":{"url":"https://api.github.com/repos/grails/grails-gradle-plugin/issues/comments/73142410","html_url":"https://github.com/grails/grails-gradle-plugin/issues/135#issuecomment-73142410","issue_url":"https://api.github.com/repos/grails/grails-gradle-plugin/issues/135","id":73142410,"user":{"login":"johnrengelman","id":1012772,"avatar_url":"https://avatars.githubusercontent.com/u/1012772?v=3","gravatar_id":"","url":"https://api.github.com/users/johnrengelman","html_url":"https://github.com/johnrengelman","followers_url":"https://api.github.com/users/johnrengelman/followers","following_url":"https://api.github.com/users/johnrengelman/following{/other_user}","gists_url":"https://api.github.com/users/johnrengelman/gists{/gist_id}","starred_url":"https://api.github.com/users/johnrengelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnrengelman/subscriptions","organizations_url":"https://api.github.com/users/johnrengelman/orgs","repos_url":"https://api.github.com/users/johnrengelman/repos","events_url":"https://api.github.com/users/johnrengelman/events{/privacy}","received_events_url":"https://api.github.com/users/johnrengelman/received_events","type":"User","site_admin":false},"created_at":"2015-02-05T22:20:18Z","updated_at":"2015-02-05T22:20:18Z","body":"You would add task dependencies in gradle for this.\r\n\r\n```\r\ntask updateVersions(dependsOn: ':pluginA:grails-set-version')\r\n```"}}