GT-2707: Adding in interfaces and package-level stuff to jsondocs.

This commit is contained in:
Ryan Kurtz 2019-04-03 08:13:28 -04:00
parent 9ba25cb99c
commit 02df1b134c
2 changed files with 5 additions and 7 deletions

View file

@ -134,6 +134,10 @@ task createJsondocs(type: Javadoc, description: 'Generate JSON docs for all proj
it.sourceSets.test.compileClasspath
})
// Generate at package level because user may try to get help directly on an object they have
// rather than its public interface.
options.addBooleanOption("package", true)
// Some internal packages are not public and need to be exported.
options.addMultilineStringsOption("-add-exports").setValue(["java.desktop/sun.awt.image=ALL-UNNAMED",
"java.desktop/sun.awt=ALL-UNNAMED",