You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by mj...@apache.org on 2023/05/13 01:32:30 UTC
[kafka] branch trunk updated: KAFKA-14839: Exclude protected variable from JavaDocs (#13633)
This is an automated email from the ASF dual-hosted git repository.
mjsax pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 3598f122422 KAFKA-14839: Exclude protected variable from JavaDocs (#13633)
3598f122422 is described below
commit 3598f12242224983b487ff077e79c9dfecbbac59
Author: atu-sharm <13...@users.noreply.github.com>
AuthorDate: Sat May 13 07:02:11 2023 +0530
KAFKA-14839: Exclude protected variable from JavaDocs (#13633)
Reviewers: Manyanda Chitimbo <ma...@gmail.com>, John Roesler <jo...@confluent.io>, Matthias J. Sax <ma...@confluent.io>
---
build.gradle | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/build.gradle b/build.gradle
index 75ae5faa041..8192c3d0401 100644
--- a/build.gradle
+++ b/build.gradle
@@ -269,7 +269,7 @@ subprojects {
if (JavaVersion.current().isJava9Compatible())
options.release = minJavaVersion
}
-
+
// We should only set this if Java version is < 9 (--release is recommended for >= 9), but the Scala plugin for IntelliJ sets
// `-target` incorrectly if this is unset
sourceCompatibility = minJavaVersion
@@ -560,6 +560,7 @@ subprojects {
options.charSet = 'UTF-8'
options.docEncoding = 'UTF-8'
options.encoding = 'UTF-8'
+ options.memberLevel = JavadocMemberLevel.PUBLIC // Document only public members/API
// Turn off doclint for now, see https://blog.joda.org/2014/02/turning-off-doclint-in-jdk-8-javadoc.html for rationale
options.addStringOption('Xdoclint:none', '-quiet')