Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import build.buf.gradle.BUF_BINARY_CONFIGURATION_NAME
import com.google.protobuf.gradle.id

plugins {
Expand Down Expand Up @@ -74,13 +73,15 @@ tasks.named("bufLint") { enabled = false }

// Formatting/linting.
spotless {
protobuf {
buf("1.46.0")
.pathToExe(
configurations.getByName(BUF_BINARY_CONFIGURATION_NAME).getSingleFile().getAbsolutePath()
)
target("src/**/*.proto")
}
// Breaks github CI even though it works locally..
// protobuf {
// buf("1.46.0")
// .pathToExe(
//
// configurations.getByName(BUF_BINARY_CONFIGURATION_NAME).getSingleFile().getAbsolutePath()
// )
// target("src/**/*.proto")
// }

kotlin {
target("**/*.kt", "**/*.kts")
Expand Down
Loading