-
Notifications
You must be signed in to change notification settings - Fork 13
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
Fix protobuf gradle protobuf dependencies #133
Fix protobuf gradle protobuf dependencies #133
Conversation
8a2d430
to
37f73de
Compare
Note - Several android specific unit tests failed (suffixed with |
src/main/kotlin/build/buf/gradle/ProtobufGradlePluginSupport.kt
Outdated
Show resolved
Hide resolved
- Standardize on method naming and nomenclature for source set directory lists vs. general directory lists. - Add some comments to make extra clear what helpers return and why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great. A few small nits.
src/main/kotlin/build/buf/gradle/ProtobufGradlePluginSupport.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/build/buf/gradle/ProtobufGradlePluginSupport.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/build/buf/gradle/ProtobufGradlePluginSupport.kt
Outdated
Show resolved
Hide resolved
src/main/kotlin/build/buf/gradle/ProtobufGradlePluginSupport.kt
Outdated
Show resolved
Hide resolved
PR suggestions Co-authored-by: Andrew Parmet <[email protected]>
Random question that is unrelated -- If there are other potential issues/feature requests, do you/buf prefer starting a conversation in slack, as an issue, or some other means? Two things that are in my queue:
|
I'm happy with an issue since that's what I get notified about and it's a better public record. However I am not on the Buf team and they may have a different preference. cc @buildbreaker
Sounds nasty. I started some work a while ago on output and input declarations but never gave it a ton of attention. It's effectively lost, so there's no need to worry about duplicated work if you decide to take it on. If you achieve reproduction with a minimal project, please file an issue!
I have set up a "workflow" in my organization where you disable the Buf check with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you/buf prefer starting a conversation in slack
Just like what @andrewparmet said, you're welcome to create an issue here to start a conversation if that is your preference :). If you want to join our slack and have a conversation there, that works as well!
Thank you @berksean for your contribution!
Addresses issue 132
Fix buf tasks behavior with more recent versions of the
protobuf-gradle-plugin
. With version0.9.3
(and possibly all0.9.*
versions), the buf plugin tasks no longer work whenprotobuf
dependencies are used (as described in the issue). This change filters the hard-coded "extracted" directories from the list of proto source directories set by the protobuf gradle plugin.Tested by:
0.9.3
.