Skip to content

Commit

Permalink
Migrate to develocity plugin (#328)
Browse files Browse the repository at this point in the history
* Migrate to develocity plugin

https://docs.gradle.com/enterprise/gradle-plugin/legacy/#develocity_migration

* Update settings.gradle.kts

Co-authored-by: Róbert Papp <[email protected]>

* Update settings.gradle.kts

Co-authored-by: Róbert Papp <[email protected]>

* Update settings.gradle.kts

Co-authored-by: Róbert Papp <[email protected]>

---------

Co-authored-by: Róbert Papp <[email protected]>
  • Loading branch information
Goooler and TWiStErRob authored Apr 8, 2024
1 parent 97d3c18 commit 01ace7d
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
plugins {
id("com.gradle.enterprise") version "3.17"
id("com.gradle.develocity") version "3.17"
id("org.gradle.toolchains.foojay-resolver-convention") version "0.8.0"
}

val isCiBuild = System.getenv("CI") != null

gradleEnterprise {
develocity {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
publishAlwaysIf(isCiBuild)
termsOfUseUrl = "https://gradle.com/help/legal-terms-of-use"
termsOfUseAgree = "yes"
uploadInBackground = false
publishing.onlyIf { System.getenv("CI") != null }
}
}

Expand Down

0 comments on commit 01ace7d

Please sign in to comment.