Skip to content

Commit

Permalink
Merge pull request #120 from gradle/atual/mv-develocity
Browse files Browse the repository at this point in the history
Fetch Develocity yaml
  • Loading branch information
alextu authored Apr 2, 2024
2 parents 1988bbf + 60ce2c7 commit 4907048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ dependencies {

}

val gradleEnterpriseVersion = "2024.1" // Must be later than 2022.1
val develocityVersion = "2024.1" // Must be later than 2022.1
val baseApiUrl = providers.gradleProperty("apiManualUrl").orElse("https://docs.gradle.com/enterprise/api-manual/ref/")

val apiSpecificationFileGradleProperty = providers.gradleProperty("apiSpecificationFile")
val apiSpecificationURL = baseApiUrl.map { "${it}gradle-enterprise-${gradleEnterpriseVersion}-api.yaml" }
val apiSpecificationURL = baseApiUrl.map { "${it}develocity-${develocityVersion}-api.yaml" }
val apiSpecificationFile = apiSpecificationFileGradleProperty
.map { s -> file(s) }
.orElse(
Expand Down

0 comments on commit 4907048

Please sign in to comment.