Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 600 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 600 Bytes

gradle-scalapb-plugin

This plugin uses the ScalaPB compiler to generate Scala case classes from protocol buffers and put them under the managed sources directory in your project.

You can configure the plugin using:

scalapbConfig {
    dependentProtoSources = ["path/to/external/proto/sources", "or/some/other/path"]
    targetDir = "/target/scala/managed"
    protocVersion = "-v360"
}

ScalaPB will try to download a current Protoc version, which can cause some trouble. In this case set embeddedProtoc = true within scalapbConfig.