Skip to content

Commit

Permalink
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.25.0 to 7.0.1 (
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jan 13, 2025
1 parent f23a547 commit c10bf77
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,11 @@ if (matchResult != null) {
val releaseVersion = project.findProperty("releaseVersion") as String? ?: snapshotVersion

val buf: Configuration by configurations.creating
val bufLicenseHeaderCLIFile = project.layout.buildDirectory.file("gobin/license-header").get().asFile
val bufLicenseHeaderCLIFile =
project.layout.buildDirectory
.file("gobin/license-header")
.get()
.asFile
val bufLicenseHeaderCLIPath: String = bufLicenseHeaderCLIFile.absolutePath

tasks.register("configureBuf") {
Expand Down
15 changes: 12 additions & 3 deletions conformance/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,17 @@ plugins {
alias(libs.plugins.errorprone)
}

val conformanceCLIFile = project.layout.buildDirectory.file("gobin/protovalidate-conformance").get().asFile
val conformanceCLIFile =
project.layout.buildDirectory
.file("gobin/protovalidate-conformance")
.get()
.asFile
val conformanceCLIPath: String = conformanceCLIFile.absolutePath
val conformanceAppScript: String = project.layout.buildDirectory.file("install/conformance/bin/conformance").get().asFile.absolutePath
val conformanceAppScript: String =
project.layout.buildDirectory
.file("install/conformance/bin/conformance")
.get()
.asFile.absolutePath
val conformanceArgs = (project.findProperty("protovalidate.conformance.args")?.toString() ?: "").split("\\s+".toRegex())

tasks.register<Exec>("installProtovalidateConformance") {
Expand Down Expand Up @@ -62,7 +70,8 @@ tasks {
// files or particular types at will
val sourcesMain = sourceSets.main.get()
val contents =
configurations.runtimeClasspath.get()
configurations.runtimeClasspath
.get()
.map { if (it.isDirectory) it else zipTree(it) } +
sourcesMain.output
from(contents)
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ junit-bom = { module = "org.junit:junit-bom", version.ref = "junit" }
maven-plugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "maven-publish" }
nullaway = { module = "com.uber.nullaway:nullaway", version = "0.12.3" }
protobuf-java = { module = "com.google.protobuf:protobuf-java", version.ref = "protobuf" }
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "6.25.0" }
spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "7.0.1" }

[plugins]
errorprone = { id = "net.ltgt.errorprone", version = "4.1.0" }
Expand Down

0 comments on commit c10bf77

Please sign in to comment.