Hopefully this is a simple one. I tried to debug it but was unsuccessful.
After updating from
addSbtPlugin("com.thesamet" % "sbt-protoc" % "0.99.19")
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.8.2"
to
addSbtPlugin("com.thesamet" % "sbt-protoc" % "1.0.3")
libraryDependencies += "com.thesamet.scalapb" %% "compilerplugin" % "0.11.1"
it stopped compiling our test protobuf files and started logging
[info] Protobufs files found, but PB.targets is empty.
Our build.sbt hasn't changed:
PB.deleteTargetDirectory := false,
PB.protoSources in Test := Seq(file("./test/protobuf")),
Test / PB.targets := Seq(
scalapb.gen() -> (Test / sourceManaged).value / "scalapb"
),
Thanks for any pointers.
Chris