Skip to content

Commit

Permalink
build.gradle/settings.gradle: develocity.buildScan
Browse files Browse the repository at this point in the history
Fix deprecation warnings by updating DSL configuration for new property
paths.
  • Loading branch information
msgilligan committed Jan 19, 2025
1 parent 1642bc2 commit 86fdf30
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ gradle.rootProject {
apply plugin: 'distribution'
}

buildScan {
if (System.getenv('CI')) {
publishAlways()
tag 'CI'
develocity {
buildScan {
if (System.getenv('CI')) {
publishAlways()
tag 'CI'
}
termsOfUseUrl = 'https://gradle.com/terms-of-service'
termsOfUseAgree = 'yes'
}
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}

allprojects {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id "com.gradle.enterprise" version "3.19"
id "com.gradle.develocity" version "3.19"
}

rootProject.name = 'consensusj'
Expand Down

0 comments on commit 86fdf30

Please sign in to comment.