{"action":"opened","issue":{"url":"https://api.github.com/repos/sherter/google-java-format-gradle-plugin/issues/5","repository_url":"https://api.github.com/repos/sherter/google-java-format-gradle-plugin","labels_url":"https://api.github.com/repos/sherter/google-java-format-gradle-plugin/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/sherter/google-java-format-gradle-plugin/issues/5/comments","events_url":"https://api.github.com/repos/sherter/google-java-format-gradle-plugin/issues/5/events","html_url":"https://github.com/sherter/google-java-format-gradle-plugin/issues/5","id":147770240,"number":5,"title":"Configure default 'check' task to depend on verifyGoogleJavaFormat","user":{"login":"tbroyer","id":173813,"avatar_url":"https://avatars.githubusercontent.com/u/173813?v=3","gravatar_id":"","url":"https://api.github.com/users/tbroyer","html_url":"https://github.com/tbroyer","followers_url":"https://api.github.com/users/tbroyer/followers","following_url":"https://api.github.com/users/tbroyer/following{/other_user}","gists_url":"https://api.github.com/users/tbroyer/gists{/gist_id}","starred_url":"https://api.github.com/users/tbroyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tbroyer/subscriptions","organizations_url":"https://api.github.com/users/tbroyer/orgs","repos_url":"https://api.github.com/users/tbroyer/repos","events_url":"https://api.github.com/users/tbroyer/events{/privacy}","received_events_url":"https://api.github.com/users/tbroyer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-12T14:31:19Z","updated_at":"2016-04-12T14:31:19Z","closed_at":null,"body":"The `check` task from the base plugin should be configured to depend on the created `verifyGoogleJavaFormat` task. I think 99% of the time, people will want to enforce that their sources follow the style rules, so that should be the default (just like when applying the `checkstyle`, `pmd` or `findbugs` plugin, they're run on `check` by default)."}}