Configures Develocity build scans for Helix builds and attaches CI metadata automatically when running in GitHub Actions.
- Applies the Develocity plugin in settings.
- Publishes scans unconditionally in CI and only on failure for local builds.
- Tags scans as CI or LOCAL and adds GitHub repository, workflow, job, run, commit, and branch metadata when available.
Usage
settings.gradle
Groovy DSL
plugins {
id 'com.helixframework.build-scan-settings'
}
settings.gradle.kts
Kotlin DSL
plugins {
id("com.helixframework.build-scan-settings")
}
Configuration
No Helix-specific extension is added by this plugin.
Default Behavior
- No Helix-specific extension is added.
- Override behavior through the underlying develocity { buildScan { … } } configuration after applying the plugin if you need different publishing or tagging rules.