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-http.git
The following commit(s) were added to refs/heads/main by this push:
new ab6fac243 build: fix sbt lint warnings by excluding unused keys (#1071)
ab6fac243 is described below
commit ab6fac243e12ba6b4d92428510550a18b26a4bd3
Author: He-Pin(kerr) <[email protected]>
AuthorDate: Tue Jun 16 18:23:53 2026 +0800
build: fix sbt lint warnings by excluding unused keys (#1071)
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]