Skip to content

Commit

Permalink
Merge pull request #131 from usefulness/mateuszkwiecinski-patch-1
Browse files Browse the repository at this point in the history
Update settings.gradle
  • Loading branch information
mateuszkwiecinski authored May 3, 2024
2 parents 9ecb2d4 + 596f842 commit 912e319
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions testproject/settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,22 @@ pluginManagement {
}

plugins {
id("com.gradle.enterprise") version "3.17.2"
id("com.gradle.develocity") version "3.17.2"
}

develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"

if (System.getenv("CI")) {
tag "CI"
uploadInBackground = false
} else {
publishing { onlyIf { false } }
uploadInBackground = true
}
}
}

dependencyResolutionManagement {
Expand All @@ -18,17 +33,3 @@ dependencyResolutionManagement {
}

rootProject.name = 'com.starter.dependencydiff.test'

gradleEnterprise {
buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"

uploadInBackground = System.getenv("CI") == null

if (System.getenv("CI")) {
publishAlways()
tag "CI"
}
}
}

0 comments on commit 912e319

Please sign in to comment.