Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow lint task to be configured after Buf v1.31.0 while using protobuf-gradle-plugin #256

Merged
merged 11 commits into from
Nov 15, 2024

Conversation

andrewparmet
Copy link
Collaborator

@andrewparmet andrewparmet commented Nov 15, 2024

Gets custom linting working again with new versions of Buf.

@andrewparmet andrewparmet changed the title Allow lint task to be configured with v2 configuration Allow lint task to be configured after Buf-1.31.0 Nov 15, 2024
@andrewparmet andrewparmet changed the title Allow lint task to be configured after Buf-1.31.0 Allow lint task to be configured after Buf v1.31.0 Nov 15, 2024
@andrewparmet andrewparmet changed the title Allow lint task to be configured after Buf v1.31.0 Allow lint task to be configured after Buf v1.31.0 while using protobuf-gradle-plugin Nov 15, 2024
@andrewparmet andrewparmet marked this pull request as ready for review November 15, 2024 21:37
@@ -16,35 +16,20 @@ package build.buf.gradle

import java.io.File

internal fun AbstractBufExecTask.execBufInSpecificDirectory(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simplifying the invocation pattern here so it's universal.

@andrewparmet andrewparmet merged commit a342ff2 into main Nov 15, 2024
12 checks passed
@andrewparmet andrewparmet deleted the lint-config-v2 branch November 15, 2024 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Buf upgrade in 0.10.0 introduces regression when linting with a v1 config
2 participants