This is an automated email from the ASF dual-hosted git repository.

He-Pin pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 7c1d0a623d Fix sbt load warnings by excluding unused lint keys (#3029)
7c1d0a623d is described below

commit 7c1d0a623da0531d997c56919dc810e58de67385
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
---
 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]

Reply via email to