Skip to content

Commit c10bf77

Browse files
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.25.0 to 7.0.1 (#228)
1 parent f23a547 commit c10bf77

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

build.gradle.kts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ if (matchResult != null) {
3333
val releaseVersion = project.findProperty("releaseVersion") as String? ?: snapshotVersion
3434

3535
val buf: Configuration by configurations.creating
36-
val bufLicenseHeaderCLIFile = project.layout.buildDirectory.file("gobin/license-header").get().asFile
36+
val bufLicenseHeaderCLIFile =
37+
project.layout.buildDirectory
38+
.file("gobin/license-header")
39+
.get()
40+
.asFile
3741
val bufLicenseHeaderCLIPath: String = bufLicenseHeaderCLIFile.absolutePath
3842

3943
tasks.register("configureBuf") {

conformance/build.gradle.kts

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,17 @@ plugins {
99
alias(libs.plugins.errorprone)
1010
}
1111

12-
val conformanceCLIFile = project.layout.buildDirectory.file("gobin/protovalidate-conformance").get().asFile
12+
val conformanceCLIFile =
13+
project.layout.buildDirectory
14+
.file("gobin/protovalidate-conformance")
15+
.get()
16+
.asFile
1317
val conformanceCLIPath: String = conformanceCLIFile.absolutePath
14-
val conformanceAppScript: String = project.layout.buildDirectory.file("install/conformance/bin/conformance").get().asFile.absolutePath
18+
val conformanceAppScript: String =
19+
project.layout.buildDirectory
20+
.file("install/conformance/bin/conformance")
21+
.get()
22+
.asFile.absolutePath
1523
val conformanceArgs = (project.findProperty("protovalidate.conformance.args")?.toString() ?: "").split("\\s+".toRegex())
1624

1725
tasks.register<Exec>("installProtovalidateConformance") {
@@ -62,7 +70,8 @@ tasks {
6270
// files or particular types at will
6371
val sourcesMain = sourceSets.main.get()
6472
val contents =
65-
configurations.runtimeClasspath.get()
73+
configurations.runtimeClasspath
74+
.get()
6675
.map { if (it.isDirectory) it else zipTree(it) } +
6776
sourcesMain.output
6877
from(contents)

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
2525
maven-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "maven-publish" }
2626
nullaway = { module = "com.uber.nullaway:nullaway", version = "0.12.3" }
2727
protobuf-java = { module = "com.google.protobuf:protobuf-java", version.ref = "protobuf" }
28-
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "6.25.0" }
28+
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "7.0.1" }
2929

3030
[plugins]
3131
errorprone = { id = "net.ltgt.errorprone", version = "4.1.0" }

0 commit comments

Comments
 (0)