{"action":"created","issue":{"url":"https://api.github.com/repos/gradle/gradle/issues/4832","repository_url":"https://api.github.com/repos/gradle/gradle","labels_url":"https://api.github.com/repos/gradle/gradle/issues/4832/labels{/name}","comments_url":"https://api.github.com/repos/gradle/gradle/issues/4832/comments","events_url":"https://api.github.com/repos/gradle/gradle/issues/4832/events","html_url":"https://github.com/gradle/gradle/issues/4832","id":308122693,"number":4832,"title":"package links in JavaDoc do not work with Gradle.","user":{"login":"kno10","id":3997899,"avatar_url":"https://avatars0.githubusercontent.com/u/3997899?v=4","gravatar_id":"","url":"https://api.github.com/users/kno10","html_url":"https://github.com/kno10","followers_url":"https://api.github.com/users/kno10/followers","following_url":"https://api.github.com/users/kno10/following{/other_user}","gists_url":"https://api.github.com/users/kno10/gists{/gist_id}","starred_url":"https://api.github.com/users/kno10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kno10/subscriptions","organizations_url":"https://api.github.com/users/kno10/orgs","repos_url":"https://api.github.com/users/kno10/repos","events_url":"https://api.github.com/users/kno10/events{/privacy}","received_events_url":"https://api.github.com/users/kno10/received_events","type":"User","site_admin":false},"labels":[{"id":478384995,"url":"https://api.github.com/repos/gradle/gradle/labels/from:contributor","name":"from:contributor","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-23T17:44:44Z","updated_at":"2018-03-28T12:05:03Z","closed_at":null,"author_association":"NONE","body":"In JavaDoc, you should be able to link to a package using\r\n```\r\n{@link com.example.package}\r\n```\r\nIn Gradle, `@link` **only works for classes** for me, but not for _packages_.\r\n\r\nThe error message is\r\n```\r\nwarning - Tag @link: reference not found: com.example.package\r\n```\r\n\r\nRelated:\r\nhttps://discuss.gradle.org/t/javadoc-task-doesnt-generate-package-links/10621\r\nhttps://groups.google.com/forum/#!topic/gradle-dev/R83dy_6PHMc/discussion\r\n> It looks like this may be because gradle feeds javadoc individual files rather than packages. \r\n\r\nCan maybe -linkoffline be (ab-)used to generate `{@docRoot}` kind of links?\r\nAny other workaround?"},"comment":{"url":"https://api.github.com/repos/gradle/gradle/issues/comments/376862519","html_url":"https://github.com/gradle/gradle/issues/4832#issuecomment-376862519","issue_url":"https://api.github.com/repos/gradle/gradle/issues/4832","id":376862519,"user":{"login":"kno10","id":3997899,"avatar_url":"https://avatars0.githubusercontent.com/u/3997899?v=4","gravatar_id":"","url":"https://api.github.com/users/kno10","html_url":"https://github.com/kno10","followers_url":"https://api.github.com/users/kno10/followers","following_url":"https://api.github.com/users/kno10/following{/other_user}","gists_url":"https://api.github.com/users/kno10/gists{/gist_id}","starred_url":"https://api.github.com/users/kno10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kno10/subscriptions","organizations_url":"https://api.github.com/users/kno10/orgs","repos_url":"https://api.github.com/users/kno10/repos","events_url":"https://api.github.com/users/kno10/events{/privacy}","received_events_url":"https://api.github.com/users/kno10/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T12:05:03Z","updated_at":"2018-03-28T12:05:03Z","author_association":"NONE","body":"With Java 9, I do not get the warning anymore.\r\nBut the link is rendered as unlinked text.\r\nI did not try the ant-based workaround yet."}}
{"actor":{"display_login":"kno10"}}