Skip to content

Commit b6135ce

Browse files
committed
Merge branch '2.5.x' into 2.6.x
Closes gh-28880
2 parents f0f0aa5 + b2a1994 commit b6135ce

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
plugins {
2+
id "base"
23
id "org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276
34
id "io.spring.nohttp" version "0.0.10"
45
}
@@ -16,7 +17,7 @@ nohttp {
1617
source.exclude "spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/resources/org/springframework/boot/buildpack/platform/docker/export.tar"
1718
}
1819

19-
task build {
20+
check {
2021
dependsOn checkstyleNohttp
2122
}
2223

settings.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ settings.gradle.projectsLoaded {
3636
value('Toolchain version', toolchainVersion)
3737
tag("JDK-$toolchainVersion")
3838
}
39-
40-
settings.gradle.rootProject.getBuildDir().mkdirs()
41-
new File(settings.gradle.rootProject.getBuildDir(), "build-scan-uri.txt").text = "build scan not generated"
42-
39+
def buildDir = settings.gradle.rootProject.getBuildDir()
40+
buildDir.mkdirs()
41+
new File(buildDir, "build-scan-uri.txt").text = "build scan not generated"
4342
buildScanPublished { scan ->
44-
new File(settings.gradle.rootProject.getBuildDir(), "build-scan-uri.txt").text = "<${scan.buildScanUri}|build scan>\n"
43+
buildDir.mkdirs()
44+
new File(buildDir, "build-scan-uri.txt").text = "<${scan.buildScanUri}|build scan>\n"
4545
}
4646
}
4747
}

0 commit comments

Comments
 (0)