pull/25709/head
Andy Wilkinson 4 years ago
parent 3f50b02049
commit c7c3365da0

@ -31,13 +31,11 @@ rootProject.name="spring-boot-build"
settings.gradle.projectsLoaded { settings.gradle.projectsLoaded {
gradleEnterprise { gradleEnterprise {
buildScan { buildScan {
if (settings.gradle.rootProject.hasProperty('toolchainVersion')) {
def toolchainVersion = settings.gradle.rootProject.findProperty('toolchainVersion') def toolchainVersion = settings.gradle.rootProject.findProperty('toolchainVersion')
if (toolchainVersion != null) { if (toolchainVersion != null) {
value('Toolchain version', toolchainVersion) value('Toolchain version', toolchainVersion)
tag("JDK-$toolchainVersion") tag("JDK-$toolchainVersion")
} }
}
settings.gradle.rootProject.getBuildDir().mkdirs() settings.gradle.rootProject.getBuildDir().mkdirs()
new File(settings.gradle.rootProject.getBuildDir(), "build-scan-uri.txt").text = "build scan not generated" new File(settings.gradle.rootProject.getBuildDir(), "build-scan-uri.txt").text = "build scan not generated"

Loading…
Cancel
Save