{"action":"created","comment":{"url":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/comments/31782780","id":31782780,"diff_hunk":"@@ -0,0 +1,111 @@\n+/*\n+ * Copyright (c) 2015 the authors of j2objc-gradle (see AUTHORS file)\n+ *\n+ * Licensed under the Apache License, Version 2.0 (the \"License\");\n+ * you may not use this file except in compliance with the License.\n+ * You may obtain a copy of the License at\n+ *\n+ * http://www.apache.org/licenses/LICENSE-2.0\n+ *\n+ * Unless required by applicable law or agreed to in writing, software\n+ * distributed under the License is distributed on an \"AS IS\" BASIS,\n+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n+ * See the License for the specific language governing permissions and\n+ * limitations under the License.\n+ */\n+\n+package com.github.brunobowden.j2objcgradle.tasks\n+\n+import org.gradle.api.DefaultTask\n+import org.gradle.api.InvalidUserDataException\n+import org.gradle.api.tasks.Input\n+import org.gradle.api.tasks.InputDirectory\n+import org.gradle.api.tasks.Optional\n+import org.gradle.api.tasks.TaskAction\n+\n+/**\n+ *\n+ */\n+class J2objcCopyTask extends DefaultTask {\n+\n+    // Generated ObjC source files\n+    @InputDirectory\n+    File srcDir\n+\n+    // TODO: needs output for UP-TO-DATE checks\n+\n+    // j2objcConfig dependencies for UP-TO-DATE checks\n+    @Input\n+    @Optional","path":"src/main/groovy/com/github/brunobowden/j2objcgradle/tasks/J2objcCopyTask.groovy","position":39,"original_position":39,"commit_id":"ab8a8ee8bc2d3d7a18bfca93d6b43736e55b36b4","original_commit_id":"ab8a8ee8bc2d3d7a18bfca93d6b43736e55b36b4","user":{"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},"body":"I'd put @input and @Optional on the same line to avoid bloat in the code in a few places","created_at":"2015-06-05T01:56:43Z","updated_at":"2015-06-05T01:56:43Z","html_url":"https://github.com/brunobowden/j2objc-gradle/pull/102#discussion_r31782780","pull_request_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/102","_links":{"self":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/comments/31782780"},"html":{"href":"https://github.com/brunobowden/j2objc-gradle/pull/102#discussion_r31782780"},"pull_request":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/102"}}},"pull_request":{"url":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/102","id":36994272,"html_url":"https://github.com/brunobowden/j2objc-gradle/pull/102","diff_url":"https://github.com/brunobowden/j2objc-gradle/pull/102.diff","patch_url":"https://github.com/brunobowden/j2objc-gradle/pull/102.patch","issue_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/102","number":102,"state":"open","locked":false,"title":"Refactor j2objc.gradle into a built plugin with Groovy classes, #55","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":"Fixes #55.\r\n\r\nNote I will do merges when you finish your outstanding PRs, @brunobowden .","created_at":"2015-06-05T01:34:39Z","updated_at":"2015-06-05T01:56:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb2b689753cfd22fb8f3929a6eb83c56bd392198","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/102/commits","review_comments_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/102/comments","review_comment_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/102/comments","statuses_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/statuses/ab8a8ee8bc2d3d7a18bfca93d6b43736e55b36b4","head":{"label":"advayDev1:nativePlugin","ref":"nativePlugin","sha":"ab8a8ee8bc2d3d7a18bfca93d6b43736e55b36b4","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},"repo":{"id":33487475,"name":"j2objc-gradle","full_name":"advayDev1/j2objc-gradle","owner":{"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},"private":false,"html_url":"https://github.com/advayDev1/j2objc-gradle","description":"Gradle plugin for j2objc (Java to Objective-C transpiler)","fork":true,"url":"https://api.github.com/repos/advayDev1/j2objc-gradle","forks_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/forks","keys_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/teams","hooks_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/hooks","issue_events_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/issues/events{/number}","events_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/events","assignees_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/assignees{/user}","branches_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/branches{/branch}","tags_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/tags","blobs_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/languages","stargazers_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/stargazers","contributors_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/contributors","subscribers_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/subscribers","subscription_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/subscription","commits_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/contents/{+path}","compare_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/merges","archive_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/downloads","issues_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/issues{/number}","pulls_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/labels{/name}","releases_url":"https://api.github.com/repos/advayDev1/j2objc-gradle/releases{/id}","created_at":"2015-04-06T14:55:35Z","updated_at":"2015-06-04T22:33:42Z","pushed_at":"2015-06-05T01:38:21Z","git_url":"git://github.com/advayDev1/j2objc-gradle.git","ssh_url":"git@github.com:advayDev1/j2objc-gradle.git","clone_url":"https://github.com/advayDev1/j2objc-gradle.git","svn_url":"https://github.com/advayDev1/j2objc-gradle","homepage":null,"size":597,"stargazers_count":1,"watchers_count":1,"language":"Groovy","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"brunobowden:master","ref":"master","sha":"70a51e5530ce5558bddfd7d908730c0dcb1aba0f","user":{"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},"repo":{"id":30206593,"name":"j2objc-gradle","full_name":"brunobowden/j2objc-gradle","owner":{"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},"private":false,"html_url":"https://github.com/brunobowden/j2objc-gradle","description":"Gradle plugin for j2objc (Java to Objective-C transpiler)","fork":false,"url":"https://api.github.com/repos/brunobowden/j2objc-gradle","forks_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/forks","keys_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/teams","hooks_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/hooks","issue_events_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/events{/number}","events_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/events","assignees_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/assignees{/user}","branches_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/branches{/branch}","tags_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/tags","blobs_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/git/refs{/sha}","trees_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/statuses/{sha}","languages_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/languages","stargazers_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/stargazers","contributors_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/contributors","subscribers_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/subscribers","subscription_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/subscription","commits_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/commits{/sha}","git_commits_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/git/commits{/sha}","comments_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/comments{/number}","issue_comment_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/comments{/number}","contents_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/contents/{+path}","compare_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/merges","archive_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/downloads","issues_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues{/number}","pulls_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls{/number}","milestones_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/milestones{/number}","notifications_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/labels{/name}","releases_url":"https://api.github.com/repos/brunobowden/j2objc-gradle/releases{/id}","created_at":"2015-02-02T20:22:07Z","updated_at":"2015-06-04T09:41:08Z","pushed_at":"2015-06-05T01:44:15Z","git_url":"git://github.com/brunobowden/j2objc-gradle.git","ssh_url":"git@github.com:brunobowden/j2objc-gradle.git","clone_url":"https://github.com/brunobowden/j2objc-gradle.git","svn_url":"https://github.com/brunobowden/j2objc-gradle","homepage":null,"size":1528,"stargazers_count":30,"watchers_count":30,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":26,"forks":7,"open_issues":26,"watchers":30,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/102"},"html":{"href":"https://github.com/brunobowden/j2objc-gradle/pull/102"},"issue":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/102"},"comments":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/issues/102/comments"},"review_comments":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/102/comments"},"review_comment":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/pulls/102/commits"},"statuses":{"href":"https://api.github.com/repos/brunobowden/j2objc-gradle/statuses/ab8a8ee8bc2d3d7a18bfca93d6b43736e55b36b4"}}}}