{"action":"closed","issue":{"url":"https://api.github.com/repos/nebula-plugins/gradle-lint-plugin/issues/200","repository_url":"https://api.github.com/repos/nebula-plugins/gradle-lint-plugin","labels_url":"https://api.github.com/repos/nebula-plugins/gradle-lint-plugin/issues/200/labels{/name}","comments_url":"https://api.github.com/repos/nebula-plugins/gradle-lint-plugin/issues/200/comments","events_url":"https://api.github.com/repos/nebula-plugins/gradle-lint-plugin/issues/200/events","html_url":"https://github.com/nebula-plugins/gradle-lint-plugin/issues/200","id":373730897,"node_id":"MDU6SXNzdWUzNzM3MzA4OTc=","number":200,"title":"Unused dependency check cannot handle local file dependencies?","user":{"login":"weiminyu","id":1423273,"node_id":"MDQ6VXNlcjE0MjMyNzM=","avatar_url":"https://avatars1.githubusercontent.com/u/1423273?v=4","gravatar_id":"","url":"https://api.github.com/users/weiminyu","html_url":"https://github.com/weiminyu","followers_url":"https://api.github.com/users/weiminyu/followers","following_url":"https://api.github.com/users/weiminyu/following{/other_user}","gists_url":"https://api.github.com/users/weiminyu/gists{/gist_id}","starred_url":"https://api.github.com/users/weiminyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weiminyu/subscriptions","organizations_url":"https://api.github.com/users/weiminyu/orgs","repos_url":"https://api.github.com/users/weiminyu/repos","events_url":"https://api.github.com/users/weiminyu/events{/privacy}","received_events_url":"https://api.github.com/users/weiminyu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-25T00:51:11Z","updated_at":"2018-10-25T20:30:11Z","closed_at":"2018-10-25T20:30:11Z","author_association":"NONE","body":"Unused dependency check throws an NPE on our project:\r\n   at \r\n   org.gradle.api.internal.artifacts.DefaultModuleIdentifier.hashCode(DefaultModuleIdentifier.java:70)\r\n  at \r\n com.netflix.nebula.lint.rule.dependency.UnusedDependencyRule.visitGradleDependency(UnusedDependencyRule.groovy:77)\r\n  ...\r\nThis happens in both 9.3.2 and 10.1.2. \r\n\r\nLooking at DefaultModuleIdentifier.java, this seems to be caused by a dependency that has null group or name. Our project has local dependencies:\r\n- on a sibling subproject, e.g.  :  testImplementation project(':third_party')\r\n- on a jar file in a flatDir local repository, e.g. : implementation name: 'objectify-4.1.3'  \r\n\r\nCould either of them cause the failure?\r\n\r\nThanks.\r\n"}}
{"actor":{"display_login":"weiminyu"}}