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

He-Pin pushed a commit to branch worktree-fix-issue-925-sbt-clean-scalafix
in repository https://gitbox.apache.org/repos/asf/pekko-http.git

commit 32ad32fcb835c6c961d4b41f5f48a4945cc41953
Author: 虎鸣 <[email protected]>
AuthorDate: Wed Jul 1 02:52:26 2026 +0800

    build: remove stale scalafix dependency from docs module
    
    Motivation:
    `sbt clean` fails with `IllegalArgumentException: Cannot add dependency
    ... to configuration 'scalafix' ... because this configuration doesn't
    exist!` because the `docs` module disables `ScalafixPlugin` but still
    declares `httpScalafixRules % ScalafixConfig` in `.dependsOn(...)`.
    
    Modification:
    Remove the unused `httpScalafixRules % ScalafixConfig` dependency from
    the `docs` module. The docs module does not use scalafix rules.
    
    Result:
    `sbt clean` no longer fails on the docs module due to a missing Ivy
    configuration.
    
    Tests:
    Not run - build configuration only
    
    References:
    Fixes #925
---
 build.sbt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/build.sbt b/build.sbt
index 9631d8d3c..b40df8b3c 100644
--- a/build.sbt
+++ b/build.sbt
@@ -398,7 +398,7 @@ lazy val docs = project("docs")
   .addPekkoModuleDependency("pekko-actor-testkit-typed", "provided", 
PekkoCoreDependency.default)
   .dependsOn(
     httpCore, http, httpXml, http2Tests, httpMarshallersJava, 
httpMarshallersScala, httpCaching, httpCors,
-    httpTests % "compile;test->test", httpTestkit % "compile;test->test", 
httpScalafixRules % ScalafixConfig)
+    httpTests % "compile;test->test", httpTestkit % "compile;test->test")
   .settings(Dependencies.docs)
   .settings(
     name := "pekko-http-docs",


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to