{"action":"created","comment":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/comments/37713150","id":37713150,"diff_hunk":"@@ -13,11 +13,13 @@\n  * See the License for the specific language governing permissions and\n  * limitations under the License.\n  */\n-\n // Based on https://plugins.gradle.org/docs/publish-plugin\n \n plugins {\n     id \"com.gradle.plugin-publish\" version \"0.9.0\"\n+    // Outputs a BuildInfo.java file with information about the git repo;\n+    // also fails plugin publishing if your git working directory is unclean.","path":"build.gradle","position":10,"original_position":10,"commit_id":"b4e9304e2c5da33c3ad456086dfe8b64a6cd467b","original_commit_id":"b4e9304e2c5da33c3ad456086dfe8b64a6cd467b","user":{"login":"advayDev1","id":11729521,"avatar_url":"https://avatars.githubusercontent.com/u/11729521?v=3","gravatar_id":"","url":"https://api.github.com/users/advayDev1","html_url":"https://github.com/advayDev1","followers_url":"https://api.github.com/users/advayDev1/followers","following_url":"https://api.github.com/users/advayDev1/following{/other_user}","gists_url":"https://api.github.com/users/advayDev1/gists{/gist_id}","starred_url":"https://api.github.com/users/advayDev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advayDev1/subscriptions","organizations_url":"https://api.github.com/users/advayDev1/orgs","repos_url":"https://api.github.com/users/advayDev1/repos","events_url":"https://api.github.com/users/advayDev1/events{/privacy}","received_events_url":"https://api.github.com/users/advayDev1/received_events","type":"User","site_admin":false},"body":"No.  A git working directory being clean is pretty standard wording.\r\n\r\nAlso it isn't enforcing whether your commits are public or on master.\r\nPeople often use release branches not called master, and the code is currently not tied to github either (or you might have a private repo, etc.).\r\n\r\nThe goal is to enforce that you know that state of your repo; if GIT_IS_CLEAN is true and you have a commit SHA, chances are pretty good you do know the state.  It isn't guaranteeing that others know the state of the repo.","created_at":"2015-08-24T00:51:12Z","updated_at":"2015-08-24T00:51:12Z","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/pull/395#discussion_r37713150","pull_request_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/395","_links":{"self":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/comments/37713150"},"html":{"href":"https://github.com/j2objc-contrib/j2objc-gradle/pull/395#discussion_r37713150"},"pull_request":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/395"}}},"pull_request":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/395","id":43125032,"html_url":"https://github.com/j2objc-contrib/j2objc-gradle/pull/395","diff_url":"https://github.com/j2objc-contrib/j2objc-gradle/pull/395.diff","patch_url":"https://github.com/j2objc-contrib/j2objc-gradle/pull/395.patch","issue_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/395","number":395,"state":"open","locked":false,"title":"Embed BuildInfo in plugin.","user":{"login":"advayDev1","id":11729521,"avatar_url":"https://avatars.githubusercontent.com/u/11729521?v=3","gravatar_id":"","url":"https://api.github.com/users/advayDev1","html_url":"https://github.com/advayDev1","followers_url":"https://api.github.com/users/advayDev1/followers","following_url":"https://api.github.com/users/advayDev1/following{/other_user}","gists_url":"https://api.github.com/users/advayDev1/gists{/gist_id}","starred_url":"https://api.github.com/users/advayDev1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/advayDev1/subscriptions","organizations_url":"https://api.github.com/users/advayDev1/orgs","repos_url":"https://api.github.com/users/advayDev1/repos","events_url":"https://api.github.com/users/advayDev1/events{/privacy}","received_events_url":"https://api.github.com/users/advayDev1/received_events","type":"User","site_admin":false},"body":"- Display version, etc. info on startup\r\n- Warn if using an unofficial release\r\n- Determine whether build was clean (git-wise)\r\n\r\nFixes #394 \r\n\r\nBased on:\r\nhttps://gist.github.com/advayDev1/56ac2d57d072364adc79","created_at":"2015-08-23T17:35:04Z","updated_at":"2015-08-24T00:51:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fe1700614391806b7e5959dbdc171f4d41699024","assignee":{"login":"brunobowden","id":679339,"avatar_url":"https://avatars.githubusercontent.com/u/679339?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobowden","html_url":"https://github.com/brunobowden","followers_url":"https://api.github.com/users/brunobowden/followers","following_url":"https://api.github.com/users/brunobowden/following{/other_user}","gists_url":"https://api.github.com/users/brunobowden/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobowden/subscriptions","organizations_url":"https://api.github.com/users/brunobowden/orgs","repos_url":"https://api.github.com/users/brunobowden/repos","events_url":"https://api.github.com/users/brunobowden/events{/privacy}","received_events_url":"https://api.github.com/users/brunobowden/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/milestones/6","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/milestones/0.5%20Release","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/milestones/6/labels","id":1241148,"number":6,"title":"0.5 Release","description":"","creator":{"login":"brunobowden","id":679339,"avatar_url":"https://avatars.githubusercontent.com/u/679339?v=3","gravatar_id":"","url":"https://api.github.com/users/brunobowden","html_url":"https://github.com/brunobowden","followers_url":"https://api.github.com/users/brunobowden/followers","following_url":"https://api.github.com/users/brunobowden/following{/other_user}","gists_url":"https://api.github.com/users/brunobowden/gists{/gist_id}","starred_url":"https://api.github.com/users/brunobowden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brunobowden/subscriptions","organizations_url":"https://api.github.com/users/brunobowden/orgs","repos_url":"https://api.github.com/users/brunobowden/repos","events_url":"https://api.github.com/users/brunobowden/events{/privacy}","received_events_url":"https://api.github.com/users/brunobowden/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":16,"state":"open","created_at":"2015-08-04T23:04:19Z","updated_at":"2015-08-23T17:35:04Z","due_on":"2015-08-31T07:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/395/commits","review_comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/395/comments","review_comment_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/395/comments","statuses_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/statuses/b4e9304e2c5da33c3ad456086dfe8b64a6cd467b","head":{"label":"madvay:embedVersion","ref":"embedVersion","sha":"b4e9304e2c5da33c3ad456086dfe8b64a6cd467b","user":{"login":"madvay","id":13328764,"avatar_url":"https://avatars.githubusercontent.com/u/13328764?v=3","gravatar_id":"","url":"https://api.github.com/users/madvay","html_url":"https://github.com/madvay","followers_url":"https://api.github.com/users/madvay/followers","following_url":"https://api.github.com/users/madvay/following{/other_user}","gists_url":"https://api.github.com/users/madvay/gists{/gist_id}","starred_url":"https://api.github.com/users/madvay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madvay/subscriptions","organizations_url":"https://api.github.com/users/madvay/orgs","repos_url":"https://api.github.com/users/madvay/repos","events_url":"https://api.github.com/users/madvay/events{/privacy}","received_events_url":"https://api.github.com/users/madvay/received_events","type":"Organization","site_admin":false},"repo":{"id":33487475,"name":"j2objc-gradle","full_name":"madvay/j2objc-gradle","owner":{"login":"madvay","id":13328764,"avatar_url":"https://avatars.githubusercontent.com/u/13328764?v=3","gravatar_id":"","url":"https://api.github.com/users/madvay","html_url":"https://github.com/madvay","followers_url":"https://api.github.com/users/madvay/followers","following_url":"https://api.github.com/users/madvay/following{/other_user}","gists_url":"https://api.github.com/users/madvay/gists{/gist_id}","starred_url":"https://api.github.com/users/madvay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madvay/subscriptions","organizations_url":"https://api.github.com/users/madvay/orgs","repos_url":"https://api.github.com/users/madvay/repos","events_url":"https://api.github.com/users/madvay/events{/privacy}","received_events_url":"https://api.github.com/users/madvay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/madvay/j2objc-gradle","description":"Gradle plugin for j2objc (Java to Objective-C transpiler)","fork":true,"url":"https://api.github.com/repos/madvay/j2objc-gradle","forks_url":"https://api.github.com/repos/madvay/j2objc-gradle/forks","keys_url":"https://api.github.com/repos/madvay/j2objc-gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/madvay/j2objc-gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/madvay/j2objc-gradle/teams","hooks_url":"https://api.github.com/repos/madvay/j2objc-gradle/hooks","issue_events_url":"https://api.github.com/repos/madvay/j2objc-gradle/issues/events{/number}","events_url":"https://api.github.com/repos/madvay/j2objc-gradle/events","assignees_url":"https://api.github.com/repos/madvay/j2objc-gradle/assignees{/user}","branches_url":"https://api.github.com/repos/madvay/j2objc-gradle/branches{/branch}","tags_url":"https://api.github.com/repos/madvay/j2objc-gradle/tags","blobs_url":"https://api.github.com/repos/madvay/j2objc-gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/madvay/j2objc-gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/madvay/j2objc-gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/madvay/j2objc-gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/madvay/j2objc-gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/madvay/j2objc-gradle/languages","stargazers_url":"https://api.github.com/repos/madvay/j2objc-gradle/stargazers","contributors_url":"https://api.github.com/repos/madvay/j2objc-gradle/contributors","subscribers_url":"https://api.github.com/repos/madvay/j2objc-gradle/subscribers","subscription_url":"https://api.github.com/repos/madvay/j2objc-gradle/subscription","commits_url":"https://api.github.com/repos/madvay/j2objc-gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/madvay/j2objc-gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/madvay/j2objc-gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/madvay/j2objc-gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/madvay/j2objc-gradle/contents/{+path}","compare_url":"https://api.github.com/repos/madvay/j2objc-gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/madvay/j2objc-gradle/merges","archive_url":"https://api.github.com/repos/madvay/j2objc-gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/madvay/j2objc-gradle/downloads","issues_url":"https://api.github.com/repos/madvay/j2objc-gradle/issues{/number}","pulls_url":"https://api.github.com/repos/madvay/j2objc-gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/madvay/j2objc-gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/madvay/j2objc-gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/madvay/j2objc-gradle/labels{/name}","releases_url":"https://api.github.com/repos/madvay/j2objc-gradle/releases{/id}","created_at":"2015-04-06T14:55:35Z","updated_at":"2015-07-14T08:50:32Z","pushed_at":"2015-08-24T00:46:41Z","git_url":"git://github.com/madvay/j2objc-gradle.git","ssh_url":"git@github.com:madvay/j2objc-gradle.git","clone_url":"https://github.com/madvay/j2objc-gradle.git","svn_url":"https://github.com/madvay/j2objc-gradle","homepage":"https://github.com/j2objc-contrib/j2objc-gradle","size":1305,"stargazers_count":1,"watchers_count":1,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"j2objc-contrib:master","ref":"master","sha":"0f0d4fb9ab42c96904a954069800be4c82a60901","user":{"login":"j2objc-contrib","id":12766207,"avatar_url":"https://avatars.githubusercontent.com/u/12766207?v=3","gravatar_id":"","url":"https://api.github.com/users/j2objc-contrib","html_url":"https://github.com/j2objc-contrib","followers_url":"https://api.github.com/users/j2objc-contrib/followers","following_url":"https://api.github.com/users/j2objc-contrib/following{/other_user}","gists_url":"https://api.github.com/users/j2objc-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/j2objc-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j2objc-contrib/subscriptions","organizations_url":"https://api.github.com/users/j2objc-contrib/orgs","repos_url":"https://api.github.com/users/j2objc-contrib/repos","events_url":"https://api.github.com/users/j2objc-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/j2objc-contrib/received_events","type":"Organization","site_admin":false},"repo":{"id":30206593,"name":"j2objc-gradle","full_name":"j2objc-contrib/j2objc-gradle","owner":{"login":"j2objc-contrib","id":12766207,"avatar_url":"https://avatars.githubusercontent.com/u/12766207?v=3","gravatar_id":"","url":"https://api.github.com/users/j2objc-contrib","html_url":"https://github.com/j2objc-contrib","followers_url":"https://api.github.com/users/j2objc-contrib/followers","following_url":"https://api.github.com/users/j2objc-contrib/following{/other_user}","gists_url":"https://api.github.com/users/j2objc-contrib/gists{/gist_id}","starred_url":"https://api.github.com/users/j2objc-contrib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j2objc-contrib/subscriptions","organizations_url":"https://api.github.com/users/j2objc-contrib/orgs","repos_url":"https://api.github.com/users/j2objc-contrib/repos","events_url":"https://api.github.com/users/j2objc-contrib/events{/privacy}","received_events_url":"https://api.github.com/users/j2objc-contrib/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/j2objc-contrib/j2objc-gradle","description":"Gradle plugin for j2objc (Java to Objective-C transpiler)","fork":false,"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle","forks_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/forks","keys_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/teams","hooks_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/hooks","issue_events_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/events{/number}","events_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/events","assignees_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/assignees{/user}","branches_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/branches{/branch}","tags_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/tags","blobs_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/languages","stargazers_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/stargazers","contributors_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/contributors","subscribers_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/subscribers","subscription_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/subscription","commits_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/contents/{+path}","compare_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/merges","archive_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/downloads","issues_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues{/number}","pulls_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/labels{/name}","releases_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/releases{/id}","created_at":"2015-02-02T20:22:07Z","updated_at":"2015-08-22T12:22:45Z","pushed_at":"2015-08-24T00:46:41Z","git_url":"git://github.com/j2objc-contrib/j2objc-gradle.git","ssh_url":"git@github.com:j2objc-contrib/j2objc-gradle.git","clone_url":"https://github.com/j2objc-contrib/j2objc-gradle.git","svn_url":"https://github.com/j2objc-contrib/j2objc-gradle","homepage":"https://github.com/j2objc-contrib/j2objc-gradle","size":2150,"stargazers_count":46,"watchers_count":46,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":48,"forks":11,"open_issues":48,"watchers":46,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/395"},"html":{"href":"https://github.com/j2objc-contrib/j2objc-gradle/pull/395"},"issue":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/395"},"comments":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/395/comments"},"review_comments":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/395/comments"},"review_comment":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/395/commits"},"statuses":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/statuses/b4e9304e2c5da33c3ad456086dfe8b64a6cd467b"}}}}