Мой build.sbt
PB.targets in Compile := Seq(
PB.gens.java -> (sourceManaged in Compile).value,
scalapb.gen(javaConversions = true) -> (sourceManaged in Compile).value
)
libraryDependencies += "com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf"
Мой scalapb.sbt такой.
addSbtPlugin ("com.thesamet"% "sbt-protoc"% "0.99.19")
libraryDependencies + = "com.thesamet.scalapb" %% "compilerplugin"% "0.8.1"