This is an automated email from the ASF dual-hosted git repository. He-Pin pushed a commit to branch fix/sbt-load-warnings in repository https://gitbox.apache.org/repos/asf/pekko.git
commit 8d7fa91bb7205bdf1e66200f81052dc9ba89ceff Author: He-Pin <[email protected]> AuthorDate: Mon Jun 1 03:30:33 2026 +0800 Fix sbt load warnings by excluding unused lint keys 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 --- build.sbt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build.sbt b/build.sbt index 581ad37e06..f49e77f6a3 100644 --- a/build.sbt +++ b/build.sbt @@ -22,6 +22,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]
