xuwei-k / unused-proto   0.1.10

MIT License GitHub

find unused proto messages, methods and enums in your sbt project

Scala versions: 3.x 2.12
sbt plugins: 1.x

unused proto

find unused proto message, enum and rpc in your sbt project.

project/plugins.sbt

addSbtPlugin("com.github.xuwei-k" % "unused-proto-plugin" % "latest version")

build.sbt

use ++= or += instead of :=.

- Compile / PB.targets := Seq(
+ Compile / PB.targets ++= Seq[protocbridge.Target](

sbt shell

> unusedProtoWarn