Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove automatic publishing of builds data (#10170)
To be more privacy-friendly by default, this PR removes the automatic publishing of build data to Gradle servers. The report is still published automatically when the build is run in a CI environment. If developers want to publish build scans, they can use the `--scan` option: ```sh ./gradlew clean build --scan ```` or set the `publishing.onlyIf` parameter to `true` to always publish the report like this: ``` develocity { buildScan { publishing.onlyIf { true } termsOfUseUrl = "https://gradle.com/terms-of-service" termsOfUseAgree = "yes tag("CI") } } ``` In this case, developers can use `--no-scan` to avoid selectively publishing the report: ```sh ./gradlew clean build --no-scan ```` --------- Signed-off-by: Giuseppe Bertone <[email protected]> Co-authored-by: Steven Sheehy <[email protected]>
- Loading branch information