File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
+ id " base"
2
3
id " org.jetbrains.kotlin.jvm" apply false // https://youtrack.jetbrains.com/issue/KT-30276
3
4
id " io.spring.nohttp" version " 0.0.10"
4
5
}
@@ -16,7 +17,7 @@ nohttp {
16
17
source. exclude " spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/src/test/resources/org/springframework/boot/buildpack/platform/docker/export.tar"
17
18
}
18
19
19
- task build {
20
+ check {
20
21
dependsOn checkstyleNohttp
21
22
}
22
23
Original file line number Diff line number Diff line change @@ -36,12 +36,12 @@ settings.gradle.projectsLoaded {
36
36
value(' Toolchain version' , toolchainVersion)
37
37
tag(" JDK-$toolchainVersion " )
38
38
}
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"
43
42
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 "
45
45
}
46
46
}
47
47
}
You can’t perform that action at this time.
0 commit comments