This is an automated email from the ASF dual-hosted git repository. He-Pin pushed a commit to branch sbtWarning in repository https://gitbox.apache.org/repos/asf/pekko.git
commit c7b839cf17dab26f24b6dbf4c98670aaa225400c Author: He-Pin(kerr) <[email protected]> AuthorDate: Mon Jun 1 04:00:17 2026 +0800 Fix sbt load warnings by excluding unused lint keys (#3029) Motivation: sbt load was showing 165 warnings about unused keys, which cluttered the output and made it harder to identify real issues. Modification: Added Global / excludeLintKeys to build.sbt to exclude the following keys from lintUnused checks: - projectInfoVersion (used for linking to API docs) - logManager (used to add timestamps to log output) - unidocProjectFilter (used to filter projects for unidoc generation) - fork (used for PR validation) - javacOptions (used to disable doclint for tests) Result: sbt load now completes without any warnings about unused keys. Tests: - Verified sbt load completes without warnings Refs: None - housekeeping (cherry picked from commit 7c1d0a623da0531d997c56919dc810e58de67385) --- build.sbt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.sbt b/build.sbt index ae85048522..8759366507 100644 --- a/build.sbt +++ b/build.sbt @@ -19,6 +19,14 @@ ThisBuild / reproducibleBuildsCheckResolver := Resolver.ApacheMavenStagingRepo ThisBuild / pekkoCoreProject := true +Global / excludeLintKeys ++= Set( + projectInfoVersion, + logManager, + unidocProjectFilter, + fork, + javacOptions +) + enablePlugins( UnidocRoot, UnidocWithPrValidation, --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
