{"action":"created","comment":{"url":"https://api.github.com/repos/renovatebot/renovate/pulls/comments/223581227","pull_request_review_id":162741202,"id":223581227,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzU4MTIyNw==","diff_hunk":"@@ -0,0 +1,50 @@\n+const { execSync } = require('child_process');\n+const fs = require('fs');\n+\n+const gradle = require('./build-gradle');\n+\n+function extractDependencies(content, fileName, config) {\n+  logger.debug('gradle.extractDependencies()');\n+  const deps = [{ name: 'dummy' }];\n+  const gradleFile = `${config.localDir}/${fileName}`;\n+\n+  fs.writeFileSync(gradleFile, content);\n+  execSync('gradle dependencyUpdates -Drevision=release', {\n+    stdio: 'inherit',\n+    cwd: config.localDir,\n+  });\n+\n+  return { deps };\n+}\n+\n+function getPackageUpdates(config) {","path":"lib/manager/gradle/index.js","position":20,"original_position":20,"commit_id":"17fed8947bf94cb3c29f9981bdac56c456a79f6a","original_commit_id":"17fed8947bf94cb3c29f9981bdac56c456a79f6a","user":{"login":"rarkins","id":6311784,"node_id":"MDQ6VXNlcjYzMTE3ODQ=","avatar_url":"https://avatars1.githubusercontent.com/u/6311784?v=4","gravatar_id":"","url":"https://api.github.com/users/rarkins","html_url":"https://github.com/rarkins","followers_url":"https://api.github.com/users/rarkins/followers","following_url":"https://api.github.com/users/rarkins/following{/other_user}","gists_url":"https://api.github.com/users/rarkins/gists{/gist_id}","starred_url":"https://api.github.com/users/rarkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rarkins/subscriptions","organizations_url":"https://api.github.com/users/rarkins/orgs","repos_url":"https://api.github.com/users/rarkins/repos","events_url":"https://api.github.com/users/rarkins/events{/privacy}","received_events_url":"https://api.github.com/users/rarkins/received_events","type":"User","site_admin":false},"body":"This function should probably be combined into the extractDependencies function","created_at":"2018-10-09T07:08:12Z","updated_at":"2018-10-09T07:08:12Z","html_url":"https://github.com/renovatebot/renovate/pull/2610#discussion_r223581227","pull_request_url":"https://api.github.com/repos/renovatebot/renovate/pulls/2610","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/renovatebot/renovate/pulls/comments/223581227"},"html":{"href":"https://github.com/renovatebot/renovate/pull/2610#discussion_r223581227"},"pull_request":{"href":"https://api.github.com/repos/renovatebot/renovate/pulls/2610"}}},"pull_request":{"url":"https://api.github.com/repos/renovatebot/renovate/pulls/2610","id":220937672,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIwOTM3Njcy","html_url":"https://github.com/renovatebot/renovate/pull/2610","diff_url":"https://github.com/renovatebot/renovate/pull/2610.diff","patch_url":"https://github.com/renovatebot/renovate/pull/2610.patch","issue_url":"https://api.github.com/repos/renovatebot/renovate/issues/2610","number":2610,"state":"open","locked":false,"title":"feat: gradle support (WIP)","user":{"login":"corecanarias","id":2401444,"node_id":"MDQ6VXNlcjI0MDE0NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2401444?v=4","gravatar_id":"","url":"https://api.github.com/users/corecanarias","html_url":"https://github.com/corecanarias","followers_url":"https://api.github.com/users/corecanarias/followers","following_url":"https://api.github.com/users/corecanarias/following{/other_user}","gists_url":"https://api.github.com/users/corecanarias/gists{/gist_id}","starred_url":"https://api.github.com/users/corecanarias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corecanarias/subscriptions","organizations_url":"https://api.github.com/users/corecanarias/orgs","repos_url":"https://api.github.com/users/corecanarias/repos","events_url":"https://api.github.com/users/corecanarias/events{/privacy}","received_events_url":"https://api.github.com/users/corecanarias/received_events","type":"User","site_admin":false},"body":"Support gradle using\r\nhttps://github.com/patrikerdes/gradle-use-latest-versions-plugin plugin\r\n\r\n<!--\r\n    Before submitting a Pull Request, please ensure you have signed the CLA using this GitHub App:\r\n    https://cla-assistant.io/renovateapp/renovate\r\n-->\r\n\r\n<!-- Replace this text with a description of what this PR fixes or adds -->\r\n\r\nCloses # <!-- Ideally each PR should be closing an open issue -->\r\n","created_at":"2018-10-07T09:44:36Z","updated_at":"2018-10-09T07:08:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"61193987492f4a7dc18fb77016cb20700c8f48a9","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/renovatebot/renovate/pulls/2610/commits","review_comments_url":"https://api.github.com/repos/renovatebot/renovate/pulls/2610/comments","review_comment_url":"https://api.github.com/repos/renovatebot/renovate/pulls/comments{/number}","comments_url":"https://api.github.com/repos/renovatebot/renovate/issues/2610/comments","statuses_url":"https://api.github.com/repos/renovatebot/renovate/statuses/17fed8947bf94cb3c29f9981bdac56c456a79f6a","head":{"label":"corecanarias:gradle_support","ref":"gradle_support","sha":"17fed8947bf94cb3c29f9981bdac56c456a79f6a","user":{"login":"corecanarias","id":2401444,"node_id":"MDQ6VXNlcjI0MDE0NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2401444?v=4","gravatar_id":"","url":"https://api.github.com/users/corecanarias","html_url":"https://github.com/corecanarias","followers_url":"https://api.github.com/users/corecanarias/followers","following_url":"https://api.github.com/users/corecanarias/following{/other_user}","gists_url":"https://api.github.com/users/corecanarias/gists{/gist_id}","starred_url":"https://api.github.com/users/corecanarias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corecanarias/subscriptions","organizations_url":"https://api.github.com/users/corecanarias/orgs","repos_url":"https://api.github.com/users/corecanarias/repos","events_url":"https://api.github.com/users/corecanarias/events{/privacy}","received_events_url":"https://api.github.com/users/corecanarias/received_events","type":"User","site_admin":false},"repo":{"id":151704877,"node_id":"MDEwOlJlcG9zaXRvcnkxNTE3MDQ4Nzc=","name":"renovate","full_name":"corecanarias/renovate","private":false,"owner":{"login":"corecanarias","id":2401444,"node_id":"MDQ6VXNlcjI0MDE0NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2401444?v=4","gravatar_id":"","url":"https://api.github.com/users/corecanarias","html_url":"https://github.com/corecanarias","followers_url":"https://api.github.com/users/corecanarias/followers","following_url":"https://api.github.com/users/corecanarias/following{/other_user}","gists_url":"https://api.github.com/users/corecanarias/gists{/gist_id}","starred_url":"https://api.github.com/users/corecanarias/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corecanarias/subscriptions","organizations_url":"https://api.github.com/users/corecanarias/orgs","repos_url":"https://api.github.com/users/corecanarias/repos","events_url":"https://api.github.com/users/corecanarias/events{/privacy}","received_events_url":"https://api.github.com/users/corecanarias/received_events","type":"User","site_admin":false},"html_url":"https://github.com/corecanarias/renovate","description":"Multi-language dependency update automation. Flexible, so you don't need to be.","fork":true,"url":"https://api.github.com/repos/corecanarias/renovate","forks_url":"https://api.github.com/repos/corecanarias/renovate/forks","keys_url":"https://api.github.com/repos/corecanarias/renovate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/corecanarias/renovate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/corecanarias/renovate/teams","hooks_url":"https://api.github.com/repos/corecanarias/renovate/hooks","issue_events_url":"https://api.github.com/repos/corecanarias/renovate/issues/events{/number}","events_url":"https://api.github.com/repos/corecanarias/renovate/events","assignees_url":"https://api.github.com/repos/corecanarias/renovate/assignees{/user}","branches_url":"https://api.github.com/repos/corecanarias/renovate/branches{/branch}","tags_url":"https://api.github.com/repos/corecanarias/renovate/tags","blobs_url":"https://api.github.com/repos/corecanarias/renovate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/corecanarias/renovate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/corecanarias/renovate/git/refs{/sha}","trees_url":"https://api.github.com/repos/corecanarias/renovate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/corecanarias/renovate/statuses/{sha}","languages_url":"https://api.github.com/repos/corecanarias/renovate/languages","stargazers_url":"https://api.github.com/repos/corecanarias/renovate/stargazers","contributors_url":"https://api.github.com/repos/corecanarias/renovate/contributors","subscribers_url":"https://api.github.com/repos/corecanarias/renovate/subscribers","subscription_url":"https://api.github.com/repos/corecanarias/renovate/subscription","commits_url":"https://api.github.com/repos/corecanarias/renovate/commits{/sha}","git_commits_url":"https://api.github.com/repos/corecanarias/renovate/git/commits{/sha}","comments_url":"https://api.github.com/repos/corecanarias/renovate/comments{/number}","issue_comment_url":"https://api.github.com/repos/corecanarias/renovate/issues/comments{/number}","contents_url":"https://api.github.com/repos/corecanarias/renovate/contents/{+path}","compare_url":"https://api.github.com/repos/corecanarias/renovate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/corecanarias/renovate/merges","archive_url":"https://api.github.com/repos/corecanarias/renovate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/corecanarias/renovate/downloads","issues_url":"https://api.github.com/repos/corecanarias/renovate/issues{/number}","pulls_url":"https://api.github.com/repos/corecanarias/renovate/pulls{/number}","milestones_url":"https://api.github.com/repos/corecanarias/renovate/milestones{/number}","notifications_url":"https://api.github.com/repos/corecanarias/renovate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/corecanarias/renovate/labels{/name}","releases_url":"https://api.github.com/repos/corecanarias/renovate/releases{/id}","deployments_url":"https://api.github.com/repos/corecanarias/renovate/deployments","created_at":"2018-10-05T10:28:05Z","updated_at":"2018-10-05T10:28:08Z","pushed_at":"2018-10-09T06:57:46Z","git_url":"git://github.com/corecanarias/renovate.git","ssh_url":"git@github.com:corecanarias/renovate.git","clone_url":"https://github.com/corecanarias/renovate.git","svn_url":"https://github.com/corecanarias/renovate","homepage":"https://renovatebot.com","size":14821,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"renovatebot:master","ref":"master","sha":"72c79793b09ea524bad3bef0aa81d5d456f34cc5","user":{"login":"renovatebot","id":38656520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NjU2NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/38656520?v=4","gravatar_id":"","url":"https://api.github.com/users/renovatebot","html_url":"https://github.com/renovatebot","followers_url":"https://api.github.com/users/renovatebot/followers","following_url":"https://api.github.com/users/renovatebot/following{/other_user}","gists_url":"https://api.github.com/users/renovatebot/gists{/gist_id}","starred_url":"https://api.github.com/users/renovatebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renovatebot/subscriptions","organizations_url":"https://api.github.com/users/renovatebot/orgs","repos_url":"https://api.github.com/users/renovatebot/repos","events_url":"https://api.github.com/users/renovatebot/events{/privacy}","received_events_url":"https://api.github.com/users/renovatebot/received_events","type":"Organization","site_admin":false},"repo":{"id":76734068,"node_id":"MDEwOlJlcG9zaXRvcnk3NjczNDA2OA==","name":"renovate","full_name":"renovatebot/renovate","private":false,"owner":{"login":"renovatebot","id":38656520,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4NjU2NTIw","avatar_url":"https://avatars2.githubusercontent.com/u/38656520?v=4","gravatar_id":"","url":"https://api.github.com/users/renovatebot","html_url":"https://github.com/renovatebot","followers_url":"https://api.github.com/users/renovatebot/followers","following_url":"https://api.github.com/users/renovatebot/following{/other_user}","gists_url":"https://api.github.com/users/renovatebot/gists{/gist_id}","starred_url":"https://api.github.com/users/renovatebot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renovatebot/subscriptions","organizations_url":"https://api.github.com/users/renovatebot/orgs","repos_url":"https://api.github.com/users/renovatebot/repos","events_url":"https://api.github.com/users/renovatebot/events{/privacy}","received_events_url":"https://api.github.com/users/renovatebot/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/renovatebot/renovate","description":"Multi-language dependency update automation. Flexible, so you don't need to be.","fork":false,"url":"https://api.github.com/repos/renovatebot/renovate","forks_url":"https://api.github.com/repos/renovatebot/renovate/forks","keys_url":"https://api.github.com/repos/renovatebot/renovate/keys{/key_id}","collaborators_url":"https://api.github.com/repos/renovatebot/renovate/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/renovatebot/renovate/teams","hooks_url":"https://api.github.com/repos/renovatebot/renovate/hooks","issue_events_url":"https://api.github.com/repos/renovatebot/renovate/issues/events{/number}","events_url":"https://api.github.com/repos/renovatebot/renovate/events","assignees_url":"https://api.github.com/repos/renovatebot/renovate/assignees{/user}","branches_url":"https://api.github.com/repos/renovatebot/renovate/branches{/branch}","tags_url":"https://api.github.com/repos/renovatebot/renovate/tags","blobs_url":"https://api.github.com/repos/renovatebot/renovate/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/renovatebot/renovate/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/renovatebot/renovate/git/refs{/sha}","trees_url":"https://api.github.com/repos/renovatebot/renovate/git/trees{/sha}","statuses_url":"https://api.github.com/repos/renovatebot/renovate/statuses/{sha}","languages_url":"https://api.github.com/repos/renovatebot/renovate/languages","stargazers_url":"https://api.github.com/repos/renovatebot/renovate/stargazers","contributors_url":"https://api.github.com/repos/renovatebot/renovate/contributors","subscribers_url":"https://api.github.com/repos/renovatebot/renovate/subscribers","subscription_url":"https://api.github.com/repos/renovatebot/renovate/subscription","commits_url":"https://api.github.com/repos/renovatebot/renovate/commits{/sha}","git_commits_url":"https://api.github.com/repos/renovatebot/renovate/git/commits{/sha}","comments_url":"https://api.github.com/repos/renovatebot/renovate/comments{/number}","issue_comment_url":"https://api.github.com/repos/renovatebot/renovate/issues/comments{/number}","contents_url":"https://api.github.com/repos/renovatebot/renovate/contents/{+path}","compare_url":"https://api.github.com/repos/renovatebot/renovate/compare/{base}...{head}","merges_url":"https://api.github.com/repos/renovatebot/renovate/merges","archive_url":"https://api.github.com/repos/renovatebot/renovate/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/renovatebot/renovate/downloads","issues_url":"https://api.github.com/repos/renovatebot/renovate/issues{/number}","pulls_url":"https://api.github.com/repos/renovatebot/renovate/pulls{/number}","milestones_url":"https://api.github.com/repos/renovatebot/renovate/milestones{/number}","notifications_url":"https://api.github.com/repos/renovatebot/renovate/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/renovatebot/renovate/labels{/name}","releases_url":"https://api.github.com/repos/renovatebot/renovate/releases{/id}","deployments_url":"https://api.github.com/repos/renovatebot/renovate/deployments","created_at":"2016-12-17T16:21:21Z","updated_at":"2018-10-09T04:58:57Z","pushed_at":"2018-10-09T06:57:47Z","git_url":"git://github.com/renovatebot/renovate.git","ssh_url":"git@github.com:renovatebot/renovate.git","clone_url":"https://github.com/renovatebot/renovate.git","svn_url":"https://github.com/renovatebot/renovate","homepage":"https://renovatebot.com","size":14886,"stargazers_count":927,"watchers_count":927,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"archived":false,"open_issues_count":168,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":126,"open_issues":168,"watchers":927,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/renovatebot/renovate/pulls/2610"},"html":{"href":"https://github.com/renovatebot/renovate/pull/2610"},"issue":{"href":"https://api.github.com/repos/renovatebot/renovate/issues/2610"},"comments":{"href":"https://api.github.com/repos/renovatebot/renovate/issues/2610/comments"},"review_comments":{"href":"https://api.github.com/repos/renovatebot/renovate/pulls/2610/comments"},"review_comment":{"href":"https://api.github.com/repos/renovatebot/renovate/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/renovatebot/renovate/pulls/2610/commits"},"statuses":{"href":"https://api.github.com/repos/renovatebot/renovate/statuses/17fed8947bf94cb3c29f9981bdac56c456a79f6a"}},"author_association":"NONE"}}
{"actor":{"display_login":"rarkins"}}