You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I am trying to write my own plugin that applies both the protobuf-gradle-plugin plugin, and your plugin.
The project in question extends FieldOptions in the protobuf "standard library" so I have com.google.protobuf:protobuf-java:3.7.1 as a compile dependency, which protobuf-gradle-plugin picks up correctly as an include.
It seems that the scala plugin picks it up too, but extracts it, and includes in the compilation path (it only needs to include it in the include path), so my jar ends up with a bunch of "com.google" classes that are not mine.
So I am trying to write my own plugin that applies both the protobuf-gradle-plugin plugin, and your plugin.
The project in question extends FieldOptions in the protobuf "standard library" so I have
com.google.protobuf:protobuf-java:3.7.1
as a compile dependency, which protobuf-gradle-plugin picks up correctly as an include.It seems that the scala plugin picks it up too, but extracts it, and includes in the compilation path (it only needs to include it in the include path), so my jar ends up with a bunch of "com.google" classes that are not mine.
This is my plugin code:
I tried adding
but that doesn't seem to do anything. As a matter of fact, even .exclude("**") doesn't do anything.
The text was updated successfully, but these errors were encountered: