{"action":"created","comment":{"url":"https://api.github.com/repos/d3ledger/notary/pulls/comments/196746404","pull_request_review_id":130356958,"id":196746404,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5Njc0NjQwNA==","diff_hunk":"@@ -158,8 +158,42 @@ protobuf {\n         }\n     }\n }\n+\n compileKotlin.dependsOn ':generateProto'\n \n+task buildContracts(type: Exec) {\n+    description 'Build Ethereum contracts'\n+\n+    String contract_path = projectDir.toString().concat(\"/deploy/ethereum/contract\")\n+    String bin_path = contract_path.concat(\"/bin\")\n+    file(bin_path).mkdirs()\n+\n+    doLast {\n+        logger.info(standardOutput.toString())\n+        logger.error(errorOutput.toString())\n+    }\n+\n+    commandLine 'sh', '-c', 'solc <path>/*.sol --bin --abi --optimize -o <path>/bin --overwrite'.replace(\"<path>\", contract_path)\n+\n+\n+}\n+\n+task buildBindings(type: Exec) {","path":"build.gradle","position":24,"original_position":24,"commit_id":"b35b61b57c4770b130084aeec5da1fa3f0b8c346","original_commit_id":"b35b61b57c4770b130084aeec5da1fa3f0b8c346","user":{"login":"Alexey-N-Chernyshov","id":495478,"node_id":"MDQ6VXNlcjQ5NTQ3OA==","avatar_url":"https://avatars0.githubusercontent.com/u/495478?v=4","gravatar_id":"","url":"https://api.github.com/users/Alexey-N-Chernyshov","html_url":"https://github.com/Alexey-N-Chernyshov","followers_url":"https://api.github.com/users/Alexey-N-Chernyshov/followers","following_url":"https://api.github.com/users/Alexey-N-Chernyshov/following{/other_user}","gists_url":"https://api.github.com/users/Alexey-N-Chernyshov/gists{/gist_id}","starred_url":"https://api.github.com/users/Alexey-N-Chernyshov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alexey-N-Chernyshov/subscriptions","organizations_url":"https://api.github.com/users/Alexey-N-Chernyshov/orgs","repos_url":"https://api.github.com/users/Alexey-N-Chernyshov/repos","events_url":"https://api.github.com/users/Alexey-N-Chernyshov/events{/privacy}","received_events_url":"https://api.github.com/users/Alexey-N-Chernyshov/received_events","type":"User","site_admin":false},"body":"please rename to buildEthereumContractsBindings","created_at":"2018-06-20T11:58:37Z","updated_at":"2018-06-20T12:00:33Z","html_url":"https://github.com/d3ledger/notary/pull/46#discussion_r196746404","pull_request_url":"https://api.github.com/repos/d3ledger/notary/pulls/46","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/d3ledger/notary/pulls/comments/196746404"},"html":{"href":"https://github.com/d3ledger/notary/pull/46#discussion_r196746404"},"pull_request":{"href":"https://api.github.com/repos/d3ledger/notary/pulls/46"}}},"pull_request":{"url":"https://api.github.com/repos/d3ledger/notary/pulls/46","id":195789943,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1Nzg5OTQz","html_url":"https://github.com/d3ledger/notary/pull/46","diff_url":"https://github.com/d3ledger/notary/pull/46.diff","patch_url":"https://github.com/d3ledger/notary/pull/46.patch","issue_url":"https://api.github.com/repos/d3ledger/notary/issues/46","number":46,"state":"open","locked":false,"title":"Gradle build contracts","user":{"login":"x3medima17","id":750115,"node_id":"MDQ6VXNlcjc1MDExNQ==","avatar_url":"https://avatars0.githubusercontent.com/u/750115?v=4","gravatar_id":"","url":"https://api.github.com/users/x3medima17","html_url":"https://github.com/x3medima17","followers_url":"https://api.github.com/users/x3medima17/followers","following_url":"https://api.github.com/users/x3medima17/following{/other_user}","gists_url":"https://api.github.com/users/x3medima17/gists{/gist_id}","starred_url":"https://api.github.com/users/x3medima17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x3medima17/subscriptions","organizations_url":"https://api.github.com/users/x3medima17/orgs","repos_url":"https://api.github.com/users/x3medima17/repos","events_url":"https://api.github.com/users/x3medima17/events{/privacy}","received_events_url":"https://api.github.com/users/x3medima17/received_events","type":"User","site_admin":false},"body":"Added task to build Ethereum smart contracts and java classes","created_at":"2018-06-19T11:05:48Z","updated_at":"2018-06-20T12:00:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f52f09fcc78811e29e973dac34e915622a855600","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/d3ledger/notary/pulls/46/commits","review_comments_url":"https://api.github.com/repos/d3ledger/notary/pulls/46/comments","review_comment_url":"https://api.github.com/repos/d3ledger/notary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/d3ledger/notary/issues/46/comments","statuses_url":"https://api.github.com/repos/d3ledger/notary/statuses/b35b61b57c4770b130084aeec5da1fa3f0b8c346","head":{"label":"d3ledger:gradle-build-contracts","ref":"gradle-build-contracts","sha":"b35b61b57c4770b130084aeec5da1fa3f0b8c346","user":{"login":"d3ledger","id":31348469,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMzQ4NDY5","avatar_url":"https://avatars1.githubusercontent.com/u/31348469?v=4","gravatar_id":"","url":"https://api.github.com/users/d3ledger","html_url":"https://github.com/d3ledger","followers_url":"https://api.github.com/users/d3ledger/followers","following_url":"https://api.github.com/users/d3ledger/following{/other_user}","gists_url":"https://api.github.com/users/d3ledger/gists{/gist_id}","starred_url":"https://api.github.com/users/d3ledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3ledger/subscriptions","organizations_url":"https://api.github.com/users/d3ledger/orgs","repos_url":"https://api.github.com/users/d3ledger/repos","events_url":"https://api.github.com/users/d3ledger/events{/privacy}","received_events_url":"https://api.github.com/users/d3ledger/received_events","type":"Organization","site_admin":false},"repo":{"id":129921969,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5MjE5Njk=","name":"notary","full_name":"d3ledger/notary","owner":{"login":"d3ledger","id":31348469,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMzQ4NDY5","avatar_url":"https://avatars1.githubusercontent.com/u/31348469?v=4","gravatar_id":"","url":"https://api.github.com/users/d3ledger","html_url":"https://github.com/d3ledger","followers_url":"https://api.github.com/users/d3ledger/followers","following_url":"https://api.github.com/users/d3ledger/following{/other_user}","gists_url":"https://api.github.com/users/d3ledger/gists{/gist_id}","starred_url":"https://api.github.com/users/d3ledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3ledger/subscriptions","organizations_url":"https://api.github.com/users/d3ledger/orgs","repos_url":"https://api.github.com/users/d3ledger/repos","events_url":"https://api.github.com/users/d3ledger/events{/privacy}","received_events_url":"https://api.github.com/users/d3ledger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/d3ledger/notary","description":"Backend code for a D3 notary","fork":false,"url":"https://api.github.com/repos/d3ledger/notary","forks_url":"https://api.github.com/repos/d3ledger/notary/forks","keys_url":"https://api.github.com/repos/d3ledger/notary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/d3ledger/notary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/d3ledger/notary/teams","hooks_url":"https://api.github.com/repos/d3ledger/notary/hooks","issue_events_url":"https://api.github.com/repos/d3ledger/notary/issues/events{/number}","events_url":"https://api.github.com/repos/d3ledger/notary/events","assignees_url":"https://api.github.com/repos/d3ledger/notary/assignees{/user}","branches_url":"https://api.github.com/repos/d3ledger/notary/branches{/branch}","tags_url":"https://api.github.com/repos/d3ledger/notary/tags","blobs_url":"https://api.github.com/repos/d3ledger/notary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/d3ledger/notary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/d3ledger/notary/git/refs{/sha}","trees_url":"https://api.github.com/repos/d3ledger/notary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/d3ledger/notary/statuses/{sha}","languages_url":"https://api.github.com/repos/d3ledger/notary/languages","stargazers_url":"https://api.github.com/repos/d3ledger/notary/stargazers","contributors_url":"https://api.github.com/repos/d3ledger/notary/contributors","subscribers_url":"https://api.github.com/repos/d3ledger/notary/subscribers","subscription_url":"https://api.github.com/repos/d3ledger/notary/subscription","commits_url":"https://api.github.com/repos/d3ledger/notary/commits{/sha}","git_commits_url":"https://api.github.com/repos/d3ledger/notary/git/commits{/sha}","comments_url":"https://api.github.com/repos/d3ledger/notary/comments{/number}","issue_comment_url":"https://api.github.com/repos/d3ledger/notary/issues/comments{/number}","contents_url":"https://api.github.com/repos/d3ledger/notary/contents/{+path}","compare_url":"https://api.github.com/repos/d3ledger/notary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/d3ledger/notary/merges","archive_url":"https://api.github.com/repos/d3ledger/notary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/d3ledger/notary/downloads","issues_url":"https://api.github.com/repos/d3ledger/notary/issues{/number}","pulls_url":"https://api.github.com/repos/d3ledger/notary/pulls{/number}","milestones_url":"https://api.github.com/repos/d3ledger/notary/milestones{/number}","notifications_url":"https://api.github.com/repos/d3ledger/notary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/d3ledger/notary/labels{/name}","releases_url":"https://api.github.com/repos/d3ledger/notary/releases{/id}","deployments_url":"https://api.github.com/repos/d3ledger/notary/deployments","created_at":"2018-04-17T15:01:56Z","updated_at":"2018-06-19T10:42:34Z","pushed_at":"2018-06-20T11:45:31Z","git_url":"git://github.com/d3ledger/notary.git","ssh_url":"git@github.com:d3ledger/notary.git","clone_url":"https://github.com/d3ledger/notary.git","svn_url":"https://github.com/d3ledger/notary","homepage":"","size":31124,"stargazers_count":2,"watchers_count":2,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"base":{"label":"d3ledger:master","ref":"master","sha":"49d100fadb383f3ba013e21ab45fe176afa3ba3c","user":{"login":"d3ledger","id":31348469,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMzQ4NDY5","avatar_url":"https://avatars1.githubusercontent.com/u/31348469?v=4","gravatar_id":"","url":"https://api.github.com/users/d3ledger","html_url":"https://github.com/d3ledger","followers_url":"https://api.github.com/users/d3ledger/followers","following_url":"https://api.github.com/users/d3ledger/following{/other_user}","gists_url":"https://api.github.com/users/d3ledger/gists{/gist_id}","starred_url":"https://api.github.com/users/d3ledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3ledger/subscriptions","organizations_url":"https://api.github.com/users/d3ledger/orgs","repos_url":"https://api.github.com/users/d3ledger/repos","events_url":"https://api.github.com/users/d3ledger/events{/privacy}","received_events_url":"https://api.github.com/users/d3ledger/received_events","type":"Organization","site_admin":false},"repo":{"id":129921969,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5MjE5Njk=","name":"notary","full_name":"d3ledger/notary","owner":{"login":"d3ledger","id":31348469,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxMzQ4NDY5","avatar_url":"https://avatars1.githubusercontent.com/u/31348469?v=4","gravatar_id":"","url":"https://api.github.com/users/d3ledger","html_url":"https://github.com/d3ledger","followers_url":"https://api.github.com/users/d3ledger/followers","following_url":"https://api.github.com/users/d3ledger/following{/other_user}","gists_url":"https://api.github.com/users/d3ledger/gists{/gist_id}","starred_url":"https://api.github.com/users/d3ledger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d3ledger/subscriptions","organizations_url":"https://api.github.com/users/d3ledger/orgs","repos_url":"https://api.github.com/users/d3ledger/repos","events_url":"https://api.github.com/users/d3ledger/events{/privacy}","received_events_url":"https://api.github.com/users/d3ledger/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/d3ledger/notary","description":"Backend code for a D3 notary","fork":false,"url":"https://api.github.com/repos/d3ledger/notary","forks_url":"https://api.github.com/repos/d3ledger/notary/forks","keys_url":"https://api.github.com/repos/d3ledger/notary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/d3ledger/notary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/d3ledger/notary/teams","hooks_url":"https://api.github.com/repos/d3ledger/notary/hooks","issue_events_url":"https://api.github.com/repos/d3ledger/notary/issues/events{/number}","events_url":"https://api.github.com/repos/d3ledger/notary/events","assignees_url":"https://api.github.com/repos/d3ledger/notary/assignees{/user}","branches_url":"https://api.github.com/repos/d3ledger/notary/branches{/branch}","tags_url":"https://api.github.com/repos/d3ledger/notary/tags","blobs_url":"https://api.github.com/repos/d3ledger/notary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/d3ledger/notary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/d3ledger/notary/git/refs{/sha}","trees_url":"https://api.github.com/repos/d3ledger/notary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/d3ledger/notary/statuses/{sha}","languages_url":"https://api.github.com/repos/d3ledger/notary/languages","stargazers_url":"https://api.github.com/repos/d3ledger/notary/stargazers","contributors_url":"https://api.github.com/repos/d3ledger/notary/contributors","subscribers_url":"https://api.github.com/repos/d3ledger/notary/subscribers","subscription_url":"https://api.github.com/repos/d3ledger/notary/subscription","commits_url":"https://api.github.com/repos/d3ledger/notary/commits{/sha}","git_commits_url":"https://api.github.com/repos/d3ledger/notary/git/commits{/sha}","comments_url":"https://api.github.com/repos/d3ledger/notary/comments{/number}","issue_comment_url":"https://api.github.com/repos/d3ledger/notary/issues/comments{/number}","contents_url":"https://api.github.com/repos/d3ledger/notary/contents/{+path}","compare_url":"https://api.github.com/repos/d3ledger/notary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/d3ledger/notary/merges","archive_url":"https://api.github.com/repos/d3ledger/notary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/d3ledger/notary/downloads","issues_url":"https://api.github.com/repos/d3ledger/notary/issues{/number}","pulls_url":"https://api.github.com/repos/d3ledger/notary/pulls{/number}","milestones_url":"https://api.github.com/repos/d3ledger/notary/milestones{/number}","notifications_url":"https://api.github.com/repos/d3ledger/notary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/d3ledger/notary/labels{/name}","releases_url":"https://api.github.com/repos/d3ledger/notary/releases{/id}","deployments_url":"https://api.github.com/repos/d3ledger/notary/deployments","created_at":"2018-04-17T15:01:56Z","updated_at":"2018-06-19T10:42:34Z","pushed_at":"2018-06-20T11:45:31Z","git_url":"git://github.com/d3ledger/notary.git","ssh_url":"git@github.com:d3ledger/notary.git","clone_url":"https://github.com/d3ledger/notary.git","svn_url":"https://github.com/d3ledger/notary","homepage":"","size":31124,"stargazers_count":2,"watchers_count":2,"language":"Kotlin","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":4,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/d3ledger/notary/pulls/46"},"html":{"href":"https://github.com/d3ledger/notary/pull/46"},"issue":{"href":"https://api.github.com/repos/d3ledger/notary/issues/46"},"comments":{"href":"https://api.github.com/repos/d3ledger/notary/issues/46/comments"},"review_comments":{"href":"https://api.github.com/repos/d3ledger/notary/pulls/46/comments"},"review_comment":{"href":"https://api.github.com/repos/d3ledger/notary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/d3ledger/notary/pulls/46/commits"},"statuses":{"href":"https://api.github.com/repos/d3ledger/notary/statuses/b35b61b57c4770b130084aeec5da1fa3f0b8c346"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"Alexey-N-Chernyshov"}}