Remove manual develocity config

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.
This commit is contained in:
Brian Clozel
2025-02-05 11:47:05 +01:00
parent 0948e61509
commit feb7ce3831

View File

@@ -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"
}
}
}
}
}