{"action":"created","comment":{"url":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/comments/243385586","pull_request_review_id":187143118,"id":243385586,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzM4NTU4Ng==","diff_hunk":"@@ -45,6 +57,55 @@ public class WPIVendorDepsExtension {\n             return []\n     }\n \n+    void loadAll() {\n+        loadFrom(vendorFolder)\n+    }\n+\n+    void loadFrom(File directory) {\n+        vendorFiles(directory).each { File f ->\n+            def dep = parse(f)\n+            if (dep != null)\n+                load(dep)\n+        }\n+    }\n+\n+    void loadFrom(Project project) {\n+        loadFrom(project.file(VENDORDEPS_FOLDER_NAME))\n+    }\n+\n+    JsonDependency parse(File f) {\n+        JsonDependency dep = null\n+        f.withReader {\n+            try {\n+                dep = parseSlurped(slurper.parse(it))\n+            } catch (ex) {\n+                log.logError(\"Malformed Vendor Deps File: ${f.toString()}\")","path":"src/main/groovy/edu/wpi/first/gradlerio/wpi/dependencies/WPIVendorDepsExtension.groovy","position":80,"original_position":80,"commit_id":"05f3be71e7df1454a66f9c8116e85d0b669782c9","original_commit_id":"05f3be71e7df1454a66f9c8116e85d0b669782c9","user":{"login":"JacisNonsense","id":10258152,"node_id":"MDQ6VXNlcjEwMjU4MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/10258152?v=4","gravatar_id":"","url":"https://api.github.com/users/JacisNonsense","html_url":"https://github.com/JacisNonsense","followers_url":"https://api.github.com/users/JacisNonsense/followers","following_url":"https://api.github.com/users/JacisNonsense/following{/other_user}","gists_url":"https://api.github.com/users/JacisNonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/JacisNonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacisNonsense/subscriptions","organizations_url":"https://api.github.com/users/JacisNonsense/orgs","repos_url":"https://api.github.com/users/JacisNonsense/repos","events_url":"https://api.github.com/users/JacisNonsense/events{/privacy}","received_events_url":"https://api.github.com/users/JacisNonsense/received_events","type":"User","site_admin":false},"body":"The stacktrace doesn't include any information about the malformed JSON, just a call stack, so it's pretty useless in this case.","created_at":"2018-12-20T19:10:17Z","updated_at":"2018-12-20T19:10:18Z","html_url":"https://github.com/wpilibsuite/GradleRIO/pull/264#discussion_r243385586","pull_request_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/264","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/comments/243385586"},"html":{"href":"https://github.com/wpilibsuite/GradleRIO/pull/264#discussion_r243385586"},"pull_request":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/264"}},"in_reply_to_id":243334330},"pull_request":{"url":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/264","id":239826670,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5ODI2Njcw","html_url":"https://github.com/wpilibsuite/GradleRIO/pull/264","diff_url":"https://github.com/wpilibsuite/GradleRIO/pull/264.diff","patch_url":"https://github.com/wpilibsuite/GradleRIO/pull/264.patch","issue_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/issues/264","number":264,"state":"closed","locked":false,"title":"Vendordeps loadfrom","user":{"login":"JacisNonsense","id":10258152,"node_id":"MDQ6VXNlcjEwMjU4MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/10258152?v=4","gravatar_id":"","url":"https://api.github.com/users/JacisNonsense","html_url":"https://github.com/JacisNonsense","followers_url":"https://api.github.com/users/JacisNonsense/followers","following_url":"https://api.github.com/users/JacisNonsense/following{/other_user}","gists_url":"https://api.github.com/users/JacisNonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/JacisNonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacisNonsense/subscriptions","organizations_url":"https://api.github.com/users/JacisNonsense/orgs","repos_url":"https://api.github.com/users/JacisNonsense/repos","events_url":"https://api.github.com/users/JacisNonsense/events{/privacy}","received_events_url":"https://api.github.com/users/JacisNonsense/received_events","type":"User","site_admin":false},"body":"Fixes #263 ","created_at":"2018-12-19T12:57:21Z","updated_at":"2018-12-20T19:10:18Z","closed_at":"2018-12-20T13:08:48Z","merged_at":"2018-12-20T13:08:48Z","merge_commit_sha":"d0a5cdcabb4113383b2a24a91fe73ab869b7c88c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/264/commits","review_comments_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/264/comments","review_comment_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/issues/264/comments","statuses_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/statuses/05f3be71e7df1454a66f9c8116e85d0b669782c9","head":{"label":"JacisNonsense:vendordeps_loadfrom","ref":"vendordeps_loadfrom","sha":"05f3be71e7df1454a66f9c8116e85d0b669782c9","user":{"login":"JacisNonsense","id":10258152,"node_id":"MDQ6VXNlcjEwMjU4MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/10258152?v=4","gravatar_id":"","url":"https://api.github.com/users/JacisNonsense","html_url":"https://github.com/JacisNonsense","followers_url":"https://api.github.com/users/JacisNonsense/followers","following_url":"https://api.github.com/users/JacisNonsense/following{/other_user}","gists_url":"https://api.github.com/users/JacisNonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/JacisNonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacisNonsense/subscriptions","organizations_url":"https://api.github.com/users/JacisNonsense/orgs","repos_url":"https://api.github.com/users/JacisNonsense/repos","events_url":"https://api.github.com/users/JacisNonsense/events{/privacy}","received_events_url":"https://api.github.com/users/JacisNonsense/received_events","type":"User","site_admin":false},"repo":{"id":150367830,"node_id":"MDEwOlJlcG9zaXRvcnkxNTAzNjc4MzA=","name":"GradleRIO","full_name":"JacisNonsense/GradleRIO","private":false,"owner":{"login":"JacisNonsense","id":10258152,"node_id":"MDQ6VXNlcjEwMjU4MTUy","avatar_url":"https://avatars3.githubusercontent.com/u/10258152?v=4","gravatar_id":"","url":"https://api.github.com/users/JacisNonsense","html_url":"https://github.com/JacisNonsense","followers_url":"https://api.github.com/users/JacisNonsense/followers","following_url":"https://api.github.com/users/JacisNonsense/following{/other_user}","gists_url":"https://api.github.com/users/JacisNonsense/gists{/gist_id}","starred_url":"https://api.github.com/users/JacisNonsense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JacisNonsense/subscriptions","organizations_url":"https://api.github.com/users/JacisNonsense/orgs","repos_url":"https://api.github.com/users/JacisNonsense/repos","events_url":"https://api.github.com/users/JacisNonsense/events{/privacy}","received_events_url":"https://api.github.com/users/JacisNonsense/received_events","type":"User","site_admin":false},"html_url":"https://github.com/JacisNonsense/GradleRIO","description":"A gradle plugin for the RoboRIO for FRC","fork":true,"url":"https://api.github.com/repos/JacisNonsense/GradleRIO","forks_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/forks","keys_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/teams","hooks_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/hooks","issue_events_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/issues/events{/number}","events_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/events","assignees_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/assignees{/user}","branches_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/branches{/branch}","tags_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/tags","blobs_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/git/refs{/sha}","trees_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/statuses/{sha}","languages_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/languages","stargazers_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/stargazers","contributors_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/contributors","subscribers_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/subscribers","subscription_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/subscription","commits_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/commits{/sha}","git_commits_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/git/commits{/sha}","comments_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/comments{/number}","issue_comment_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/issues/comments{/number}","contents_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/contents/{+path}","compare_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/merges","archive_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/downloads","issues_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/issues{/number}","pulls_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/pulls{/number}","milestones_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/milestones{/number}","notifications_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/labels{/name}","releases_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/releases{/id}","deployments_url":"https://api.github.com/repos/JacisNonsense/GradleRIO/deployments","created_at":"2018-09-26T04:18:02Z","updated_at":"2018-09-26T08:53:57Z","pushed_at":"2018-12-19T13:00:11Z","git_url":"git://github.com/JacisNonsense/GradleRIO.git","ssh_url":"git@github.com:JacisNonsense/GradleRIO.git","clone_url":"https://github.com/JacisNonsense/GradleRIO.git","svn_url":"https://github.com/JacisNonsense/GradleRIO","homepage":"","size":13623,"stargazers_count":0,"watchers_count":0,"language":"Groovy","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"wpilibsuite:master","ref":"master","sha":"d23956cb0b73c3e1a74599b91b2c0d72bb13918d","user":{"login":"wpilibsuite","id":19267233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjY3MjMz","avatar_url":"https://avatars3.githubusercontent.com/u/19267233?v=4","gravatar_id":"","url":"https://api.github.com/users/wpilibsuite","html_url":"https://github.com/wpilibsuite","followers_url":"https://api.github.com/users/wpilibsuite/followers","following_url":"https://api.github.com/users/wpilibsuite/following{/other_user}","gists_url":"https://api.github.com/users/wpilibsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/wpilibsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpilibsuite/subscriptions","organizations_url":"https://api.github.com/users/wpilibsuite/orgs","repos_url":"https://api.github.com/users/wpilibsuite/repos","events_url":"https://api.github.com/users/wpilibsuite/events{/privacy}","received_events_url":"https://api.github.com/users/wpilibsuite/received_events","type":"Organization","site_admin":false},"repo":{"id":29353865,"node_id":"MDEwOlJlcG9zaXRvcnkyOTM1Mzg2NQ==","name":"GradleRIO","full_name":"wpilibsuite/GradleRIO","private":false,"owner":{"login":"wpilibsuite","id":19267233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE5MjY3MjMz","avatar_url":"https://avatars3.githubusercontent.com/u/19267233?v=4","gravatar_id":"","url":"https://api.github.com/users/wpilibsuite","html_url":"https://github.com/wpilibsuite","followers_url":"https://api.github.com/users/wpilibsuite/followers","following_url":"https://api.github.com/users/wpilibsuite/following{/other_user}","gists_url":"https://api.github.com/users/wpilibsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/wpilibsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wpilibsuite/subscriptions","organizations_url":"https://api.github.com/users/wpilibsuite/orgs","repos_url":"https://api.github.com/users/wpilibsuite/repos","events_url":"https://api.github.com/users/wpilibsuite/events{/privacy}","received_events_url":"https://api.github.com/users/wpilibsuite/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/wpilibsuite/GradleRIO","description":"A gradle plugin for the RoboRIO for FRC","fork":false,"url":"https://api.github.com/repos/wpilibsuite/GradleRIO","forks_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/forks","keys_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/teams","hooks_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/hooks","issue_events_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/issues/events{/number}","events_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/events","assignees_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/assignees{/user}","branches_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/branches{/branch}","tags_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/tags","blobs_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/git/refs{/sha}","trees_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/statuses/{sha}","languages_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/languages","stargazers_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/stargazers","contributors_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/contributors","subscribers_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/subscribers","subscription_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/subscription","commits_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/commits{/sha}","git_commits_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/git/commits{/sha}","comments_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/comments{/number}","issue_comment_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/issues/comments{/number}","contents_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/contents/{+path}","compare_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/merges","archive_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/downloads","issues_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/issues{/number}","pulls_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls{/number}","milestones_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/milestones{/number}","notifications_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/labels{/name}","releases_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/releases{/id}","deployments_url":"https://api.github.com/repos/wpilibsuite/GradleRIO/deployments","created_at":"2015-01-16T15:21:41Z","updated_at":"2018-12-20T14:06:32Z","pushed_at":"2018-12-20T14:06:30Z","git_url":"git://github.com/wpilibsuite/GradleRIO.git","ssh_url":"git@github.com:wpilibsuite/GradleRIO.git","clone_url":"https://github.com/wpilibsuite/GradleRIO.git","svn_url":"https://github.com/wpilibsuite/GradleRIO","homepage":"","size":13593,"stargazers_count":231,"watchers_count":231,"language":"Groovy","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":32,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":32,"open_issues":14,"watchers":231,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/264"},"html":{"href":"https://github.com/wpilibsuite/GradleRIO/pull/264"},"issue":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/issues/264"},"comments":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/issues/264/comments"},"review_comments":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/264/comments"},"review_comment":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/pulls/264/commits"},"statuses":{"href":"https://api.github.com/repos/wpilibsuite/GradleRIO/statuses/05f3be71e7df1454a66f9c8116e85d0b669782c9"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"JacisNonsense"}}