Skip to content

Commit

Permalink
Merge pull request #1120 from gradle/no/sbt-update
Browse files Browse the repository at this point in the history
Use 1.0 versions of sbt develocity plugin and ccud
  • Loading branch information
runningcode authored Apr 5, 2024
2 parents c93fa15 + 45111f6 commit 66b3057
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions common-develocity-sbt-configuration/build.sbt
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
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=1.9.9
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")

0 comments on commit 66b3057

Please sign in to comment.