-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
The docs say to add this to build.sbt
:
libraryDependencies ++= Seq(
compilerPlugin("com.github.ghik" % "silencer-plugin" % silencerVersion cross CrossVersion.full),
"com.github.ghik" % "silencer-lib" % silencerVersion % Provided cross CrossVersion.full
)
This didn't work for me. I kept getting this:
[error]
silencer-plugin
was enabled but @silent annotation was not found on classpath - have you addedsilencer-lib
as a library dependency?
It turns out my issue was the % Provided
in there. Remove that, and everything works. I don't know exactly what part of my build configuration is the issue, but that solved it.
I'm suspect my issue was related to this image:
In fact, replacing % Provided
with % Compile
seems to work. I imagine that's potentially better than removing the specifier entirely?
solarmosaic-kflorence
Metadata
Metadata
Assignees
Labels
No labels