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

pjfanning pushed a commit to branch pjfanning-patch-3
in repository https://gitbox.apache.org/repos/asf/pekko-http.git

commit b5879cbee73aff5a1468154fa226d61d904ad8db
Author: PJ Fanning <[email protected]>
AuthorDate: Sun Jul 19 00:34:05 2026 +0100

    Refactor global settings
---
 build.sbt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/build.sbt b/build.sbt
index 10ea70429..ae7b11b3e 100644
--- a/build.sbt
+++ b/build.sbt
@@ -48,14 +48,14 @@ inThisBuild(Def.settings(
     Tests.Argument(TestFrameworks.ScalaTest, "-oDF")),
   Dependencies.Versions,
   shellPrompt := { s => Project.extract(s).currentProject.id + " > " },
-  concurrentRestrictions in Global += Tags.limit(Tags.Test, 1),
-  onLoad in Global := {
+  Global / concurrentRestrictions += Tags.limit(Tags.Test, 1),
+  Global / onLoad := {
     sLog.value.info(
       s"Building Pekko HTTP ${version.value} against Pekko 
${PekkoCoreDependency.version} on Scala ${
           (httpCore /
           scalaVersion).value
         }")
-    (onLoad in Global).value
+    (Global / onLoad).value
   },
   projectInfoVersion := (if (isSnapshot.value) "snapshot" else version.value),
   versionScheme := Some(VersionScheme.SemVerSpec)))


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

Reply via email to