-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail build on missing Javadocs (#45)
* Fail build on missing Javadocs Signed-off-by: Daniel Widdis <widdis@gmail.com> * Fix build errors from package rename Signed-off-by: Daniel Widdis <widdis@gmail.com> * Javadocs for ActionListener Signed-off-by: Daniel Widdis <widdis@gmail.com> * Javadocs for ExtensionsRunner Signed-off-by: Daniel Widdis <widdis@gmail.com> * Replace missing-javadoc and missing-doclet with require-javadoc Signed-off-by: Daniel Widdis <widdis@gmail.com> * Doc updates based on code review. Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add javadocs for ResponseHandler classes Signed-off-by: Daniel Widdis <widdis@gmail.com> * Add javadocs to ExtensionSettings Signed-off-by: Daniel Widdis <widdis@gmail.com> * Disable javadocStrict check on netty4 package Signed-off-by: Daniel Widdis <widdis@gmail.com> * Reenable strict doc checks on netty4, fix errors Signed-off-by: Daniel Widdis <widdis@gmail.com> * Final tweaks Signed-off-by: Daniel Widdis <widdis@gmail.com> * Fix missing Netty4 params causing failure Signed-off-by: Daniel Widdis <widdis@gmail.com> * Don't use Werror, include strict check on private javadocs if present Signed-off-by: Daniel Widdis <widdis@gmail.com> * Exclude netty4 from checks and link to tracking issue Signed-off-by: Daniel Widdis <widdis@gmail.com> * Clarify and add links on future action for temporary exclusions Signed-off-by: Daniel Widdis <widdis@gmail.com> * Update comments per code review Co-authored-by: Owais Kazi <owaiskazi19@gmail.com> Signed-off-by: Daniel Widdis <widdis@gmail.com> * Update require-javadoc version, fix get/set typo Signed-off-by: Daniel Widdis <widdis@gmail.com> Co-authored-by: Owais Kazi <owaiskazi19@gmail.com>
- Loading branch information
1 parent
cd52721
commit 4a3ac6d
Showing
10 changed files
with
203 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# The OpenSearch Contributors require contributions made to | ||
# this file be licensed under the Apache-2.0 license or a | ||
# compatible open source license. | ||
# | ||
# Modifications Copyright OpenSearch Contributors. See | ||
# GitHub history for details. | ||
# | ||
|
||
# Enable build caching | ||
org.gradle.caching=true | ||
org.gradle.warning.mode=none | ||
org.gradle.parallel=true | ||
# Workaround for https://github.com/diffplug/spotless/issues/834 | ||
org.gradle.jvmargs=-Xmx3g -XX:+HeapDumpOnOutOfMemoryError -Xss2m \ | ||
--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED \ | ||
--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \ | ||
--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED \ | ||
--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ | ||
--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED | ||
options.forkOptions.memoryMaximumSize=2g | ||
|
||
# Disable duplicate project id detection | ||
# See https://docs.gradle.org/current/userguide/upgrading_version_6.html#duplicate_project_names_may_cause_publication_to_fail | ||
systemProp.org.gradle.dependency.duplicate.project.detection=false | ||
|
||
# Enforce the build to fail on deprecated gradle api usage | ||
systemProp.org.gradle.warning.mode=fail | ||
|
||
# forcing to use TLS1.2 to avoid failure in vault | ||
# see https://github.com/hashicorp/vault/issues/8750#issuecomment-631236121 | ||
systemProp.jdk.tls.client.protocols=TLSv1.2 | ||
|
||
# jvm args for faster test execution by default | ||
systemProp.tests.jvm.argline=-XX:TieredStopAtLevel=1 -XX:ReservedCodeCacheSize=64m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.