sbt-frees-rpc-idlgen
starting with version 0.12.0.
Sbt plugin to generate .proto files from freestyle-rpc service definitions.
It depends on frees-rpc.
Add the following line to project/plugins.sbt
:
addSbtPlugin("io.frees" % "sbt-frees-protogen" % "0.0.14")
Running
sbt protoGen
will generate .proto
files from src/main/scala
into src/main/proto/
. These directories can be changed using the protoGenSourceDir
and protoGenTargetDir
settings.
Freestyle is designed and developed by 47 Degrees
Copyright (C) 2017 47 Degrees. http://47deg.com