{"action":"opened","number":42,"pull_request":{"url":"https://api.github.com/repos/novoda/bintray-release/pulls/42","id":33119517,"html_url":"https://github.com/novoda/bintray-release/pull/42","diff_url":"https://github.com/novoda/bintray-release/pull/42.diff","patch_url":"https://github.com/novoda/bintray-release/pull/42.patch","issue_url":"https://api.github.com/repos/novoda/bintray-release/issues/42","number":42,"state":"open","locked":false,"title":"applying the publication name to the task creation","user":{"login":"ouchadam","id":1848238,"avatar_url":"https://avatars.githubusercontent.com/u/1848238?v=3","gravatar_id":"","url":"https://api.github.com/users/ouchadam","html_url":"https://github.com/ouchadam","followers_url":"https://api.github.com/users/ouchadam/followers","following_url":"https://api.github.com/users/ouchadam/following{/other_user}","gists_url":"https://api.github.com/users/ouchadam/gists{/gist_id}","starred_url":"https://api.github.com/users/ouchadam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ouchadam/subscriptions","organizations_url":"https://api.github.com/users/ouchadam/orgs","repos_url":"https://api.github.com/users/ouchadam/repos","events_url":"https://api.github.com/users/ouchadam/events{/privacy}","received_events_url":"https://api.github.com/users/ouchadam/received_events","type":"User","site_admin":false},"body":"Adds the publication name to the artifact task creation, this will fix errors when providing custom publications \r\n\r\n![screen shot 2015-04-12 at 13 47 42](https://cloud.githubusercontent.com/assets/1848238/7105629/939c41a2-e11a-11e4-8e4f-da94ef2b6117.png)\r\n\r\nThis means you can now do this \r\n\r\n```groovy\r\npublish {\r\n    userOrg = 'novoda'\r\n    groupId = 'com.novoda'\r\n    artifactId = rootProject.name\r\n    version = project.version\r\n\r\n    description = 'Super duper easy way to release your Android and other artifacts to bintray'\r\n    website = \"https://github.com/novoda/${rootProject.name}\"\r\n\r\n    publishing {\r\n        publications {\r\n            superPublication(MavenPublication) {\r\n                groupId project.publish.groupId\r\n                artifactId project.publish.artifactId\r\n                version project.publish.version\r\n\r\n                Artifacts artifacts = new JavaArtifacts()\r\n\r\n                artifacts.all(it.name, project).each {\r\n                    delegate.artifact it\r\n                }\r\n\r\n                from artifacts.from(project)\r\n            }\r\n        }\r\n    }\r\n\r\n    publications =[\"superPublication\"]\r\n\r\n}\r\n```\r\n\r\n![screen shot 2015-04-12 at 13 58 02](https://cloud.githubusercontent.com/assets/1848238/7105669/009c9da0-e11c-11e4-8783-f259e7e614cf.png)\r\n","created_at":"2015-04-12T12:58:37Z","updated_at":"2015-04-12T12:58:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/novoda/bintray-release/pulls/42/commits","review_comments_url":"https://api.github.com/repos/novoda/bintray-release/pulls/42/comments","review_comment_url":"https://api.github.com/repos/novoda/bintray-release/pulls/comments{/number}","comments_url":"https://api.github.com/repos/novoda/bintray-release/issues/42/comments","statuses_url":"https://api.github.com/repos/novoda/bintray-release/statuses/842e8c738f4f4bd04013247582e00d7ef4087bb7","head":{"label":"novoda:41_allow_custom_publications","ref":"41_allow_custom_publications","sha":"842e8c738f4f4bd04013247582e00d7ef4087bb7","user":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"repo":{"id":25312557,"name":"bintray-release","full_name":"novoda/bintray-release","owner":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novoda/bintray-release","description":"A helper for releasing from gradle up to bintray","fork":false,"url":"https://api.github.com/repos/novoda/bintray-release","forks_url":"https://api.github.com/repos/novoda/bintray-release/forks","keys_url":"https://api.github.com/repos/novoda/bintray-release/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novoda/bintray-release/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novoda/bintray-release/teams","hooks_url":"https://api.github.com/repos/novoda/bintray-release/hooks","issue_events_url":"https://api.github.com/repos/novoda/bintray-release/issues/events{/number}","events_url":"https://api.github.com/repos/novoda/bintray-release/events","assignees_url":"https://api.github.com/repos/novoda/bintray-release/assignees{/user}","branches_url":"https://api.github.com/repos/novoda/bintray-release/branches{/branch}","tags_url":"https://api.github.com/repos/novoda/bintray-release/tags","blobs_url":"https://api.github.com/repos/novoda/bintray-release/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novoda/bintray-release/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novoda/bintray-release/git/refs{/sha}","trees_url":"https://api.github.com/repos/novoda/bintray-release/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novoda/bintray-release/statuses/{sha}","languages_url":"https://api.github.com/repos/novoda/bintray-release/languages","stargazers_url":"https://api.github.com/repos/novoda/bintray-release/stargazers","contributors_url":"https://api.github.com/repos/novoda/bintray-release/contributors","subscribers_url":"https://api.github.com/repos/novoda/bintray-release/subscribers","subscription_url":"https://api.github.com/repos/novoda/bintray-release/subscription","commits_url":"https://api.github.com/repos/novoda/bintray-release/commits{/sha}","git_commits_url":"https://api.github.com/repos/novoda/bintray-release/git/commits{/sha}","comments_url":"https://api.github.com/repos/novoda/bintray-release/comments{/number}","issue_comment_url":"https://api.github.com/repos/novoda/bintray-release/issues/comments{/number}","contents_url":"https://api.github.com/repos/novoda/bintray-release/contents/{+path}","compare_url":"https://api.github.com/repos/novoda/bintray-release/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novoda/bintray-release/merges","archive_url":"https://api.github.com/repos/novoda/bintray-release/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novoda/bintray-release/downloads","issues_url":"https://api.github.com/repos/novoda/bintray-release/issues{/number}","pulls_url":"https://api.github.com/repos/novoda/bintray-release/pulls{/number}","milestones_url":"https://api.github.com/repos/novoda/bintray-release/milestones{/number}","notifications_url":"https://api.github.com/repos/novoda/bintray-release/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novoda/bintray-release/labels{/name}","releases_url":"https://api.github.com/repos/novoda/bintray-release/releases{/id}","created_at":"2014-10-16T17:04:56Z","updated_at":"2015-04-12T10:31:58Z","pushed_at":"2015-04-12T12:45:59Z","git_url":"git://github.com/novoda/bintray-release.git","ssh_url":"git@github.com:novoda/bintray-release.git","clone_url":"https://github.com/novoda/bintray-release.git","svn_url":"https://github.com/novoda/bintray-release","homepage":"","size":804,"stargazers_count":43,"watchers_count":43,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":43,"default_branch":"master"}},"base":{"label":"novoda:master","ref":"master","sha":"a9a2e3f983de588ba6e8c70836a1e3c74ec5faa4","user":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"repo":{"id":25312557,"name":"bintray-release","full_name":"novoda/bintray-release","owner":{"login":"novoda","id":74874,"avatar_url":"https://avatars.githubusercontent.com/u/74874?v=3","gravatar_id":"","url":"https://api.github.com/users/novoda","html_url":"https://github.com/novoda","followers_url":"https://api.github.com/users/novoda/followers","following_url":"https://api.github.com/users/novoda/following{/other_user}","gists_url":"https://api.github.com/users/novoda/gists{/gist_id}","starred_url":"https://api.github.com/users/novoda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/novoda/subscriptions","organizations_url":"https://api.github.com/users/novoda/orgs","repos_url":"https://api.github.com/users/novoda/repos","events_url":"https://api.github.com/users/novoda/events{/privacy}","received_events_url":"https://api.github.com/users/novoda/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/novoda/bintray-release","description":"A helper for releasing from gradle up to bintray","fork":false,"url":"https://api.github.com/repos/novoda/bintray-release","forks_url":"https://api.github.com/repos/novoda/bintray-release/forks","keys_url":"https://api.github.com/repos/novoda/bintray-release/keys{/key_id}","collaborators_url":"https://api.github.com/repos/novoda/bintray-release/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/novoda/bintray-release/teams","hooks_url":"https://api.github.com/repos/novoda/bintray-release/hooks","issue_events_url":"https://api.github.com/repos/novoda/bintray-release/issues/events{/number}","events_url":"https://api.github.com/repos/novoda/bintray-release/events","assignees_url":"https://api.github.com/repos/novoda/bintray-release/assignees{/user}","branches_url":"https://api.github.com/repos/novoda/bintray-release/branches{/branch}","tags_url":"https://api.github.com/repos/novoda/bintray-release/tags","blobs_url":"https://api.github.com/repos/novoda/bintray-release/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/novoda/bintray-release/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/novoda/bintray-release/git/refs{/sha}","trees_url":"https://api.github.com/repos/novoda/bintray-release/git/trees{/sha}","statuses_url":"https://api.github.com/repos/novoda/bintray-release/statuses/{sha}","languages_url":"https://api.github.com/repos/novoda/bintray-release/languages","stargazers_url":"https://api.github.com/repos/novoda/bintray-release/stargazers","contributors_url":"https://api.github.com/repos/novoda/bintray-release/contributors","subscribers_url":"https://api.github.com/repos/novoda/bintray-release/subscribers","subscription_url":"https://api.github.com/repos/novoda/bintray-release/subscription","commits_url":"https://api.github.com/repos/novoda/bintray-release/commits{/sha}","git_commits_url":"https://api.github.com/repos/novoda/bintray-release/git/commits{/sha}","comments_url":"https://api.github.com/repos/novoda/bintray-release/comments{/number}","issue_comment_url":"https://api.github.com/repos/novoda/bintray-release/issues/comments{/number}","contents_url":"https://api.github.com/repos/novoda/bintray-release/contents/{+path}","compare_url":"https://api.github.com/repos/novoda/bintray-release/compare/{base}...{head}","merges_url":"https://api.github.com/repos/novoda/bintray-release/merges","archive_url":"https://api.github.com/repos/novoda/bintray-release/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/novoda/bintray-release/downloads","issues_url":"https://api.github.com/repos/novoda/bintray-release/issues{/number}","pulls_url":"https://api.github.com/repos/novoda/bintray-release/pulls{/number}","milestones_url":"https://api.github.com/repos/novoda/bintray-release/milestones{/number}","notifications_url":"https://api.github.com/repos/novoda/bintray-release/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/novoda/bintray-release/labels{/name}","releases_url":"https://api.github.com/repos/novoda/bintray-release/releases{/id}","created_at":"2014-10-16T17:04:56Z","updated_at":"2015-04-12T10:31:58Z","pushed_at":"2015-04-12T12:45:59Z","git_url":"git://github.com/novoda/bintray-release.git","ssh_url":"git@github.com:novoda/bintray-release.git","clone_url":"https://github.com/novoda/bintray-release.git","svn_url":"https://github.com/novoda/bintray-release","homepage":"","size":804,"stargazers_count":43,"watchers_count":43,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":12,"forks":4,"open_issues":12,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/42"},"html":{"href":"https://github.com/novoda/bintray-release/pull/42"},"issue":{"href":"https://api.github.com/repos/novoda/bintray-release/issues/42"},"comments":{"href":"https://api.github.com/repos/novoda/bintray-release/issues/42/comments"},"review_comments":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/42/comments"},"review_comment":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/novoda/bintray-release/pulls/42/commits"},"statuses":{"href":"https://api.github.com/repos/novoda/bintray-release/statuses/842e8c738f4f4bd04013247582e00d7ef4087bb7"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":22,"deletions":19,"changed_files":4}}