According to Gradle's official website:
Publishing a Build Scan to scans.gradle.com transmits information about your Gradle and Maven builds and their environment to Gradle's servers.
Is there a way to run a build scan so I can view the output locally, without transmitting the information to Gradle's server? Maybe something like
gradle build --scan-without-transmit
?
CodePudding user response:
No, there's no way to run a build scan and evaluate the results locally without sending information to Gradle's infrastructure. This feature is reserved to Gradle Enterprise.
Please note that the build scan URL is randomly generated and can be deleted anytime.
The information is only accessible via a randomly generated link, printed at the end of the build. You can delete the Build Scan when you are finished.
A Build Scan that has not been viewed within 3 months of being created will be removed. Once a Build Scan has been viewed, it will be available indefinitely.