- DONE: Creating Build Scans
- DONE: Creating New Gradle Builds (basic-demo)
- TODO: Creating Multi-project Builds, https://guides.gradle.org/creating-multi-project-builds/
- TODO: Building Java Libraries, https://guides.gradle.org/building-java-libraries/
Build scan quickstart
This is an example project that you can use to experience build scans.
It is a small Java project that has the build scan plugin already applied.
Create a build scan
Follow these simple steps to create a build scan:
- Clone this project
- Read the Terms of Service
- Uncomment the Terms of Service agreement code in the
./gradlew build --scan
The build should end with something similar to:
Publishing build information... https://gradle.com/s/ria2s2x5oaazq
Follow the green link shown at the end of the build to view your build scan.
Note: If you run a build without the
--scan flag, no build scan will be created and
no information will be sent.
Experiment with build scans
Create different kinds of build scans by locally modifying this quickstart project. Here are some ideas:
src/main/java/example/Example.javato introduce compile errors
src/test/java/example/ExampleTest.javato introduce test failures
- Add more dependencies, more plugins, and more projects
Alternatively, enable one of your own builds to produce build scans by following the step-by-step instructions.
Read the build scan plugin user manual to learn more about build scans and the build scan plugin.
Talk to us on the Gradle forum.
If you are completely new to the Gradle Build Tool, start here.