-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not disable ScoverageSbtPlugin in a multi-project build #96
Comments
I'd also like to disable instrumentation/reports for submodules. As a workaround, I do this [some submodule].settings(
ScoverageKeys.coverageExcludedPackages := ".*"
) |
+1 |
I'm having a similar problem with another AutoPlugin that is has no requirements when I have subprojects. It seems to be an issue with sbt possibly related to this: sbt/sbt#1926 |
@myyk yep, sounds like it. thanks for the notice. |
+1 |
1 similar comment
👍 |
Is this fixed? I get the unfamous symmetric/asymmetric tree problem on 2.11.8 and I am not able to disable the plugin on a submodule where I don't really need it. As a consequence I had to disable coverage completely |
@edmondo1984 personally I worked around it by using an SBT "profile", only enabling it when If you're interested in details, see https://github.com/monix/monix/blob/master/build.sbt |
I need to disable the plugib a single module in a multi module would that
work?
On 17 Dec 2016 7:25 a.m., "Alexandru Nedelcu" <notifications@github.com> wrote:
@edmondo1984 <https://github.com/edmondo1984> personally I worked around it
by using an SBT "profile", only enabling it when -Dsbt.profile=coverage is
passed as a command-line option to SBT.
If you're interested in details, see https://github.com/monix/
monix/blob/master/build.sbt
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#96 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAxnKaCVfzuemzH7Xf8816gqZgpnfHd3ks5rI4BNgaJpZM4DmFlj>
.
|
Add |
So testing this again (5 years later) it does seem that |
Given a trivial multi-project definition such as:
The following error will be thrown at sbt startup:
I consider this an issue since this is the advertised way of disabling an AutoPlugin, according to sbt documentation (http://www.scala-sbt.org/0.13/docs/Plugins.html#Using+an+auto+plugin). Though, in general, I'd like to know if it's currently possible to disable Scoverage for particular projects in a multi-project build by any other means.
The text was updated successfully, but these errors were encountered: