Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gradle/sbt-build-scan-quickstart

An example project showcasing how to experience the Build Scan® service of Develocity with sbt
https://github.com/gradle/sbt-build-scan-quickstart

develocity developer-experience developer-productivity developer-tools gradle-enterprise productivity sbt scala

Last synced: 4 months ago
JSON representation

An example project showcasing how to experience the Build Scan® service of Develocity with sbt

Awesome Lists containing this project

README

        

# sbt Build Scan® quickstart

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

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

## Prerequisite

sbt is expected to be installed. Please, follow [installing sbt](https://www.scala-sbt.org/1.x/docs/Setup.html) for instructions.

## Create a Build Scan®

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

1. Clone this project
2. Run `sbt test`
3. Agree to the [Terms of Use][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][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](https://scans.gradle.com/#sbt).

## Learn more

Read the [Develocity sbt plugin User Manual][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][gradle-forum].

## License

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

[apache-license]: https://www.apache.org/licenses/LICENSE-2.0.html
[manual]: https://docs.gradle.com/develocity/sbt-plugin
[gradle.com]: https://www.gradle.com
[terms-of-use]: https://gradle.com/help/legal-terms-of-use
[scans.gradle.com]: https://scans.gradle.com
[gradle-forum]: https://discuss.gradle.org/c/help-discuss/scans