This is an automated email from the ASF dual-hosted git repository.
pjfanning pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git
The following commit(s) were added to refs/heads/main by this push:
new 78d48900fb build: apply the Develocity Common Custom User Data sbt
plugin (#3546)
78d48900fb is described below
commit 78d48900fb1f9de36d4ad36e0fb806c3b2e552ee
Author: Clay Johnson <[email protected]>
AuthorDate: Tue Sep 22 05:06:44 2026 -0500
build: apply the Develocity Common Custom User Data sbt plugin (#3546)
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(<function1>) 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")
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]