Skip to content

Build Scan publishing is enforced for the Develocity Gradle plugin #801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ if (GradleVersion.current() < GradleVersion.version('6.0')) {
failMissingDevelocityServerURL('https://docs.gradle.com/develocity/gradle-plugin/current/#connecting_to_develocity')
}

develocity.buildScan.publishing.onlyIf { true }
registerBuildScanActions(develocity.buildScan, rootProject.name)
addBuildScanCustomData(develocity.buildScan, develocity.server.get())
}
Expand Down Expand Up @@ -161,6 +162,7 @@ if (GradleVersion.current() < GradleVersion.version('6.0')) {
failMissingDevelocityServerURL('https://docs.gradle.com/develocity/gradle-plugin/current/#connecting_to_develocity')
}

settings.develocity.buildScan.publishing.onlyIf { true }
registerBuildScanActions(settings.develocity.buildScan, settings.rootProject.name)
addBuildScanCustomData(settings.develocity.buildScan, settings.develocity.server.get())
}
Expand Down
1 change: 1 addition & 0 deletions release/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
- [FIX] Successful exit code returned when performance characteristics are unknown and `--fail-if-not-fully-cacheable` is used
- [FIX] Gradle experiments do not disable background Build Scan publication
- [FIX] Common Custom User Data Gradle plugin not injected for Gradle builds
- [FIX] Build Scan publishing is not enforced for the Develocity Gradle plugin