xuwei-k / unused-proto   0.1.5

MIT License GitHub

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

Scala versions: 3.x 2.12
sbt plugins: 1.0

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