mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Tag build scans with JDK-${toolchainVersion}
Closes gh-25525
This commit is contained in:
parent
8ac6482784
commit
3f50b02049
@ -32,7 +32,11 @@ settings.gradle.projectsLoaded {
|
|||||||
gradleEnterprise {
|
gradleEnterprise {
|
||||||
buildScan {
|
buildScan {
|
||||||
if (settings.gradle.rootProject.hasProperty('toolchainVersion')) {
|
if (settings.gradle.rootProject.hasProperty('toolchainVersion')) {
|
||||||
value('Toolchain Version', settings.gradle.rootProject.getProperty('toolchainVersion'))
|
def toolchainVersion = settings.gradle.rootProject.findProperty('toolchainVersion')
|
||||||
|
if (toolchainVersion != null) {
|
||||||
|
value('Toolchain version', toolchainVersion)
|
||||||
|
tag("JDK-$toolchainVersion")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
settings.gradle.rootProject.getBuildDir().mkdirs()
|
settings.gradle.rootProject.getBuildDir().mkdirs()
|
||||||
|
Loading…
Reference in New Issue
Block a user