You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we are actually just including both the scalac-scoverage-runtime and the scalac-scoverage-plugin as library dependencies. Then we later check the dependencies to see if it's there, grab the location of the compiler plugin, and then include it with -Xplugin.
I'm trying to get a bit more familiar with anything before making any real changes, but I believe we instead might be able to just utilize addCompilerPlugin to make this a bit easier.
The text was updated successfully, but these errors were encountered:
That's probably the same thing just shorter. I would test it by making the change and comparing the resulting scalac command line, either with export compile or with a task manager like ps while it's running.
One difference is IIRC addCompilerPlugin may set the dependency scope. What config is in the current libraryDependencies setting?
Currently we are actually just including both the
scalac-scoverage-runtime
and thescalac-scoverage-plugin
as library dependencies. Then we later check the dependencies to see if it's there, grab the location of the compiler plugin, and then include it with-Xplugin
.sbt-scoverage/src/main/scala/scoverage/ScoverageSbtPlugin.scala
Line 79 in 37258c6
I'm trying to get a bit more familiar with anything before making any real changes, but I believe we instead might be able to just utilize
addCompilerPlugin
to make this a bit easier.The text was updated successfully, but these errors were encountered: