Skip to content

Commit

Permalink
Android: enable javadoc lint checks
Browse files Browse the repository at this point in the history
Enable all checks except 'missing' because we don't
want to get errors of missing docs for every variable
or method.

See docs of -Xdoclint at https://docs.oracle.com/en/java/javase/17/docs/specs/man/javac.html#extra-options

Change-Id: I7d7e775a1ef34dc1efacbc11cf85db99c81a4fe2
Reviewed-by: Alexandru Croitor <[email protected]>
Reviewed-by: Alexey Edelev <[email protected]>
  • Loading branch information
Issam-b committed Nov 25, 2024
1 parent 7f06824 commit 51ccfc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/QtJavaHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function(qt_internal_add_jar target)
endif()

set(CMAKE_JAVA_COMPILE_FLAGS -source "${javac_source_version}" -target "${javac_target_version}"
-Xlint:all -classpath "${QT_ANDROID_JAR}"
-Xlint:all -Xdoclint:all,-missing -classpath "${QT_ANDROID_JAR}"
)

set(absolute_sources "")
Expand Down

0 comments on commit 51ccfc0

Please sign in to comment.