Skip to content

Commit

Permalink
Remove manual develocity config
Browse files Browse the repository at this point in the history
This should have been removed when we upgraded to
"io.spring.develocity.conventions:0.0.22".
I suspect this is the reason we are not getting build scan URLs in
GitHub action runs anymore.
  • Loading branch information
bclozel committed Feb 5, 2025
1 parent 0948e61 commit feb7ce3
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,3 @@ include 'platform',
'spring-graphql-test',
'spring-graphql-docs'

settings.gradle.projectsLoaded {
develocity {
buildScan {
File buildDir = settings.gradle.rootProject
.getLayout().getBuildDirectory().getAsFile().get()
buildDir.mkdirs()
new File(buildDir, "build-scan-uri.txt").text = "(build scan not generated)"
buildScanPublished { scan ->
if (buildDir.exists()) {
new File(buildDir, "build-scan-uri.txt").text = "${scan.buildScanUri}\n"
}
}
}
}
}

0 comments on commit feb7ce3

Please sign in to comment.