{"action":"created","comment":{"url":"https://api.github.com/repos/logzio/jmx2graphite/pulls/comments/67686350","id":67686350,"diff_hunk":"@@ -41,6 +42,28 @@ distributions {\n     }\n }\n \n+jar {\n+    manifest {\n+        attributes (\"Main-Class\" : \"io.logz.jmx2graphite.Jmx2GraphiteJolokia\",\n+                    \"Premain-Class\": \"io.logz.jmx2graphite.Jmx2GraphiteJavaAgent\")\n+    }\n+}\n+\n+task javaAgent(dependsOn: [shadowJar]) {\n+}\n+\n+shadowJar {\n+    manifest.from jar.manifest\n+    classifier = 'javaagent'\n+    relocate 'org.apache', 'io.logz.org.apache'\n+    relocate 'com.fasterxml.jackson', 'io.logz.com.fasterxml.jackson'\n+    relocate 'io.dropwizard.metrics', 'io.logz.ch.io.dropwizard.metrics'\n+    relocate 'com.typesafe', 'io.logz.com.typesafe'","path":"build.gradle","position":56,"original_position":56,"commit_id":"60feb2a87bdad2af42052c317d0e84d5a6c7cfe5","original_commit_id":"b188a3f1b5ead21170921747d57493db15e8ef28","user":{"login":"asafm","id":989425,"avatar_url":"https://avatars.githubusercontent.com/u/989425?v=3","gravatar_id":"","url":"https://api.github.com/users/asafm","html_url":"https://github.com/asafm","followers_url":"https://api.github.com/users/asafm/followers","following_url":"https://api.github.com/users/asafm/following{/other_user}","gists_url":"https://api.github.com/users/asafm/gists{/gist_id}","starred_url":"https://api.github.com/users/asafm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asafm/subscriptions","organizations_url":"https://api.github.com/users/asafm/orgs","repos_url":"https://api.github.com/users/asafm/repos","events_url":"https://api.github.com/users/asafm/events{/privacy}","received_events_url":"https://api.github.com/users/asafm/received_events","type":"User","site_admin":false},"body":"how about shadowing all classes which does not start with io.logz?","created_at":"2016-06-20T13:12:37Z","updated_at":"2016-06-20T13:12:37Z","html_url":"https://github.com/logzio/jmx2graphite/pull/7#discussion_r67686350","pull_request_url":"https://api.github.com/repos/logzio/jmx2graphite/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/logzio/jmx2graphite/pulls/comments/67686350"},"html":{"href":"https://github.com/logzio/jmx2graphite/pull/7#discussion_r67686350"},"pull_request":{"href":"https://api.github.com/repos/logzio/jmx2graphite/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/logzio/jmx2graphite/pulls/7","id":73895017,"html_url":"https://github.com/logzio/jmx2graphite/pull/7","diff_url":"https://github.com/logzio/jmx2graphite/pull/7.diff","patch_url":"https://github.com/logzio/jmx2graphite/pull/7.patch","issue_url":"https://api.github.com/repos/logzio/jmx2graphite/issues/7","number":7,"state":"open","locked":false,"title":"Feature/java agent","user":{"login":"roiravhon","id":8061130,"avatar_url":"https://avatars.githubusercontent.com/u/8061130?v=3","gravatar_id":"","url":"https://api.github.com/users/roiravhon","html_url":"https://github.com/roiravhon","followers_url":"https://api.github.com/users/roiravhon/followers","following_url":"https://api.github.com/users/roiravhon/following{/other_user}","gists_url":"https://api.github.com/users/roiravhon/gists{/gist_id}","starred_url":"https://api.github.com/users/roiravhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roiravhon/subscriptions","organizations_url":"https://api.github.com/users/roiravhon/orgs","repos_url":"https://api.github.com/users/roiravhon/repos","events_url":"https://api.github.com/users/roiravhon/events{/privacy}","received_events_url":"https://api.github.com/users/roiravhon/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-15T11:29:19Z","updated_at":"2016-06-20T13:12:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d1eb8ffb09460162b799b7c2e639f5c9313303ae","assignee":{"login":"asafm","id":989425,"avatar_url":"https://avatars.githubusercontent.com/u/989425?v=3","gravatar_id":"","url":"https://api.github.com/users/asafm","html_url":"https://github.com/asafm","followers_url":"https://api.github.com/users/asafm/followers","following_url":"https://api.github.com/users/asafm/following{/other_user}","gists_url":"https://api.github.com/users/asafm/gists{/gist_id}","starred_url":"https://api.github.com/users/asafm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asafm/subscriptions","organizations_url":"https://api.github.com/users/asafm/orgs","repos_url":"https://api.github.com/users/asafm/repos","events_url":"https://api.github.com/users/asafm/events{/privacy}","received_events_url":"https://api.github.com/users/asafm/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/logzio/jmx2graphite/pulls/7/commits","review_comments_url":"https://api.github.com/repos/logzio/jmx2graphite/pulls/7/comments","review_comment_url":"https://api.github.com/repos/logzio/jmx2graphite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/logzio/jmx2graphite/issues/7/comments","statuses_url":"https://api.github.com/repos/logzio/jmx2graphite/statuses/60feb2a87bdad2af42052c317d0e84d5a6c7cfe5","head":{"label":"logzio:feature/java-agent","ref":"feature/java-agent","sha":"60feb2a87bdad2af42052c317d0e84d5a6c7cfe5","user":{"login":"logzio","id":7902073,"avatar_url":"https://avatars.githubusercontent.com/u/7902073?v=3","gravatar_id":"","url":"https://api.github.com/users/logzio","html_url":"https://github.com/logzio","followers_url":"https://api.github.com/users/logzio/followers","following_url":"https://api.github.com/users/logzio/following{/other_user}","gists_url":"https://api.github.com/users/logzio/gists{/gist_id}","starred_url":"https://api.github.com/users/logzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logzio/subscriptions","organizations_url":"https://api.github.com/users/logzio/orgs","repos_url":"https://api.github.com/users/logzio/repos","events_url":"https://api.github.com/users/logzio/events{/privacy}","received_events_url":"https://api.github.com/users/logzio/received_events","type":"Organization","site_admin":false},"repo":{"id":46633465,"name":"jmx2graphite","full_name":"logzio/jmx2graphite","owner":{"login":"logzio","id":7902073,"avatar_url":"https://avatars.githubusercontent.com/u/7902073?v=3","gravatar_id":"","url":"https://api.github.com/users/logzio","html_url":"https://github.com/logzio","followers_url":"https://api.github.com/users/logzio/followers","following_url":"https://api.github.com/users/logzio/following{/other_user}","gists_url":"https://api.github.com/users/logzio/gists{/gist_id}","starred_url":"https://api.github.com/users/logzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logzio/subscriptions","organizations_url":"https://api.github.com/users/logzio/orgs","repos_url":"https://api.github.com/users/logzio/repos","events_url":"https://api.github.com/users/logzio/events{/privacy}","received_events_url":"https://api.github.com/users/logzio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/logzio/jmx2graphite","description":"JMX to Graphite every x seconds in one command line (Docker based)","fork":false,"url":"https://api.github.com/repos/logzio/jmx2graphite","forks_url":"https://api.github.com/repos/logzio/jmx2graphite/forks","keys_url":"https://api.github.com/repos/logzio/jmx2graphite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/logzio/jmx2graphite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/logzio/jmx2graphite/teams","hooks_url":"https://api.github.com/repos/logzio/jmx2graphite/hooks","issue_events_url":"https://api.github.com/repos/logzio/jmx2graphite/issues/events{/number}","events_url":"https://api.github.com/repos/logzio/jmx2graphite/events","assignees_url":"https://api.github.com/repos/logzio/jmx2graphite/assignees{/user}","branches_url":"https://api.github.com/repos/logzio/jmx2graphite/branches{/branch}","tags_url":"https://api.github.com/repos/logzio/jmx2graphite/tags","blobs_url":"https://api.github.com/repos/logzio/jmx2graphite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/logzio/jmx2graphite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/logzio/jmx2graphite/git/refs{/sha}","trees_url":"https://api.github.com/repos/logzio/jmx2graphite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/logzio/jmx2graphite/statuses/{sha}","languages_url":"https://api.github.com/repos/logzio/jmx2graphite/languages","stargazers_url":"https://api.github.com/repos/logzio/jmx2graphite/stargazers","contributors_url":"https://api.github.com/repos/logzio/jmx2graphite/contributors","subscribers_url":"https://api.github.com/repos/logzio/jmx2graphite/subscribers","subscription_url":"https://api.github.com/repos/logzio/jmx2graphite/subscription","commits_url":"https://api.github.com/repos/logzio/jmx2graphite/commits{/sha}","git_commits_url":"https://api.github.com/repos/logzio/jmx2graphite/git/commits{/sha}","comments_url":"https://api.github.com/repos/logzio/jmx2graphite/comments{/number}","issue_comment_url":"https://api.github.com/repos/logzio/jmx2graphite/issues/comments{/number}","contents_url":"https://api.github.com/repos/logzio/jmx2graphite/contents/{+path}","compare_url":"https://api.github.com/repos/logzio/jmx2graphite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/logzio/jmx2graphite/merges","archive_url":"https://api.github.com/repos/logzio/jmx2graphite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/logzio/jmx2graphite/downloads","issues_url":"https://api.github.com/repos/logzio/jmx2graphite/issues{/number}","pulls_url":"https://api.github.com/repos/logzio/jmx2graphite/pulls{/number}","milestones_url":"https://api.github.com/repos/logzio/jmx2graphite/milestones{/number}","notifications_url":"https://api.github.com/repos/logzio/jmx2graphite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/logzio/jmx2graphite/labels{/name}","releases_url":"https://api.github.com/repos/logzio/jmx2graphite/releases{/id}","deployments_url":"https://api.github.com/repos/logzio/jmx2graphite/deployments","created_at":"2015-11-21T20:54:44Z","updated_at":"2016-04-08T15:37:17Z","pushed_at":"2016-06-20T09:00:02Z","git_url":"git://github.com/logzio/jmx2graphite.git","ssh_url":"git@github.com:logzio/jmx2graphite.git","clone_url":"https://github.com/logzio/jmx2graphite.git","svn_url":"https://github.com/logzio/jmx2graphite","homepage":"","size":140,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":11,"default_branch":"master"}},"base":{"label":"logzio:master","ref":"master","sha":"3f19c46c038bae554bfd75af390fac4e0a173646","user":{"login":"logzio","id":7902073,"avatar_url":"https://avatars.githubusercontent.com/u/7902073?v=3","gravatar_id":"","url":"https://api.github.com/users/logzio","html_url":"https://github.com/logzio","followers_url":"https://api.github.com/users/logzio/followers","following_url":"https://api.github.com/users/logzio/following{/other_user}","gists_url":"https://api.github.com/users/logzio/gists{/gist_id}","starred_url":"https://api.github.com/users/logzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logzio/subscriptions","organizations_url":"https://api.github.com/users/logzio/orgs","repos_url":"https://api.github.com/users/logzio/repos","events_url":"https://api.github.com/users/logzio/events{/privacy}","received_events_url":"https://api.github.com/users/logzio/received_events","type":"Organization","site_admin":false},"repo":{"id":46633465,"name":"jmx2graphite","full_name":"logzio/jmx2graphite","owner":{"login":"logzio","id":7902073,"avatar_url":"https://avatars.githubusercontent.com/u/7902073?v=3","gravatar_id":"","url":"https://api.github.com/users/logzio","html_url":"https://github.com/logzio","followers_url":"https://api.github.com/users/logzio/followers","following_url":"https://api.github.com/users/logzio/following{/other_user}","gists_url":"https://api.github.com/users/logzio/gists{/gist_id}","starred_url":"https://api.github.com/users/logzio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logzio/subscriptions","organizations_url":"https://api.github.com/users/logzio/orgs","repos_url":"https://api.github.com/users/logzio/repos","events_url":"https://api.github.com/users/logzio/events{/privacy}","received_events_url":"https://api.github.com/users/logzio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/logzio/jmx2graphite","description":"JMX to Graphite every x seconds in one command line (Docker based)","fork":false,"url":"https://api.github.com/repos/logzio/jmx2graphite","forks_url":"https://api.github.com/repos/logzio/jmx2graphite/forks","keys_url":"https://api.github.com/repos/logzio/jmx2graphite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/logzio/jmx2graphite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/logzio/jmx2graphite/teams","hooks_url":"https://api.github.com/repos/logzio/jmx2graphite/hooks","issue_events_url":"https://api.github.com/repos/logzio/jmx2graphite/issues/events{/number}","events_url":"https://api.github.com/repos/logzio/jmx2graphite/events","assignees_url":"https://api.github.com/repos/logzio/jmx2graphite/assignees{/user}","branches_url":"https://api.github.com/repos/logzio/jmx2graphite/branches{/branch}","tags_url":"https://api.github.com/repos/logzio/jmx2graphite/tags","blobs_url":"https://api.github.com/repos/logzio/jmx2graphite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/logzio/jmx2graphite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/logzio/jmx2graphite/git/refs{/sha}","trees_url":"https://api.github.com/repos/logzio/jmx2graphite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/logzio/jmx2graphite/statuses/{sha}","languages_url":"https://api.github.com/repos/logzio/jmx2graphite/languages","stargazers_url":"https://api.github.com/repos/logzio/jmx2graphite/stargazers","contributors_url":"https://api.github.com/repos/logzio/jmx2graphite/contributors","subscribers_url":"https://api.github.com/repos/logzio/jmx2graphite/subscribers","subscription_url":"https://api.github.com/repos/logzio/jmx2graphite/subscription","commits_url":"https://api.github.com/repos/logzio/jmx2graphite/commits{/sha}","git_commits_url":"https://api.github.com/repos/logzio/jmx2graphite/git/commits{/sha}","comments_url":"https://api.github.com/repos/logzio/jmx2graphite/comments{/number}","issue_comment_url":"https://api.github.com/repos/logzio/jmx2graphite/issues/comments{/number}","contents_url":"https://api.github.com/repos/logzio/jmx2graphite/contents/{+path}","compare_url":"https://api.github.com/repos/logzio/jmx2graphite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/logzio/jmx2graphite/merges","archive_url":"https://api.github.com/repos/logzio/jmx2graphite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/logzio/jmx2graphite/downloads","issues_url":"https://api.github.com/repos/logzio/jmx2graphite/issues{/number}","pulls_url":"https://api.github.com/repos/logzio/jmx2graphite/pulls{/number}","milestones_url":"https://api.github.com/repos/logzio/jmx2graphite/milestones{/number}","notifications_url":"https://api.github.com/repos/logzio/jmx2graphite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/logzio/jmx2graphite/labels{/name}","releases_url":"https://api.github.com/repos/logzio/jmx2graphite/releases{/id}","deployments_url":"https://api.github.com/repos/logzio/jmx2graphite/deployments","created_at":"2015-11-21T20:54:44Z","updated_at":"2016-04-08T15:37:17Z","pushed_at":"2016-06-20T09:00:02Z","git_url":"git://github.com/logzio/jmx2graphite.git","ssh_url":"git@github.com:logzio/jmx2graphite.git","clone_url":"https://github.com/logzio/jmx2graphite.git","svn_url":"https://github.com/logzio/jmx2graphite","homepage":"","size":140,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/logzio/jmx2graphite/pulls/7"},"html":{"href":"https://github.com/logzio/jmx2graphite/pull/7"},"issue":{"href":"https://api.github.com/repos/logzio/jmx2graphite/issues/7"},"comments":{"href":"https://api.github.com/repos/logzio/jmx2graphite/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/logzio/jmx2graphite/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/logzio/jmx2graphite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/logzio/jmx2graphite/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/logzio/jmx2graphite/statuses/60feb2a87bdad2af42052c317d0e84d5a6c7cfe5"}}}}
{"actor":{"display_login":"asafm"}}