CharlesAHunt / scalapb-gradle-plugin

Gradle Plugin for ScalaPB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Gradle Plugin for ScalaPB


Languages

Language:Scala 81.3%Language:Java 18.7%