简体   繁体   中英

How to enable sbt-scalabuff in a Play2 application?

I'm trying to use sbt-scalabuff to generate scala case class from proto file. I have added the plugin reference into plugins.sbt file of the Play project, added runtime dependencies too.

If I do not add any settings to Build.scala referring to sbt-scalabuff then I assume that will go with default settings, expecting to find the files in src/main/protobuf.

Do you know any Build.scala sample of proper settings of sbt-scalabuff?

Thanks, Gabi

我自己实际上还没有测试过sbt-scalabuff,但是您可以尝试在sbt-scalabuff github页面上提出问题。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM