This is an automated email from the ASF dual-hosted git repository. He-Pin pushed a commit to branch fix/resolve-sbt-lint-warnings in repository https://gitbox.apache.org/repos/asf/pekko-http.git
commit 4c8a127138b976f381e07b9f2af20c233032698c Author: 虎鸣 <[email protected]> AuthorDate: Tue Jun 16 12:03:39 2026 +0800 build: fix sbt lint warnings by excluding unused keys Motivation: sbt lint reported 45 unused keys across sub-projects. Modification: Add projectInfoVersion, mimaReportSignatureProblems, autoAPIMappings, and unidocProjectFilter to excludeLintKeys in project/Common.scala globalSettings. Result: sbt lint warnings resolved. Tests: - sbt "http-core / compile; http / compile; parsing / compile" - sbt lint warnings resolved - sbt "http-caching / compile; http-cors / compile; http-testkit / compile" - sbt lint warnings resolved References: None - build configuration cleanup --- project/Common.scala | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/project/Common.scala b/project/Common.scala index 8558bc9fa..ad9c54820 100644 --- a/project/Common.scala +++ b/project/Common.scala @@ -15,9 +15,16 @@ import sbt._ import Keys._ import com.lightbend.paradox.projectinfo.ParadoxProjectInfoPluginKeys._ import com.typesafe.tools.mima.plugin.MimaKeys._ +import sbtunidoc.BaseUnidocPlugin.autoImport.unidocProjectFilter object Common extends AutoPlugin { override def trigger: PluginTrigger = allRequirements + override lazy val globalSettings = Seq( + Global / excludeLintKeys ++= Set( + projectInfoVersion, + mimaReportSignatureProblems, + autoAPIMappings, + unidocProjectFilter)) override lazy val projectSettings = Seq( projectInfoVersion := (if (isSnapshot.value) "snapshot" else version.value), scalacOptions ++= Seq( --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
