From c7c3365da0916072eaff58f00c7158cd96dfc732 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Sat, 6 Mar 2021 13:15:11 +0000 Subject: [PATCH] Polish --- settings.gradle | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/settings.gradle b/settings.gradle index 6499f0eefb..8e1bc96421 100644 --- a/settings.gradle +++ b/settings.gradle @@ -31,12 +31,10 @@ rootProject.name="spring-boot-build" settings.gradle.projectsLoaded { gradleEnterprise { buildScan { - if (settings.gradle.rootProject.hasProperty('toolchainVersion')) { - def toolchainVersion = settings.gradle.rootProject.findProperty('toolchainVersion') - if (toolchainVersion != null) { - value('Toolchain version', toolchainVersion) - tag("JDK-$toolchainVersion") - } + def toolchainVersion = settings.gradle.rootProject.findProperty('toolchainVersion') + if (toolchainVersion != null) { + value('Toolchain version', toolchainVersion) + tag("JDK-$toolchainVersion") } settings.gradle.rootProject.getBuildDir().mkdirs()