omzmarlon / ManagementApp

0 stars 0 forks source link

Scalapb upgrade #19

Closed omzmarlon closed 7 years ago

omzmarlon commented 7 years ago

Extract protobuf compilation out of main Compile scope so that protobuf generation has to be run by “sbt protocGenerate“ instead of “set compile” (which compiles the entire project).

Note: haven't found a solution to disallow generated protobuf files to be cleaned by "sbt clean" task (It is probably because protobuf clean task is binded with the original sbt clean, but I haven't found a solution to extract out )

Note: I still decided to keep generated files to be in Java, because it has better supports from Google.