From e745b2c050eb213fff95956f301c3af8ccde0fe8 Mon Sep 17 00:00:00 2001 From: Clay Johnson Date: Thu, 17 Sep 2026 15:53:19 -0500 Subject: [PATCH] build: apply the Develocity Common Custom User Data sbt plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Motivation: Pekko publishes Build Scans to develocity.apache.org but does not apply the Common Custom User Data (CCUD) sbt plugin. Without it, scans lack the shared tags, links and custom values that make scans searchable and comparable across builds: a tag for the operating system, a tag for how the build was invoked (IDE or command line), CI provider tags, links and custom values, and — for CI builds of a Git repository — the commit id, branch name, status and whether the checkout was dirty. Modification: - Add sbt-develocity-common-custom-user-data 1.5.0 to project/plugins.sbt, next to the existing sbt-develocity plugin. No change to PekkoDevelocityPlugin is needed. CCUD 1.5.0 registers itself through internalDevelocityConfigurationTransformers, a key introduced in sbt-develocity 1.4.5, which is the version Pekko already uses. On that path CCUD composes after the build's own develocityConfiguration rather than redefining the setting, so Pekko's server URL, publishing predicate, IP obfuscation, disabled local build cache and project id are all left intact. The plugin is released by Gradle under the Apache 2.0 licence. Result: Build Scans published from Pekko builds carry the standard CCUD tags, links and custom values. Scala Steward will track future CCUD releases; no pin or ignore rule in .scala-steward.conf excludes com.gradle. Tests: - sbt "show develocityConfiguration" - server is still https://develocity.apache.org, publishing predicate and IP obfuscation are still PekkoDevelocityPlugin's, LocalBuildCacheImpl(false,...) is still disabled and the project id is still pekko; identical to the same command run on unmodified main. - sbt "show ThisBuild/internalDevelocityConfigurationTransformers" - List() on unmodified main, List() with the plugin applied, confirming CCUD registers through the supported sbt-develocity 1.4.5+ path rather than overriding develocityConfiguration. - sbt scalafmtSbtCheck - success. - No directional test added: this is a build-plugin change with no production code path and no hook into the repository's test harness. - Native scalafmt is not installed locally; used the sbt scalafmt tasks. References: None - https://github.com/gradle/common-custom-user-data-sbt-plugin --- project/plugins.sbt | 1 + 1 file changed, 1 insertion(+) diff --git a/project/plugins.sbt b/project/plugins.sbt index 74f3db80e8..313f37984a 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -38,6 +38,7 @@ addSbtPlugin("com.lightbend.paradox" % "sbt-paradox-theme" % "0.11.0") addSbtPlugin("com.lightbend.paradox" % "sbt-paradox" % "0.11.0") addSbtPlugin("com.gradle" % "sbt-develocity" % "1.4.5") +addSbtPlugin("com.gradle" % "sbt-develocity-common-custom-user-data" % "1.5.0") // https://eed3si9n.com/reducing-scaladoc-file-size-with-sbt-salad-days/ addSbtPlugin("com.eed3si9n" % "sbt-salad-days" % "0.2.0")