You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by he...@apache.org on 2026/05/31 19:32:56 UTC

(pekko) branch fix/sbt-load-warnings-clean created (now 1bb8e11d91)

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

He-Pin pushed a change to branch fix/sbt-load-warnings-clean
in repository https://gitbox.apache.org/repos/asf/pekko.git


      at 1bb8e11d91 Fix sbt load warnings by excluding unused lint keys

This branch includes the following new commits:

     new 1bb8e11d91 Fix sbt load warnings by excluding unused lint keys

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org


(pekko) 01/01: Fix sbt load warnings by excluding unused lint keys

Posted by he...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

He-Pin pushed a commit to branch fix/sbt-load-warnings-clean
in repository https://gitbox.apache.org/repos/asf/pekko.git

commit 1bb8e11d9191caa71ec69dc6f8ac273586cfc5e9
Author: He-Pin <he...@gmail.com>
AuthorDate: Mon Jun 1 03:32:44 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: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org