{"action":"created","comment":{"url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/comments/38937597","id":38937597,"diff_hunk":"@@ -22,23 +26,24 @@ Sample usage:\n     \r\n     apply plugin:'nuget'\r\n \r\n-    nugetPack {\r\n-    \t// this Closure will be applied to the nuspec XMLBuilder\r\n-\t\tnuspec {\r\n-\t\t\tmetadata() {\r\n-\t\t\t\tid archivesBaseName\r\n-\t\t\t\tdelegate.version version\r\n-\t\t\t\ttitle 'project title'\r\n-\t\t\t\tauthors 'Francois Valdy'\r\n-\t\t\t\tdelegate.description '''some looong description...'''\r\n-\t\t\t\t// ...\r\n-\t\t\t}\r\n-\t\t\tdelegate.files() {\r\n-\t\t\t\tdelegate.file(src: 'somefile', target: 'tools')\r\n-\t\t\t}\r\n-\t\t}\r\n+    nugetSpec {\r\n+        // Closure will be applied to XMLBuilder\r","path":"README.md","position":33,"original_position":33,"commit_id":"c765b8f34eb919436303d188acd6e69ee1224c7d","original_commit_id":"c765b8f34eb919436303d188acd6e69ee1224c7d","user":{"login":"gluck","id":604263,"avatar_url":"https://avatars.githubusercontent.com/u/604263?v=3","gravatar_id":"","url":"https://api.github.com/users/gluck","html_url":"https://github.com/gluck","followers_url":"https://api.github.com/users/gluck/followers","following_url":"https://api.github.com/users/gluck/following{/other_user}","gists_url":"https://api.github.com/users/gluck/gists{/gist_id}","starred_url":"https://api.github.com/users/gluck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gluck/subscriptions","organizations_url":"https://api.github.com/users/gluck/orgs","repos_url":"https://api.github.com/users/gluck/repos","events_url":"https://api.github.com/users/gluck/events{/privacy}","received_events_url":"https://api.github.com/users/gluck/received_events","type":"User","site_admin":false},"body":"doc is now a bit outdated since the sample is using a map and not a closure","created_at":"2015-09-08T15:12:26Z","updated_at":"2015-09-08T15:12:26Z","html_url":"https://github.com/Ullink/gradle-nuget-plugin/pull/21#discussion_r38937597","pull_request_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/comments/38937597"},"html":{"href":"https://github.com/Ullink/gradle-nuget-plugin/pull/21#discussion_r38937597"},"pull_request":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/21","id":44129746,"html_url":"https://github.com/Ullink/gradle-nuget-plugin/pull/21","diff_url":"https://github.com/Ullink/gradle-nuget-plugin/pull/21.diff","patch_url":"https://github.com/Ullink/gradle-nuget-plugin/pull/21.patch","issue_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/issues/21","number":21,"state":"open","locked":false,"title":"Extract task nugetSpec from nugetPack to generate nuspec","user":{"login":"ngyukman","id":13834821,"avatar_url":"https://avatars.githubusercontent.com/u/13834821?v=3","gravatar_id":"","url":"https://api.github.com/users/ngyukman","html_url":"https://github.com/ngyukman","followers_url":"https://api.github.com/users/ngyukman/followers","following_url":"https://api.github.com/users/ngyukman/following{/other_user}","gists_url":"https://api.github.com/users/ngyukman/gists{/gist_id}","starred_url":"https://api.github.com/users/ngyukman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngyukman/subscriptions","organizations_url":"https://api.github.com/users/ngyukman/orgs","repos_url":"https://api.github.com/users/ngyukman/repos","events_url":"https://api.github.com/users/ngyukman/events{/privacy}","received_events_url":"https://api.github.com/users/ngyukman/received_events","type":"User","site_admin":false},"body":"On top of previous pull request\r\n\r\n- support Map for defining nuspec in nugetSpec which could allow more flexible nuspec generation like doing modification before generation\r\n- attemp to change the way on getting output based on task dependency, to avoid depending the output in configuration phase but could be changed during execution","created_at":"2015-09-03T16:42:59Z","updated_at":"2015-09-08T15:12:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d694bf224d41a926bfb7637dc180f663b1754ab4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/21/commits","review_comments_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/21/comments","review_comment_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/issues/21/comments","statuses_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/statuses/c765b8f34eb919436303d188acd6e69ee1224c7d","head":{"label":"ngyukman:split2","ref":"split2","sha":"c765b8f34eb919436303d188acd6e69ee1224c7d","user":{"login":"ngyukman","id":13834821,"avatar_url":"https://avatars.githubusercontent.com/u/13834821?v=3","gravatar_id":"","url":"https://api.github.com/users/ngyukman","html_url":"https://github.com/ngyukman","followers_url":"https://api.github.com/users/ngyukman/followers","following_url":"https://api.github.com/users/ngyukman/following{/other_user}","gists_url":"https://api.github.com/users/ngyukman/gists{/gist_id}","starred_url":"https://api.github.com/users/ngyukman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngyukman/subscriptions","organizations_url":"https://api.github.com/users/ngyukman/orgs","repos_url":"https://api.github.com/users/ngyukman/repos","events_url":"https://api.github.com/users/ngyukman/events{/privacy}","received_events_url":"https://api.github.com/users/ngyukman/received_events","type":"User","site_admin":false},"repo":{"id":41192925,"name":"gradle-nuget-plugin","full_name":"ngyukman/gradle-nuget-plugin","owner":{"login":"ngyukman","id":13834821,"avatar_url":"https://avatars.githubusercontent.com/u/13834821?v=3","gravatar_id":"","url":"https://api.github.com/users/ngyukman","html_url":"https://github.com/ngyukman","followers_url":"https://api.github.com/users/ngyukman/followers","following_url":"https://api.github.com/users/ngyukman/following{/other_user}","gists_url":"https://api.github.com/users/ngyukman/gists{/gist_id}","starred_url":"https://api.github.com/users/ngyukman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngyukman/subscriptions","organizations_url":"https://api.github.com/users/ngyukman/orgs","repos_url":"https://api.github.com/users/ngyukman/repos","events_url":"https://api.github.com/users/ngyukman/events{/privacy}","received_events_url":"https://api.github.com/users/ngyukman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ngyukman/gradle-nuget-plugin","description":"Executes NuGet from a gradle build","fork":true,"url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin","forks_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/forks","keys_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/teams","hooks_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/hooks","issue_events_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/events","assignees_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/tags","blobs_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/languages","stargazers_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/stargazers","contributors_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/contributors","subscribers_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/subscribers","subscription_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/subscription","commits_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/merges","archive_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/downloads","issues_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/labels{/name}","releases_url":"https://api.github.com/repos/ngyukman/gradle-nuget-plugin/releases{/id}","created_at":"2015-08-22T05:47:04Z","updated_at":"2015-08-22T05:47:05Z","pushed_at":"2015-09-08T15:07:04Z","git_url":"git://github.com/ngyukman/gradle-nuget-plugin.git","ssh_url":"git@github.com:ngyukman/gradle-nuget-plugin.git","clone_url":"https://github.com/ngyukman/gradle-nuget-plugin.git","svn_url":"https://github.com/ngyukman/gradle-nuget-plugin","homepage":"","size":235,"stargazers_count":0,"watchers_count":0,"language":"Groovy","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":"Ullink:master","ref":"master","sha":"8b98bf6dbd22aa0806336ce374fecf993ea01071","user":{"login":"Ullink","id":2707780,"avatar_url":"https://avatars.githubusercontent.com/u/2707780?v=3","gravatar_id":"","url":"https://api.github.com/users/Ullink","html_url":"https://github.com/Ullink","followers_url":"https://api.github.com/users/Ullink/followers","following_url":"https://api.github.com/users/Ullink/following{/other_user}","gists_url":"https://api.github.com/users/Ullink/gists{/gist_id}","starred_url":"https://api.github.com/users/Ullink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ullink/subscriptions","organizations_url":"https://api.github.com/users/Ullink/orgs","repos_url":"https://api.github.com/users/Ullink/repos","events_url":"https://api.github.com/users/Ullink/events{/privacy}","received_events_url":"https://api.github.com/users/Ullink/received_events","type":"Organization","site_admin":false},"repo":{"id":6956593,"name":"gradle-nuget-plugin","full_name":"Ullink/gradle-nuget-plugin","owner":{"login":"Ullink","id":2707780,"avatar_url":"https://avatars.githubusercontent.com/u/2707780?v=3","gravatar_id":"","url":"https://api.github.com/users/Ullink","html_url":"https://github.com/Ullink","followers_url":"https://api.github.com/users/Ullink/followers","following_url":"https://api.github.com/users/Ullink/following{/other_user}","gists_url":"https://api.github.com/users/Ullink/gists{/gist_id}","starred_url":"https://api.github.com/users/Ullink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ullink/subscriptions","organizations_url":"https://api.github.com/users/Ullink/orgs","repos_url":"https://api.github.com/users/Ullink/repos","events_url":"https://api.github.com/users/Ullink/events{/privacy}","received_events_url":"https://api.github.com/users/Ullink/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Ullink/gradle-nuget-plugin","description":"Executes NuGet from a gradle build","fork":false,"url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin","forks_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/forks","keys_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/teams","hooks_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/hooks","issue_events_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/events","assignees_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/tags","blobs_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/languages","stargazers_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/stargazers","contributors_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/contributors","subscribers_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/subscribers","subscription_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/subscription","commits_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/merges","archive_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/downloads","issues_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/labels{/name}","releases_url":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/releases{/id}","created_at":"2012-12-01T16:55:57Z","updated_at":"2015-08-28T10:28:04Z","pushed_at":"2015-09-08T15:07:04Z","git_url":"git://github.com/Ullink/gradle-nuget-plugin.git","ssh_url":"git@github.com:Ullink/gradle-nuget-plugin.git","clone_url":"https://github.com/Ullink/gradle-nuget-plugin.git","svn_url":"https://github.com/Ullink/gradle-nuget-plugin","homepage":"","size":402,"stargazers_count":7,"watchers_count":7,"language":"Groovy","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":2,"forks":14,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/21"},"html":{"href":"https://github.com/Ullink/gradle-nuget-plugin/pull/21"},"issue":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/issues/21"},"comments":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/Ullink/gradle-nuget-plugin/statuses/c765b8f34eb919436303d188acd6e69ee1224c7d"}}}}