Skip to content

gradle/sbt-build-scan-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

sbt Build Scan® quickstart

This is an example project that you can use to experience the Build Scan® service of Develocity.

It is a small Scala project that has the Develocity sbt plugin already applied.

Prerequisite

sbt is expected to be installed. Please, follow installing sbt for instructions.

Create a Build Scan®

Follow these simple steps to create and publish a Build Scan® on scans.gradle.com.

  1. Clone this project
  2. Run sbt test
  3. Agree to the Terms of Use on the command line

The build should end with something similar to:

Publishing build scan...
https://gradle.com/s/ria2s2x5oaazq

Follow the link shown at the end of the build to view your Build Scan® on scans.gradle.com.

Experiment with build scans

Create different kinds of build scans by locally modifying this quickstart project. Here are some ideas:

  • Edit src/main/scala/example/Example.scala to introduce compile errors
  • Edit src/test/scala/example/ExampleTest.scala to introduce test failures

Alternatively, enable one of your own sbt builds to produce build scans by following the step-by-step instructions.

Learn more

Read the Develocity sbt plugin User Manual to learn more about the Build Scan® service of Develocity and the Develocity sbt plugin.

Need help?

Talk to us on the Gradle forum.

License

The sbt Build Scan® quickstart project is open-source software released under the Apache 2.0 License.