{"action":"created","issue":{"url":"https://api.github.com/repos/diffplug/spotless/issues/31","repository_url":"https://api.github.com/repos/diffplug/spotless","labels_url":"https://api.github.com/repos/diffplug/spotless/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/diffplug/spotless/issues/31/comments","events_url":"https://api.github.com/repos/diffplug/spotless/issues/31/events","html_url":"https://github.com/diffplug/spotless/issues/31","id":173588297,"number":31,"title":"Declare inputs and outputs to support up-to-date checking","user":{"login":"oehme","id":1191797,"avatar_url":"https://avatars.githubusercontent.com/u/1191797?v=3","gravatar_id":"","url":"https://api.github.com/users/oehme","html_url":"https://github.com/oehme","followers_url":"https://api.github.com/users/oehme/followers","following_url":"https://api.github.com/users/oehme/following{/other_user}","gists_url":"https://api.github.com/users/oehme/gists{/gist_id}","starred_url":"https://api.github.com/users/oehme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oehme/subscriptions","organizations_url":"https://api.github.com/users/oehme/orgs","repos_url":"https://api.github.com/users/oehme/repos","events_url":"https://api.github.com/users/oehme/events{/privacy}","received_events_url":"https://api.github.com/users/oehme/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/diffplug/spotless/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-27T09:45:47Z","updated_at":"2016-08-28T02:28:52Z","closed_at":null,"body":"The spotless check task currently doesn't have any inputs and outputs declared and is thus never considered [up-to-date](https://docs.gradle.org/nightly/userguide/more_about_tasks.html#sec:up_to_date_checks). This is slowing down user's builds unnecessarily. "},"comment":{"url":"https://api.github.com/repos/diffplug/spotless/issues/comments/242952279","html_url":"https://github.com/diffplug/spotless/issues/31#issuecomment-242952279","issue_url":"https://api.github.com/repos/diffplug/spotless/issues/31","id":242952279,"user":{"login":"nedtwigg","id":2924992,"avatar_url":"https://avatars.githubusercontent.com/u/2924992?v=3","gravatar_id":"","url":"https://api.github.com/users/nedtwigg","html_url":"https://github.com/nedtwigg","followers_url":"https://api.github.com/users/nedtwigg/followers","following_url":"https://api.github.com/users/nedtwigg/following{/other_user}","gists_url":"https://api.github.com/users/nedtwigg/gists{/gist_id}","starred_url":"https://api.github.com/users/nedtwigg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nedtwigg/subscriptions","organizations_url":"https://api.github.com/users/nedtwigg/orgs","repos_url":"https://api.github.com/users/nedtwigg/repos","events_url":"https://api.github.com/users/nedtwigg/events{/privacy}","received_events_url":"https://api.github.com/users/nedtwigg/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T02:28:52Z","updated_at":"2016-08-28T02:28:52Z","body":"Currently, this is the only task in the project, [FormatTask](https://github.com/diffplug/spotless/blob/master/src/main/java/com/diffplug/gradle/spotless/FormatTask.java).  If anybody has time and need to make the change, I'm happy to merge and release the PR.  Clone this repo, run `gradlew ide`, and you've got a dev environment.  Here's the [gradle docs on incremental builds](https://docs.gradle.org/current/userguide/custom_tasks.html#incremental_tasks).\r\n\r\nI'd guess that making this change might require creating a separate `FormatApplyTask` and `FormatCheckTask` task, but if there's a way to avoid that it would be better to be able to release as `2.1.0` rather than `3.0.0`, but whatever :)"}}
{"actor":{"display_login":"nedtwigg"}}