Skip to content

ScalaPBModule does not generate code for third party proto files #5429

Open
@a-morales

Description

@a-morales

If a dependency has Proto files, but doesn't have implementations for them, then compilation fails. The ScalaPB module does have a setting to search for Proto files in dependencies, but it only generates for files defined here

def scalaPBSources: T[Seq[PathRef]] = Task.Sources {
moduleDir / "protobuf"
}

The scalaPB sbt plugin has options to support this as documented here https://scalapb.github.io/docs/third-party-protos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions