Unverified Commit f8c7f760 authored by Daz DeBoer's avatar Daz DeBoer Committed by GitHub
Browse files

Mention that `build-scan-publish` does not force publishing

parent be44eafd
Loading
Loading
Loading
Loading
+3
Changes for docs/setup-gradle.md: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -753,6 +753,9 @@ To publish to https://scans.gradle.com, you must specify in your workflow that y
      run: ./gradlew build
```

If your build is configured to [publish on demand](https://docs.gradle.com/develocity/gradle-plugin/current/#publishing_on_demand) 
using `onlyIf { false }`, setting `build-scan-publish: true` will not force a scan to be published.

## Managing Develocity access keys

Develocity access keys are long-lived, creating risks if they are leaked. To mitigate this risk this,