-
-
Notifications
You must be signed in to change notification settings - Fork 285
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
broken sbt build due to sbt-protobuf dependency #74
Comments
When you use sbt-ascalapb, you don't need sbt-protobuf, you can generate both Scala and Java files with sbt-scalapb. Would it be possible for you to avoid importing the plugin into the main scope. |
Sorry for my confusion with the details. The issue details from You mention that I don't need I am able to include your plugin if I use the workaround of aliasing
Once again, the real issue is with |
If you'd like sbt-scalapb to generate Java classes enable javaConversions: import sbtprotobuf.{ProtobufPlugin=>PB} The problem you are seeing with sbt-protobuf come from the fact that you are importing both sbtprotobuf.ProtobufPlugin._ and Keys._ and there is a name conflict on
|
Also wanted to add that we are moving away from sbt-protobuf since it's unmaintained. |
I am unable to add this plugin
addSbtPlugin("com.trueaccord.scalapb" % "sbt-scalapb" % "0.4.20")
to my build due to issue in sbt-protobuf: see sbt/sbt-protobuf#37 for details.The text was updated successfully, but these errors were encountered: