Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Groovydoc and Javadoc links to the java api do not work anymore for Java 11 #341

Open
dmurat opened this issue Jun 8, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@dmurat
Copy link

dmurat commented Jun 8, 2020

It looks like Oracle rearranged publicly available APIs for Java 11. I don't know when it happened, but now every class is preceded by their corresponding module like in https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Object.html. As a consequence generated external links to the Java APIs do not work anymore for Groovydoc and, probably for Javadoc tasks. Didn't tried with Javadoc, though.

Tnx

@aalmiray aalmiray added the bug Something isn't working label Jun 8, 2020
@aalmiray aalmiray self-assigned this Jun 8, 2020
@dmurat
Copy link
Author

dmurat commented Jun 12, 2020

If of any help, at the moment I'm using the following configuration:

config {
  docs {
    groovydoc {
      ...
      options {
        ...
        link(
            "https://docs.oracle.com/en/java/javase/11/docs/api/java.base",
            "java.io.", "java.lang.", "java.math.", "java.net.", "java.nio.", "java.security.", "java.text.", "java.time.", "java.util.", "javax.crypto.", "javax.net.", "javax.security."
        )
        ...
      }
    }
  }
  ...
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants