Tried your suggestion, but now it complained about missing proto files from protocol buffers itself that are imported in scalapb.proto
I tried to figure out what ScalaPB does and ended up importing prototbuf-java like so:
"com.google.protobuf" % "protobuf-java" % "3.0.0-beta-3" % JavaPB.protobufConfig
But now I'm getting these errors:
google/protobuf/descriptor.proto:386:3: Expected "required", "optional", or "repeated".
google/protobuf/descriptor.proto:386:12: Expected field name.
scalapb/scalapb.proto: Import "google/protobuf/descriptor.proto" was not found or had errors.
scalapb/scalapb.proto:32:8: "google.protobuf.FileOptions" is not defined.
scalapb/scalapb.proto:46:8: "google.protobuf.MessageOptions" is not defined.
scalapb/scalapb.proto:56:8: "google.protobuf.FieldOptions" is not defined.
Any idea?
Thanks a lot,
Sören