{"action":"created","comment":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/comments/43048812","id":43048812,"diff_hunk":"@@ -329,6 +330,37 @@ In each case, if the setting has existing values, append the ones above.\n Wherever `shared` appears above, duplicate that value for every J2ObjC project used,\n including all transitive dependencies.\n \n+\n+### How do I update my J2ObjC translated code from Xcode?\n+\n+You can add the J2ObjC build as an External Build System target:\n+\n+1.  Select the main iOS project.  File -> New Target -> Other -> External Build System.\n+    Set the build tool as `/bin/sh`, and name the target j2objcGradle.\n+2.  In the 'External Build Tool Configuration' screen that appears, set the following values:\n+  * Build Tool: `/bin/sh`\n+  * Arguments: `./gradlePreBuild.sh`\n+  * Directory: (the root Gradle project directory, where your settings.gradle file lives)\n+  * __Uncheck__ 'Pass build settings in environment'\n+3.  Add the following script named `gradlePreBuild.sh` in your root Gradle project directory.\n+\n+  ```sh\n+  #!/bin/sh\n+  # Don't contaminate the build with Xcode env vars.\n+  unset DEVELOPER_DIR\n+  # CUSTOMIZE: Add any needed paths here.\n+  export PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin\n+  if [ \"$ACTION\" != \"clean\" ]; then\n+      # CUSTOMIZE: List the j2objcBuild task for each J2ObjC project.\n+      ./gradlew shared:j2objcBuild -q\n+  else\n+      echo \"Skipping Gradle Build for Clean\"","path":"FAQ.md","position":36,"original_position":36,"commit_id":"caf4162a39ce3ba7c64e361ca78726c484e4bcc2","original_commit_id":"caf4162a39ce3ba7c64e361ca78726c484e4bcc2","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":"Not sure what you mean.  For all actions except Clean, the project will be builtt.","created_at":"2015-10-26T20:34:38Z","updated_at":"2015-10-26T20:34:38Z","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/pull/556#discussion_r43048812","pull_request_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/556","_links":{"self":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/comments/43048812"},"html":{"href":"https://github.com/j2objc-contrib/j2objc-gradle/pull/556#discussion_r43048812"},"pull_request":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/556"}}},"pull_request":{"url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/556","id":48790188,"html_url":"https://github.com/j2objc-contrib/j2objc-gradle/pull/556","diff_url":"https://github.com/j2objc-contrib/j2objc-gradle/pull/556.diff","patch_url":"https://github.com/j2objc-contrib/j2objc-gradle/pull/556.patch","issue_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/556","number":556,"state":"open","locked":false,"title":"FAQ: How to build j2objc from xcode","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 #298","created_at":"2015-10-26T20:07:34Z","updated_at":"2015-10-26T20:34:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f5b21d785fab180a3368c90443f5c8cb2f7a9d2b","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/7","html_url":"https://github.com/j2objc-contrib/j2objc-gradle/milestones/0.6%20Release%20(Beta)","labels_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/milestones/7/labels","id":1332389,"number":7,"title":"0.6 Release (Beta)","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":21,"closed_issues":12,"state":"open","created_at":"2015-10-01T00:56:58Z","updated_at":"2015-10-26T20:07:34Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/556/commits","review_comments_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/556/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/556/comments","statuses_url":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/statuses/caf4162a39ce3ba7c64e361ca78726c484e4bcc2","head":{"label":"madvay:howToBuild","ref":"howToBuild","sha":"caf4162a39ce3ba7c64e361ca78726c484e4bcc2","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-10-26T20:08:24Z","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":2117,"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":"839f60086fc8b1a4edde959f3259406fb66dfca5","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-10-26T07:10:24Z","pushed_at":"2015-10-26T20:08:25Z","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":3323,"stargazers_count":63,"watchers_count":63,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":41,"forks":19,"open_issues":41,"watchers":63,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/556"},"html":{"href":"https://github.com/j2objc-contrib/j2objc-gradle/pull/556"},"issue":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/556"},"comments":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/issues/556/comments"},"review_comments":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/pulls/556/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/556/commits"},"statuses":{"href":"https://api.github.com/repos/j2objc-contrib/j2objc-gradle/statuses/caf4162a39ce3ba7c64e361ca78726c484e4bcc2"}}}}