{"action":"created","issue":{"url":"https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin/issues/5","repository_url":"https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin","labels_url":"https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin/issues/5/comments","events_url":"https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin/issues/5/events","html_url":"https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/5","id":157812071,"number":5,"title":"NoSuchMethodError when using github integration","user":{"login":"cpw","id":1217211,"avatar_url":"https://avatars.githubusercontent.com/u/1217211?v=3","gravatar_id":"","url":"https://api.github.com/users/cpw","html_url":"https://github.com/cpw","followers_url":"https://api.github.com/users/cpw/followers","following_url":"https://api.github.com/users/cpw/following{/other_user}","gists_url":"https://api.github.com/users/cpw/gists{/gist_id}","starred_url":"https://api.github.com/users/cpw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cpw/subscriptions","organizations_url":"https://api.github.com/users/cpw/orgs","repos_url":"https://api.github.com/users/cpw/repos","events_url":"https://api.github.com/users/cpw/events{/privacy}","received_events_url":"https://api.github.com/users/cpw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-01T02:44:37Z","updated_at":"2016-06-02T18:15:37Z","closed_at":null,"body":"Hi, \r\nI am trying to use the \"gitHubApi\" to fetch issue names, and am experiencing a \"NoSuchMethodError\" when trying to read from github.\r\n\r\nThis is a ForgeGradle project so it's possible there's a collision with the GSON version or something?\r\n\r\nbuild.gradle snippet:\r\n\r\n```\r\ntask makeChangelog(type: se.bjurr.gitchangelog.plugin.gradle.GitChangelogTask) {\r\n    filePath = \"CHANGELOG.md\"\r\n    untaggedName = \"Current release ${project.version}\"\r\n    gitHubApi = \"https://api.github.com/repos/cpw/inventorysorter\"\r\n    templateContent = \"\"\"\r\n# Inventory sorter changelog history\r\n## Version ${project.version} for minecraft ${project.minecraft.version}\r\n\r\n{{#tags}}\r\n## {{name}}\r\n-----------\r\n\r\n{{issues}}\r\n### {{name}}\r\n{{#commits}}\r\n* {{{message}}}\r\n{{/commits}}\r\n{{/tags}}\r\n    \"\"\"\r\n}\r\n\r\n```\r\n\r\nFull build.gradle is here: https://github.com/cpw/inventorysorter/blob/master/build.gradle (I may or may not have pushed the new changelog code, hence copied above).\r\n\r\nStacktrace: https://gist.github.com/cpw/bafa5b31d04161e3863b34d554c09b20\r\n\r\nIf I comment out the gitHubApi line, it works fine. Accessing the URL works fine from browser and command line (not a busy project by any stretch of the imagination).\r\n"},"comment":{"url":"https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin/issues/comments/223376237","html_url":"https://github.com/tomasbjerre/git-changelog-gradle-plugin/issues/5#issuecomment-223376237","issue_url":"https://api.github.com/repos/tomasbjerre/git-changelog-gradle-plugin/issues/5","id":223376237,"user":{"login":"tomasbjerre","id":439571,"avatar_url":"https://avatars.githubusercontent.com/u/439571?v=3","gravatar_id":"","url":"https://api.github.com/users/tomasbjerre","html_url":"https://github.com/tomasbjerre","followers_url":"https://api.github.com/users/tomasbjerre/followers","following_url":"https://api.github.com/users/tomasbjerre/following{/other_user}","gists_url":"https://api.github.com/users/tomasbjerre/gists{/gist_id}","starred_url":"https://api.github.com/users/tomasbjerre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomasbjerre/subscriptions","organizations_url":"https://api.github.com/users/tomasbjerre/orgs","repos_url":"https://api.github.com/users/tomasbjerre/repos","events_url":"https://api.github.com/users/tomasbjerre/events{/privacy}","received_events_url":"https://api.github.com/users/tomasbjerre/received_events","type":"User","site_admin":false},"created_at":"2016-06-02T18:15:36Z","updated_at":"2016-06-02T18:15:36Z","body":"I would suggest using 2.6.2 here:\r\nhttps://github.com/MinecraftForge/ForgeGradle/blob/master/build.gradle#L75\r\nAnd try that. As you say, its a dependency collision with Gson."}}
{"actor":{"display_login":"tomasbjerre"}}