{"action":"opened","issue":{"url":"https://api.github.com/repos/danthegoodman/gradle-capsule-plugin/issues/24","repository_url":"https://api.github.com/repos/danthegoodman/gradle-capsule-plugin","labels_url":"https://api.github.com/repos/danthegoodman/gradle-capsule-plugin/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/danthegoodman/gradle-capsule-plugin/issues/24/comments","events_url":"https://api.github.com/repos/danthegoodman/gradle-capsule-plugin/issues/24/events","html_url":"https://github.com/danthegoodman/gradle-capsule-plugin/issues/24","id":145640697,"number":24,"title":"Very unclear how to get the plugin to work","user":{"login":"mikehearn","id":971089,"avatar_url":"https://avatars.githubusercontent.com/u/971089?v=3","gravatar_id":"","url":"https://api.github.com/users/mikehearn","html_url":"https://github.com/mikehearn","followers_url":"https://api.github.com/users/mikehearn/followers","following_url":"https://api.github.com/users/mikehearn/following{/other_user}","gists_url":"https://api.github.com/users/mikehearn/gists{/gist_id}","starred_url":"https://api.github.com/users/mikehearn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikehearn/subscriptions","organizations_url":"https://api.github.com/users/mikehearn/orgs","repos_url":"https://api.github.com/users/mikehearn/repos","events_url":"https://api.github.com/users/mikehearn/events{/privacy}","received_events_url":"https://api.github.com/users/mikehearn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T10:12:08Z","updated_at":"2016-04-04T10:12:08Z","closed_at":null,"body":"The instructions provided don't work: adding the plugins block in various positions in the Gradle build script fail, at least with Gradle 2.10. I tend to get this error:\r\n\r\n> Could not find method plugins() for arguments [build_64zzmbl3ic5e1ydil1rouq7yr$_run_closure1$_closure4@1c82cde9] on project ':network-explorer'.\r\n\r\n... when it's not complaining about the position of the plugins block. For instance I get this error if the plugins block is put inside the buildscript block.\r\n\r\nAdditionally, it's not clear if I have to add any repositories? The plugin doesn't seem to be in Maven Central.\r\n\r\nIt'd be good if there was an example project that showed how this is meant to work."}}