mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 01:56:04 +08:00
GP-0: Fixing javadoc warning and build (Closes #4754)
This commit is contained in:
@@ -39,7 +39,7 @@ public class GThemeValueMap {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructs a new value map, populated by all the values in the given map. Essentailly clones
|
* Constructs a new value map, populated by all the values in the given map. Essentially clones
|
||||||
* the given map.
|
* the given map.
|
||||||
* @param initial the set of values to initialize to
|
* @param initial the set of values to initialize to
|
||||||
*/
|
*/
|
||||||
@@ -135,7 +135,7 @@ public class GThemeValueMap {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Returns a list of all the {@link FontValue}s stored in this map.
|
* Returns a list of all the {@link FontValue}s stored in this map.
|
||||||
* @return a list of all the {@link Fontvalue}s stored in this map.
|
* @return a list of all the {@link FontValue}s stored in this map.
|
||||||
*/
|
*/
|
||||||
public List<FontValue> getFonts() {
|
public List<FontValue> getFonts() {
|
||||||
return new ArrayList<>(fontMap.values());
|
return new ArrayList<>(fontMap.values());
|
||||||
|
|||||||
@@ -134,6 +134,9 @@ task createJavadocs(type: Javadoc, description: 'Generate javadocs for all proje
|
|||||||
options.addBooleanOption("html5", true)
|
options.addBooleanOption("html5", true)
|
||||||
|
|
||||||
options.addBooleanOption('Xdoclint:none', true)
|
options.addBooleanOption('Xdoclint:none', true)
|
||||||
|
|
||||||
|
// Some internal packages are not public and need to be exported.
|
||||||
|
options.addMultilineStringsOption("-add-exports").setValue(["java.desktop/sun.awt=ALL-UNNAMED"])
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -188,6 +191,9 @@ task createJsondocs(type: Javadoc, description: 'Generate JSON docs for all proj
|
|||||||
// Newer versions of gradle set this to true by default.
|
// Newer versions of gradle set this to true by default.
|
||||||
// The JsonDoclet doesn't have the -notimestamp option so ensure it isn't set.
|
// The JsonDoclet doesn't have the -notimestamp option so ensure it isn't set.
|
||||||
options.setNoTimestamp(false)
|
options.setNoTimestamp(false)
|
||||||
|
|
||||||
|
// Some internal packages are not public and need to be exported.
|
||||||
|
options.addMultilineStringsOption("-add-exports").setValue(["java.desktop/sun.awt=ALL-UNNAMED"])
|
||||||
|
|
||||||
options.doclet = "JsonDoclet"
|
options.doclet = "JsonDoclet"
|
||||||
doFirst {
|
doFirst {
|
||||||
|
|||||||
Reference in New Issue
Block a user