Skip to content

Commit

Permalink
chore: reduce verbosity of the build logs
Browse files Browse the repository at this point in the history
Ignore "missing javadoc" warnings
  • Loading branch information
vlsi committed Jun 4, 2023
1 parent 9b6cddf commit 5f6bb60
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 3 additions & 1 deletion build-logic/jvm/src/main/kotlin/build-logic.java.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,14 @@ tasks.configureEach<Javadoc> {
windowTitle = "Apache JMeter ${project.name} API"
header = "<b>Apache JMeter</b>"
addStringOption("source", "8")
addStringOption("Xmaxwarns", "10")
addBooleanOption("Xdoclint:all,-missing", true)
val lastEditYear: String by rootProject.extra
bottom =
"Copyright &copy; 1998-$lastEditYear Apache Software Foundation. All Rights Reserved."
if (JavaVersion.current() >= JavaVersion.VERSION_1_9) {
addBooleanOption("html5", true)
links("https://docs.oracle.com/javase/11/docs/api/")
links("https://docs.oracle.com/en/java/javase/11/docs/api/")
} else {
links("https://docs.oracle.com/javase/8/docs/api/")
}
Expand Down
4 changes: 4 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,7 @@ com.github.vlsi.checksum-dependency.version=1.88
kotlin.api.version=1.5
# See https://kotlinlang.org/docs/whatsnew14.html#explicit-api-mode-for-library-authors
kotlin.explicitApi=true

# com.github.vlsi.gradle-extensions prints only failing or slow test results
slowTestLogThreshold=1000
slowSuiteLogThreshold=2000
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ protected List<CachedPropertyDescriptor> computeValue(Class type) {
/**
* Prepare the bean for work by populating the bean's properties from the
* property value map.
* <p>
*
* @param el the TestElement to be prepared
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public static void dumpHeap(String fileName, boolean live) throws Exception{

/**
* Dumps live objects from the heap to the outputFile file in the same format as the hprof heap dump.
* <p>
*
* @see #dumpHeap(String, boolean)
* @param fileName name of the heap dump file. Must be creatable, i.e. must not exist.
* @throws Exception if the MXBean cannot be found, or if there is a problem during invocation
Expand All @@ -122,7 +122,7 @@ public static void dumpHeap(String fileName) throws Exception{
* <p>
* Creates the dump using the file name: dump_yyyyMMdd_hhmmss_SSS.hprof
* The dump is created in the current directory.
* <p>
* </p>
* @see #dumpHeap(boolean)
* @return the name of the dump file that was created
* @throws Exception if the MXBean cannot be found, or if there is a problem during invocation
Expand All @@ -136,7 +136,7 @@ public static String dumpHeap() throws Exception{
* <p>
* Creates the dump using the file name: dump_yyyyMMdd_hhmmss_SSS.hprof
* The dump is created in the current directory.
* <p>
* </p>
* @see #dumpHeap(String, boolean)
* @param live true id only live objects are to be dumped.
*
Expand All @@ -152,7 +152,7 @@ public static String dumpHeap(boolean live) throws Exception {
* The dump is created in the specified directory.
* <p>
* Creates the dump using the file name: dump_yyyyMMdd_hhmmss_SSS.hprof
* <p>
* </p>
* @see #dumpHeap(String, boolean)
* @param basedir File object for the target base directory.
* @param live true id only live objects are to be dumped.
Expand Down

0 comments on commit 5f6bb60

Please sign in to comment.