Hi there,
I am trying to figure out a way to show javadoc from a local .jar in my project, so I can see the documentation in intelliJ (and possible also NetBeans).
My build.gradle contains the following to include the local jars:
In IntelliJ 2018.3.3 with Gradle 5.1 this seems to be broken. I still have the three files locally and the jar file with the classes are correctly recognized and can be imported and used. The source and javadoc however are not.
In the ./idea/libraries folder that is created by IntelliJ i can find the file: Gradle__dk_kaspersoerensen_PickRandomStudent_1_0.xml that looks like this:
Clearly both <JAVADOC> and <SOURCES> are empty. Filling them out manually with the path to the -javadoc.jar and -sources.jar resolves the problem, but I am wondering if the idea plugin to Gradle should do this, when calling the idea task?
If I use external packages from the MavenCentral there is no problem downloading the sources and javadoc. These will both be listed in the ./idea/libraries folder.
EDIT
When using the ideaModule task, the .iml file does look correct, but the javadocs are still not available.