{"action":"created","comment":{"url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/comments/55403298","id":55403298,"diff_hunk":"@@ -35,5 +40,25 @@ dependencies {\n     androidTestCompile 'com.android.support.test.uiautomator:uiautomator-v18:2.1.2'\n     androidTestCompile 'com.android.support.test:testing-support-lib:0.1'\n     androidTestCompile 'com.android.support.test.espresso:espresso-core:2.0'\n+    androidTestCompile 'com.squareup.okhttp:okhttp:2.5.0'\n+\n+}\n \n+task installAUT(type: Exec, dependsOn: ['installDebug', 'installDebugAndroidTest']) {","path":"appium-uiautomator2-server/build.gradle","position":20,"original_position":20,"commit_id":"6b8360210c239583dfe042de0911f65f2d22eb7d","original_commit_id":"6b8360210c239583dfe042de0911f65f2d22eb7d","user":{"login":"bootstraponline","id":1173057,"avatar_url":"https://avatars.githubusercontent.com/u/1173057?v=3","gravatar_id":"","url":"https://api.github.com/users/bootstraponline","html_url":"https://github.com/bootstraponline","followers_url":"https://api.github.com/users/bootstraponline/followers","following_url":"https://api.github.com/users/bootstraponline/following{/other_user}","gists_url":"https://api.github.com/users/bootstraponline/gists{/gist_id}","starred_url":"https://api.github.com/users/bootstraponline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bootstraponline/subscriptions","organizations_url":"https://api.github.com/users/bootstraponline/orgs","repos_url":"https://api.github.com/users/bootstraponline/repos","events_url":"https://api.github.com/users/bootstraponline/events{/privacy}","received_events_url":"https://api.github.com/users/bootstraponline/received_events","type":"User","site_admin":false},"body":"If `assembleDebugAndroidTest` is always invoked via afterEvaluate then maybe we can drop the dependsOn. You'll have to investigate the gradle call graph to find out what it's doing. Gradle is kind of magical.","created_at":"2016-03-08T18:27:26Z","updated_at":"2016-03-08T18:27:26Z","html_url":"https://github.com/appium/appium-uiautomator2-server/pull/1#discussion_r55403298","pull_request_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/comments/55403298"},"html":{"href":"https://github.com/appium/appium-uiautomator2-server/pull/1#discussion_r55403298"},"pull_request":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/1","id":61906150,"html_url":"https://github.com/appium/appium-uiautomator2-server/pull/1","diff_url":"https://github.com/appium/appium-uiautomator2-server/pull/1.diff","patch_url":"https://github.com/appium/appium-uiautomator2-server/pull/1.patch","issue_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/1","number":1,"state":"open","locked":false,"title":"Installing the test app from gradle","user":{"login":"PrakashGoulla","id":4367130,"avatar_url":"https://avatars.githubusercontent.com/u/4367130?v=3","gravatar_id":"","url":"https://api.github.com/users/PrakashGoulla","html_url":"https://github.com/PrakashGoulla","followers_url":"https://api.github.com/users/PrakashGoulla/followers","following_url":"https://api.github.com/users/PrakashGoulla/following{/other_user}","gists_url":"https://api.github.com/users/PrakashGoulla/gists{/gist_id}","starred_url":"https://api.github.com/users/PrakashGoulla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrakashGoulla/subscriptions","organizations_url":"https://api.github.com/users/PrakashGoulla/orgs","repos_url":"https://api.github.com/users/PrakashGoulla/repos","events_url":"https://api.github.com/users/PrakashGoulla/events{/privacy}","received_events_url":"https://api.github.com/users/PrakashGoulla/received_events","type":"User","site_admin":false},"body":"## Commit summary\r\nThis commit would let gradle install the app when `gradle assembleDebugAndroidTest` is run, on which the uiautomator2-server on device tests will be run.\r\n\r\nI'm using selendroi-test-app as the test app, placed under `res/` directory.","created_at":"2016-03-07T11:42:24Z","updated_at":"2016-03-08T18:27:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7d9d32aef02e43f3ca3b7c1c6f3b6a7c8092bc6f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/1/commits","review_comments_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/1/comments","review_comment_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/comments{/number}","comments_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/1/comments","statuses_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/statuses/6b8360210c239583dfe042de0911f65f2d22eb7d","head":{"label":"PrakashGoulla:master","ref":"master","sha":"6b8360210c239583dfe042de0911f65f2d22eb7d","user":{"login":"PrakashGoulla","id":4367130,"avatar_url":"https://avatars.githubusercontent.com/u/4367130?v=3","gravatar_id":"","url":"https://api.github.com/users/PrakashGoulla","html_url":"https://github.com/PrakashGoulla","followers_url":"https://api.github.com/users/PrakashGoulla/followers","following_url":"https://api.github.com/users/PrakashGoulla/following{/other_user}","gists_url":"https://api.github.com/users/PrakashGoulla/gists{/gist_id}","starred_url":"https://api.github.com/users/PrakashGoulla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrakashGoulla/subscriptions","organizations_url":"https://api.github.com/users/PrakashGoulla/orgs","repos_url":"https://api.github.com/users/PrakashGoulla/repos","events_url":"https://api.github.com/users/PrakashGoulla/events{/privacy}","received_events_url":"https://api.github.com/users/PrakashGoulla/received_events","type":"User","site_admin":false},"repo":{"id":53313012,"name":"appium-uiautomator2-server","full_name":"PrakashGoulla/appium-uiautomator2-server","owner":{"login":"PrakashGoulla","id":4367130,"avatar_url":"https://avatars.githubusercontent.com/u/4367130?v=3","gravatar_id":"","url":"https://api.github.com/users/PrakashGoulla","html_url":"https://github.com/PrakashGoulla","followers_url":"https://api.github.com/users/PrakashGoulla/followers","following_url":"https://api.github.com/users/PrakashGoulla/following{/other_user}","gists_url":"https://api.github.com/users/PrakashGoulla/gists{/gist_id}","starred_url":"https://api.github.com/users/PrakashGoulla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrakashGoulla/subscriptions","organizations_url":"https://api.github.com/users/PrakashGoulla/orgs","repos_url":"https://api.github.com/users/PrakashGoulla/repos","events_url":"https://api.github.com/users/PrakashGoulla/events{/privacy}","received_events_url":"https://api.github.com/users/PrakashGoulla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PrakashGoulla/appium-uiautomator2-server","description":"","fork":true,"url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server","forks_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/forks","keys_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/teams","hooks_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/hooks","issue_events_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/issues/events{/number}","events_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/events","assignees_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/assignees{/user}","branches_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/branches{/branch}","tags_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/tags","blobs_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/statuses/{sha}","languages_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/languages","stargazers_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/stargazers","contributors_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/contributors","subscribers_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/subscribers","subscription_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/subscription","commits_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/contents/{+path}","compare_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/merges","archive_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/downloads","issues_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/issues{/number}","pulls_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/pulls{/number}","milestones_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/milestones{/number}","notifications_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/labels{/name}","releases_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/releases{/id}","deployments_url":"https://api.github.com/repos/PrakashGoulla/appium-uiautomator2-server/deployments","created_at":"2016-03-07T09:31:02Z","updated_at":"2016-03-07T09:31:03Z","pushed_at":"2016-03-08T09:51:02Z","git_url":"git://github.com/PrakashGoulla/appium-uiautomator2-server.git","ssh_url":"git@github.com:PrakashGoulla/appium-uiautomator2-server.git","clone_url":"https://github.com/PrakashGoulla/appium-uiautomator2-server.git","svn_url":"https://github.com/PrakashGoulla/appium-uiautomator2-server","homepage":null,"size":632,"stargazers_count":0,"watchers_count":0,"language":"Java","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":0,"default_branch":"master"}},"base":{"label":"appium:master","ref":"master","sha":"381aaa1129e850fefaa326a610bc334c24a56080","user":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"repo":{"id":53297769,"name":"appium-uiautomator2-server","full_name":"appium/appium-uiautomator2-server","owner":{"login":"appium","id":3221291,"avatar_url":"https://avatars.githubusercontent.com/u/3221291?v=3","gravatar_id":"","url":"https://api.github.com/users/appium","html_url":"https://github.com/appium","followers_url":"https://api.github.com/users/appium/followers","following_url":"https://api.github.com/users/appium/following{/other_user}","gists_url":"https://api.github.com/users/appium/gists{/gist_id}","starred_url":"https://api.github.com/users/appium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appium/subscriptions","organizations_url":"https://api.github.com/users/appium/orgs","repos_url":"https://api.github.com/users/appium/repos","events_url":"https://api.github.com/users/appium/events{/privacy}","received_events_url":"https://api.github.com/users/appium/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/appium/appium-uiautomator2-server","description":"","fork":false,"url":"https://api.github.com/repos/appium/appium-uiautomator2-server","forks_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/forks","keys_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/keys{/key_id}","collaborators_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/teams","hooks_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/hooks","issue_events_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/events{/number}","events_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/events","assignees_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/assignees{/user}","branches_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/branches{/branch}","tags_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/tags","blobs_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/refs{/sha}","trees_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/trees{/sha}","statuses_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/statuses/{sha}","languages_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/languages","stargazers_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/stargazers","contributors_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/contributors","subscribers_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/subscribers","subscription_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/subscription","commits_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/commits{/sha}","git_commits_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/git/commits{/sha}","comments_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/comments{/number}","issue_comment_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/comments{/number}","contents_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/contents/{+path}","compare_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/compare/{base}...{head}","merges_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/merges","archive_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/downloads","issues_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues{/number}","pulls_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls{/number}","milestones_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/milestones{/number}","notifications_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/labels{/name}","releases_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/releases{/id}","deployments_url":"https://api.github.com/repos/appium/appium-uiautomator2-server/deployments","created_at":"2016-03-07T05:18:34Z","updated_at":"2016-03-07T07:37:58Z","pushed_at":"2016-03-08T09:51:02Z","git_url":"git://github.com/appium/appium-uiautomator2-server.git","ssh_url":"git@github.com:appium/appium-uiautomator2-server.git","clone_url":"https://github.com/appium/appium-uiautomator2-server.git","svn_url":"https://github.com/appium/appium-uiautomator2-server","homepage":null,"size":114,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/1"},"html":{"href":"https://github.com/appium/appium-uiautomator2-server/pull/1"},"issue":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/1"},"comments":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/appium/appium-uiautomator2-server/statuses/6b8360210c239583dfe042de0911f65f2d22eb7d"}}}}