Linking to javadoc.io using Javadoc -link option

前端 未结 5 1391
野的像风
野的像风 2021-02-07 15:29

I am trying to link into some Javadocs hosted at javadoc.io (specifically, PowerMock\'s Javadocs) using the @link option. I have tried to add the URL to PowerMock\'

5条回答
  •  Happy的楠姐
    2021-02-07 15:57

    I have investigated the problem, the issue here is that a user agent must be set (an empty string is ok) in order for the connection to javadoc.io to complete successfully.

    I worked the problem around and wrote a Gradle plugin that may be of help for those who rely on that build system.

    Unfortunately, the work around can not get ported to the regular javadoc -link command invocation.

提交回复
热议问题