{"action":"closed","number":89,"pull_request":{"url":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls/89","id":194831676,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0ODMxNjc2","html_url":"https://github.com/cookpad/license-tools-plugin/pull/89","diff_url":"https://github.com/cookpad/license-tools-plugin/pull/89.diff","patch_url":"https://github.com/cookpad/license-tools-plugin/pull/89.patch","issue_url":"https://api.github.com/repos/cookpad/license-tools-plugin/issues/89","number":89,"state":"closed","locked":false,"title":"Fix resolved artifacts over android-gradle-plugin 3.0","user":{"login":"litmon","id":6662768,"node_id":"MDQ6VXNlcjY2NjI3Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/6662768?v=4","gravatar_id":"","url":"https://api.github.com/users/litmon","html_url":"https://github.com/litmon","followers_url":"https://api.github.com/users/litmon/followers","following_url":"https://api.github.com/users/litmon/following{/other_user}","gists_url":"https://api.github.com/users/litmon/gists{/gist_id}","starred_url":"https://api.github.com/users/litmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litmon/subscriptions","organizations_url":"https://api.github.com/users/litmon/orgs","repos_url":"https://api.github.com/users/litmon/repos","events_url":"https://api.github.com/users/litmon/events{/privacy}","received_events_url":"https://api.github.com/users/litmon/received_events","type":"User","site_admin":false},"body":"When I execute `./gradlew checkLicenses` before some assemble tasks in my project, it failed.\r\n\r\n```\r\n13:47:45 :app:checkLicenses FAILED\r\n13:47:45 \r\n13:47:45 FAILURE: Build failed with an exception.\r\n13:47:45 \r\n13:47:45 * Where:\r\n13:47:45 Build file /workspace/project/app/build.gradle' line: 560\r\n13:47:45 \r\n13:47:45 * What went wrong:\r\n13:47:45 Execution failed for task ':app:checkLicenses'.\r\n13:47:45 > Could not resolve all dependencies for configuration ':app:apiCopy'.\r\n13:47:45    > Could not resolve com.jakewharton.timber:timber:4.6.1.\r\n13:47:45      Required by:\r\n13:47:45          project :app\r\n13:47:45       > Could not resolve com.jakewharton.timber:timber:4.6.1.\r\n13:47:45          > Could not get resource 'https://jcenter.bintray.com/com/jakewharton/timber/timber/4.6.1/timber-4.6.1.pom'.\r\n13:47:45             > java.lang.reflect.UndeclaredThrowableException (no error message)\r\n```\r\n\r\nHowever It succeeded after assemble task.\r\n\r\nI fixed the issue to use `resolvedConfiguration.lenientConfiguration.artifacts` instead of `resolvedConfiguration.resolvedArtifacts`.\r\nBecause `resolvedArtifacts` \"probably\" could be allowed access after artifacts resolved. (I could not understand why it run correctly...)\r\nhttps://docs.gradle.org/current/javadoc/org/gradle/api/artifacts/ResolvedConfiguration.html","created_at":"2018-06-14T09:31:18Z","updated_at":"2018-06-26T02:47:46Z","closed_at":"2018-06-26T02:47:46Z","merged_at":"2018-06-26T02:47:46Z","merge_commit_sha":"d79e54c9b6f14807f56e753ad558bf4de66e6905","assignee":{"login":"litmon","id":6662768,"node_id":"MDQ6VXNlcjY2NjI3Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/6662768?v=4","gravatar_id":"","url":"https://api.github.com/users/litmon","html_url":"https://github.com/litmon","followers_url":"https://api.github.com/users/litmon/followers","following_url":"https://api.github.com/users/litmon/following{/other_user}","gists_url":"https://api.github.com/users/litmon/gists{/gist_id}","starred_url":"https://api.github.com/users/litmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litmon/subscriptions","organizations_url":"https://api.github.com/users/litmon/orgs","repos_url":"https://api.github.com/users/litmon/repos","events_url":"https://api.github.com/users/litmon/events{/privacy}","received_events_url":"https://api.github.com/users/litmon/received_events","type":"User","site_admin":false},"assignees":[{"login":"litmon","id":6662768,"node_id":"MDQ6VXNlcjY2NjI3Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/6662768?v=4","gravatar_id":"","url":"https://api.github.com/users/litmon","html_url":"https://github.com/litmon","followers_url":"https://api.github.com/users/litmon/followers","following_url":"https://api.github.com/users/litmon/following{/other_user}","gists_url":"https://api.github.com/users/litmon/gists{/gist_id}","starred_url":"https://api.github.com/users/litmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litmon/subscriptions","organizations_url":"https://api.github.com/users/litmon/orgs","repos_url":"https://api.github.com/users/litmon/repos","events_url":"https://api.github.com/users/litmon/events{/privacy}","received_events_url":"https://api.github.com/users/litmon/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls/89/commits","review_comments_url":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls/89/comments","review_comment_url":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cookpad/license-tools-plugin/issues/89/comments","statuses_url":"https://api.github.com/repos/cookpad/license-tools-plugin/statuses/93c172f21a29945f210a8facd7f72cb42890ca5c","head":{"label":"cookpad:fix/resolve_configuration","ref":"fix/resolve_configuration","sha":"93c172f21a29945f210a8facd7f72cb42890ca5c","user":{"login":"cookpad","id":119195,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExOTE5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/119195?v=4","gravatar_id":"","url":"https://api.github.com/users/cookpad","html_url":"https://github.com/cookpad","followers_url":"https://api.github.com/users/cookpad/followers","following_url":"https://api.github.com/users/cookpad/following{/other_user}","gists_url":"https://api.github.com/users/cookpad/gists{/gist_id}","starred_url":"https://api.github.com/users/cookpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookpad/subscriptions","organizations_url":"https://api.github.com/users/cookpad/orgs","repos_url":"https://api.github.com/users/cookpad/repos","events_url":"https://api.github.com/users/cookpad/events{/privacy}","received_events_url":"https://api.github.com/users/cookpad/received_events","type":"Organization","site_admin":false},"repo":{"id":56575456,"node_id":"MDEwOlJlcG9zaXRvcnk1NjU3NTQ1Ng==","name":"license-tools-plugin","full_name":"cookpad/license-tools-plugin","owner":{"login":"cookpad","id":119195,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExOTE5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/119195?v=4","gravatar_id":"","url":"https://api.github.com/users/cookpad","html_url":"https://github.com/cookpad","followers_url":"https://api.github.com/users/cookpad/followers","following_url":"https://api.github.com/users/cookpad/following{/other_user}","gists_url":"https://api.github.com/users/cookpad/gists{/gist_id}","starred_url":"https://api.github.com/users/cookpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookpad/subscriptions","organizations_url":"https://api.github.com/users/cookpad/orgs","repos_url":"https://api.github.com/users/cookpad/repos","events_url":"https://api.github.com/users/cookpad/events{/privacy}","received_events_url":"https://api.github.com/users/cookpad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cookpad/license-tools-plugin","description":"Gradle plugin to check library licenses and generate license pages.","fork":false,"url":"https://api.github.com/repos/cookpad/license-tools-plugin","forks_url":"https://api.github.com/repos/cookpad/license-tools-plugin/forks","keys_url":"https://api.github.com/repos/cookpad/license-tools-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cookpad/license-tools-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cookpad/license-tools-plugin/teams","hooks_url":"https://api.github.com/repos/cookpad/license-tools-plugin/hooks","issue_events_url":"https://api.github.com/repos/cookpad/license-tools-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/cookpad/license-tools-plugin/events","assignees_url":"https://api.github.com/repos/cookpad/license-tools-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/cookpad/license-tools-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/cookpad/license-tools-plugin/tags","blobs_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cookpad/license-tools-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/cookpad/license-tools-plugin/languages","stargazers_url":"https://api.github.com/repos/cookpad/license-tools-plugin/stargazers","contributors_url":"https://api.github.com/repos/cookpad/license-tools-plugin/contributors","subscribers_url":"https://api.github.com/repos/cookpad/license-tools-plugin/subscribers","subscription_url":"https://api.github.com/repos/cookpad/license-tools-plugin/subscription","commits_url":"https://api.github.com/repos/cookpad/license-tools-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cookpad/license-tools-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cookpad/license-tools-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/cookpad/license-tools-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/cookpad/license-tools-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cookpad/license-tools-plugin/merges","archive_url":"https://api.github.com/repos/cookpad/license-tools-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cookpad/license-tools-plugin/downloads","issues_url":"https://api.github.com/repos/cookpad/license-tools-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/cookpad/license-tools-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/cookpad/license-tools-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cookpad/license-tools-plugin/labels{/name}","releases_url":"https://api.github.com/repos/cookpad/license-tools-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/cookpad/license-tools-plugin/deployments","created_at":"2016-04-19T07:40:40Z","updated_at":"2018-06-19T18:45:03Z","pushed_at":"2018-06-26T02:47:46Z","git_url":"git://github.com/cookpad/license-tools-plugin.git","ssh_url":"git@github.com:cookpad/license-tools-plugin.git","clone_url":"https://github.com/cookpad/license-tools-plugin.git","svn_url":"https://github.com/cookpad/license-tools-plugin","homepage":"","size":362,"stargazers_count":230,"watchers_count":230,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":48,"open_issues":12,"watchers":230,"default_branch":"master"}},"base":{"label":"cookpad:master","ref":"master","sha":"57e07ca20f316a35adb0872357e6cd0004aee9b6","user":{"login":"cookpad","id":119195,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExOTE5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/119195?v=4","gravatar_id":"","url":"https://api.github.com/users/cookpad","html_url":"https://github.com/cookpad","followers_url":"https://api.github.com/users/cookpad/followers","following_url":"https://api.github.com/users/cookpad/following{/other_user}","gists_url":"https://api.github.com/users/cookpad/gists{/gist_id}","starred_url":"https://api.github.com/users/cookpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookpad/subscriptions","organizations_url":"https://api.github.com/users/cookpad/orgs","repos_url":"https://api.github.com/users/cookpad/repos","events_url":"https://api.github.com/users/cookpad/events{/privacy}","received_events_url":"https://api.github.com/users/cookpad/received_events","type":"Organization","site_admin":false},"repo":{"id":56575456,"node_id":"MDEwOlJlcG9zaXRvcnk1NjU3NTQ1Ng==","name":"license-tools-plugin","full_name":"cookpad/license-tools-plugin","owner":{"login":"cookpad","id":119195,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExOTE5NQ==","avatar_url":"https://avatars1.githubusercontent.com/u/119195?v=4","gravatar_id":"","url":"https://api.github.com/users/cookpad","html_url":"https://github.com/cookpad","followers_url":"https://api.github.com/users/cookpad/followers","following_url":"https://api.github.com/users/cookpad/following{/other_user}","gists_url":"https://api.github.com/users/cookpad/gists{/gist_id}","starred_url":"https://api.github.com/users/cookpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookpad/subscriptions","organizations_url":"https://api.github.com/users/cookpad/orgs","repos_url":"https://api.github.com/users/cookpad/repos","events_url":"https://api.github.com/users/cookpad/events{/privacy}","received_events_url":"https://api.github.com/users/cookpad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cookpad/license-tools-plugin","description":"Gradle plugin to check library licenses and generate license pages.","fork":false,"url":"https://api.github.com/repos/cookpad/license-tools-plugin","forks_url":"https://api.github.com/repos/cookpad/license-tools-plugin/forks","keys_url":"https://api.github.com/repos/cookpad/license-tools-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cookpad/license-tools-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cookpad/license-tools-plugin/teams","hooks_url":"https://api.github.com/repos/cookpad/license-tools-plugin/hooks","issue_events_url":"https://api.github.com/repos/cookpad/license-tools-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/cookpad/license-tools-plugin/events","assignees_url":"https://api.github.com/repos/cookpad/license-tools-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/cookpad/license-tools-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/cookpad/license-tools-plugin/tags","blobs_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cookpad/license-tools-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/cookpad/license-tools-plugin/languages","stargazers_url":"https://api.github.com/repos/cookpad/license-tools-plugin/stargazers","contributors_url":"https://api.github.com/repos/cookpad/license-tools-plugin/contributors","subscribers_url":"https://api.github.com/repos/cookpad/license-tools-plugin/subscribers","subscription_url":"https://api.github.com/repos/cookpad/license-tools-plugin/subscription","commits_url":"https://api.github.com/repos/cookpad/license-tools-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/cookpad/license-tools-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/cookpad/license-tools-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/cookpad/license-tools-plugin/issues/comments{/number}","contents_url":"https://api.github.com/repos/cookpad/license-tools-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/cookpad/license-tools-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cookpad/license-tools-plugin/merges","archive_url":"https://api.github.com/repos/cookpad/license-tools-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cookpad/license-tools-plugin/downloads","issues_url":"https://api.github.com/repos/cookpad/license-tools-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/cookpad/license-tools-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/cookpad/license-tools-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cookpad/license-tools-plugin/labels{/name}","releases_url":"https://api.github.com/repos/cookpad/license-tools-plugin/releases{/id}","deployments_url":"https://api.github.com/repos/cookpad/license-tools-plugin/deployments","created_at":"2016-04-19T07:40:40Z","updated_at":"2018-06-19T18:45:03Z","pushed_at":"2018-06-26T02:47:46Z","git_url":"git://github.com/cookpad/license-tools-plugin.git","ssh_url":"git@github.com:cookpad/license-tools-plugin.git","clone_url":"https://github.com/cookpad/license-tools-plugin.git","svn_url":"https://github.com/cookpad/license-tools-plugin","homepage":"","size":362,"stargazers_count":230,"watchers_count":230,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":48,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":48,"open_issues":12,"watchers":230,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls/89"},"html":{"href":"https://github.com/cookpad/license-tools-plugin/pull/89"},"issue":{"href":"https://api.github.com/repos/cookpad/license-tools-plugin/issues/89"},"comments":{"href":"https://api.github.com/repos/cookpad/license-tools-plugin/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cookpad/license-tools-plugin/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/cookpad/license-tools-plugin/statuses/93c172f21a29945f210a8facd7f72cb42890ca5c"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"litmon","id":6662768,"node_id":"MDQ6VXNlcjY2NjI3Njg=","avatar_url":"https://avatars2.githubusercontent.com/u/6662768?v=4","gravatar_id":"","url":"https://api.github.com/users/litmon","html_url":"https://github.com/litmon","followers_url":"https://api.github.com/users/litmon/followers","following_url":"https://api.github.com/users/litmon/following{/other_user}","gists_url":"https://api.github.com/users/litmon/gists{/gist_id}","starred_url":"https://api.github.com/users/litmon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/litmon/subscriptions","organizations_url":"https://api.github.com/users/litmon/orgs","repos_url":"https://api.github.com/users/litmon/repos","events_url":"https://api.github.com/users/litmon/events{/privacy}","received_events_url":"https://api.github.com/users/litmon/received_events","type":"User","site_admin":false},"comments":5,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":765,"deletions":81,"changed_files":5}}
{"actor":{"display_login":"litmon"}}