-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1120 from gradle/no/sbt-update
Use 1.0 versions of sbt develocity plugin and ccud
- Loading branch information
Showing
3 changed files
with
5 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
// You can configure the Develocity sbt plugin to publish Build Scans to your Develocity server | ||
// by adding the following configuration to your project's build.sbt file | ||
|
||
Global / gradleEnterpriseConfiguration := | ||
GradleEnterpriseConfiguration( | ||
ThisBuild / develocityConfiguration := | ||
DevelocityConfiguration( | ||
server = Server( | ||
url = Some(url("https://develocity-samples.gradle.com")), // adjust to your Develocity server | ||
allowUntrusted = false), // ensure a trusted certificate is configured | ||
buildScan = BuildScan( | ||
publishConfig = PublishConfig.Always, | ||
backgroundUpload = !sys.env.get("CI").exists(_.toBoolean))) | ||
|
||
lazy val `common-develocity-sbt-configuration` = (project in file(".")) // adjust to your project name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sbt.version=1.9.9 |
3 changes: 2 additions & 1 deletion
3
...-develocity-sbt-configuration/plugins.sbt → ...ity-sbt-configuration/project/plugins.sbt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
// You apply the Develocity sbt plugin to your build by adding the following | ||
// configuration block to a new or existing project/plugins.sbt file in your sbt project | ||
|
||
addSbtPlugin("com.gradle" % "sbt-gradle-enterprise" % "0.10.1") | ||
addSbtPlugin("com.gradle" % "sbt-develocity" % "1.0") | ||
addSbtPlugin("com.gradle" % "sbt-develocity-common-custom-user-data" % "1.0") |